NativeLivePlayer$op234qwojf.smali

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

# interfaces
.implements Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/u$op234qwojf;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tx/liteav/trtc/NativeLivePlayer;->setRenderView(Lcom/alibaba/fastjson/JSONObject;Lcom/taobao/weex/bridge/JSCallback;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = null
.end annotation


# instance fields
.field public final synthetic a:Lcom/taobao/weex/bridge/JSCallback;

.field public final synthetic b:Lcom/tx/liteav/trtc/NativeLivePlayer;


# direct methods
.method public constructor <init>(Lcom/tx/liteav/trtc/NativeLivePlayer;Lcom/taobao/weex/bridge/JSCallback;)V
    .registers 3

    iput-object p1, p0, Lcom/tx/liteav/trtc/NativeLivePlayer$op234qwojf;->b:Lcom/tx/liteav/trtc/NativeLivePlayer;

    iput-object p2, p0, Lcom/tx/liteav/trtc/NativeLivePlayer$op234qwojf;->a:Lcom/taobao/weex/bridge/JSCallback;

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

    return-void
.end method


# virtual methods
.method public a(Lcom/tencent/rtmp/ui/TXCloudVideoView;)V
    .registers 4

    iget-object v0, p0, Lcom/tx/liteav/trtc/NativeLivePlayer$op234qwojf;->b:Lcom/tx/liteav/trtc/NativeLivePlayer;

    iget-object v0, v0, Lcom/tx/liteav/trtc/NativeLivePlayer;->livePlayer:Lcom/tencent/live2/V2TXLivePlayer;

    invoke-virtual {v0, p1}, Lcom/tencent/live2/V2TXLivePlayer;->setRenderView(Lcom/tencent/rtmp/ui/TXCloudVideoView;)I

    iget-object p1, p0, Lcom/tx/liteav/trtc/NativeLivePlayer$op234qwojf;->a:Lcom/taobao/weex/bridge/JSCallback;

    if-eqz p1, :cond_1c

    new-instance p1, Lcom/alibaba/fastjson/JSONObject;

    invoke-direct {p1}, Lcom/alibaba/fastjson/JSONObject;-><init>()V

    const-string v0, "type"

    const-string v1, "setRenderView"

    invoke-virtual {p1, v0, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/tx/liteav/trtc/NativeLivePlayer$op234qwojf;->a:Lcom/taobao/weex/bridge/JSCallback;

    invoke-interface {v0, p1}, Lcom/taobao/weex/bridge/JSCallback;->invoke(Ljava/lang/Object;)V

    :cond_1c
    return-void
.end method