TXAppProxy.smali

.class public Lcom/tx/liteav/trtc/TXAppProxy;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lio/dcloud/weex/AppHookProxy;


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCreate(Landroid/app/Application;)V
    .registers 3

    const-string p1, "TRTCCloud"

    :try_start_2
    const-class v0, Lcom/tx/liteav/trtc/NativeTRTCCloud;

    invoke-static {p1, v0}, Lcom/taobao/weex/WXSDKEngine;->registerModule(Ljava/lang/String;Ljava/lang/Class;)Z
    :try_end_7
    .catch Lcom/taobao/weex/common/WXException; {:try_start_2 .. :try_end_7} :catch_f

    const-string p1, "LivePlayer"

    :try_start_9
    const-class v0, Lcom/tx/liteav/trtc/NativeLivePlayer;

    invoke-static {p1, v0}, Lcom/taobao/weex/WXSDKEngine;->registerModule(Ljava/lang/String;Ljava/lang/Class;)Z
    :try_end_e
    .catch Lcom/taobao/weex/common/WXException; {:try_start_9 .. :try_end_e} :catch_f

    goto :goto_13

    :catch_f
    move-exception p1

    invoke-virtual {p1}, Lcom/taobao/weex/common/WXException;->printStackTrace()V

    :goto_13
    return-void
.end method