PrepareLivePresenter.smali

.class public Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;
.super Lsg/bigo/core/mvp/presenter/BasePresenterImpl;
.source "SourceFile"

# interfaces
.implements Lsg/bigo/live/support64/component/preparelive/presenter/a;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lsg/bigo/core/mvp/presenter/BasePresenterImpl<",
        "Lsg/bigo/live/support64/component/preparelive/view/a;",
        "Lsg/bigo/live/support64/component/preparelive/model/a;",
        ">;",
        "Lsg/bigo/live/support64/component/preparelive/presenter/a;"
    }
.end annotation


# direct methods
.method public constructor <init>(Lsg/bigo/live/support64/component/preparelive/view/a;)V
    .registers 3

    .line 23
    invoke-direct {p0, p1}, Lsg/bigo/core/mvp/presenter/BasePresenterImpl;-><init>(Lsg/bigo/core/mvp/a/a;)V

    .line 24
    new-instance v0, Lsg/bigo/live/support64/component/preparelive/model/PrepareLiveModel;

    invoke-interface {p1}, Lsg/bigo/live/support64/component/preparelive/view/a;->getLifecycle()Landroidx/lifecycle/Lifecycle;

    move-result-object p1

    invoke-direct {v0, p1, p0}, Lsg/bigo/live/support64/component/preparelive/model/PrepareLiveModel;-><init>(Landroidx/lifecycle/Lifecycle;Lsg/bigo/live/support64/component/preparelive/presenter/a;)V

    iput-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    return-void
.end method

.method private static synthetic a(Lsg/bigo/live/support64/component/preparelive/presenter/b;Ljava/lang/Byte;)V
    .registers 2

    if-eqz p0, :cond_5

    .line 98
    invoke-interface {p0}, Lsg/bigo/live/support64/component/preparelive/presenter/b;->a()V

    :cond_5
    return-void
.end method

.method private static synthetic a(Lsg/bigo/live/support64/component/preparelive/presenter/b;Ljava/lang/Throwable;)V
    .registers 4

    .line 101
    instance-of v0, p1, Lsg/bigo/live/support64/component/livecamera/mvp/model/CheckCanLiveProtocolException;

    if-eqz v0, :cond_15

    .line 102
    check-cast p1, Lsg/bigo/live/support64/component/livecamera/mvp/model/CheckCanLiveProtocolException;

    .line 1010
    iget v0, p1, Lsg/bigo/live/support64/utils/RoomException;->c:I

    if-eqz v0, :cond_15

    const/4 v1, 0x2

    if-ne v0, v1, :cond_15

    if-eqz p0, :cond_15

    .line 1016
    iget-object p1, p1, Lsg/bigo/live/support64/component/livecamera/mvp/model/CheckCanLiveProtocolException;->a:Ljava/util/Map;

    .line 106
    invoke-interface {p0, p1}, Lsg/bigo/live/support64/component/preparelive/presenter/b;->a(Ljava/util/Map;)V

    return-void

    :cond_15
    if-eqz p0, :cond_1a

    .line 114
    invoke-interface {p0}, Lsg/bigo/live/support64/component/preparelive/presenter/b;->a()V

    :cond_1a
    return-void
.end method

.method public static synthetic lambda$1ceFRet8EF5myHqY7Mf82ej4Lbs(Lsg/bigo/live/support64/component/preparelive/presenter/b;Ljava/lang/Byte;)V
    .registers 2

    invoke-static {p0, p1}, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a(Lsg/bigo/live/support64/component/preparelive/presenter/b;Ljava/lang/Byte;)V

    return-void
.end method

.method public static synthetic lambda$CprNpPHsRoFaGfE_blu0TUOkfns(Lsg/bigo/live/support64/component/preparelive/presenter/b;Ljava/lang/Throwable;)V
    .registers 2

    invoke-static {p0, p1}, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a(Lsg/bigo/live/support64/component/preparelive/presenter/b;Ljava/lang/Throwable;)V

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 2

    .line 46
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a:Lsg/bigo/core/mvp/a/a;

    if-eqz v0, :cond_b

    .line 47
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a:Lsg/bigo/core/mvp/a/a;

    check-cast v0, Lsg/bigo/live/support64/component/preparelive/view/a;

    invoke-interface {v0}, Lsg/bigo/live/support64/component/preparelive/view/a;->e()V

    :cond_b
    return-void
.end method

.method public final a(I)V
    .registers 3

    .line 75
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a:Lsg/bigo/core/mvp/a/a;

    if-eqz v0, :cond_b

    .line 76
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a:Lsg/bigo/core/mvp/a/a;

    check-cast v0, Lsg/bigo/live/support64/component/preparelive/view/a;

    invoke-interface {v0, p1}, Lsg/bigo/live/support64/component/preparelive/view/a;->a(I)V

    :cond_b
    return-void
.end method

.method public final a(JILsg/bigo/live/support64/component/preparelive/presenter/b;)V
    .registers 6

    .line 96
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    check-cast v0, Lsg/bigo/live/support64/component/preparelive/model/a;

    invoke-interface {v0, p1, p2, p3}, Lsg/bigo/live/support64/component/preparelive/model/a;->a(JI)Lrx/g;

    move-result-object p1

    new-instance p2, Lsg/bigo/live/support64/component/preparelive/presenter/-$$Lambda$PrepareLivePresenter$1ceFRet8EF5myHqY7Mf82ej4Lbs;

    invoke-direct {p2, p4}, Lsg/bigo/live/support64/component/preparelive/presenter/-$$Lambda$PrepareLivePresenter$1ceFRet8EF5myHqY7Mf82ej4Lbs;-><init>(Lsg/bigo/live/support64/component/preparelive/presenter/b;)V

    new-instance p3, Lsg/bigo/live/support64/component/preparelive/presenter/-$$Lambda$PrepareLivePresenter$CprNpPHsRoFaGfE_blu0TUOkfns;

    invoke-direct {p3, p4}, Lsg/bigo/live/support64/component/preparelive/presenter/-$$Lambda$PrepareLivePresenter$CprNpPHsRoFaGfE_blu0TUOkfns;-><init>(Lsg/bigo/live/support64/component/preparelive/presenter/b;)V

    invoke-virtual {p1, p2, p3}, Lrx/g;->a(Lrx/b/b;Lrx/b/b;)Lrx/j;

    return-void
.end method

.method public final a(JLjava/lang/String;)V
    .registers 6

    const/4 v0, 0x0

    new-array v0, v0, [Ljava/lang/Object;

    const v1, 0x7d0c0197

    .line 29
    invoke-static {v1, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lsg/bigo/common/p;->a(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_11

    return-void

    .line 32
    :cond_11
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    if-eqz v0, :cond_1c

    .line 33
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    check-cast v0, Lsg/bigo/live/support64/component/preparelive/model/a;

    invoke-interface {v0, p1, p2, p3}, Lsg/bigo/live/support64/component/preparelive/model/a;->a(JLjava/lang/String;)V

    :cond_1c
    return-void
.end method

.method public final a(JLjava/lang/String;Ljava/lang/String;Llive/sg/bigo/svcapi/k;)V
    .registers 13

    .line 60
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    if-eqz v0, :cond_10

    .line 61
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    move-object v1, v0

    check-cast v1, Lsg/bigo/live/support64/component/preparelive/model/a;

    move-wide v2, p1

    move-object v4, p3

    move-object v5, p4

    move-object v6, p5

    invoke-interface/range {v1 .. v6}, Lsg/bigo/live/support64/component/preparelive/model/a;->a(JLjava/lang/String;Ljava/lang/String;Llive/sg/bigo/svcapi/k;)V

    :cond_10
    return-void
.end method

.method public final a(JLsg/bigo/live/support64/component/preparelive/a$a;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J",
            "Lsg/bigo/live/support64/component/preparelive/a$a<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 53
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    if-eqz v0, :cond_b

    .line 54
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    check-cast v0, Lsg/bigo/live/support64/component/preparelive/model/a;

    invoke-interface {v0, p1, p2, p3}, Lsg/bigo/live/support64/component/preparelive/model/a;->a(JLsg/bigo/live/support64/component/preparelive/a$a;)V

    :cond_b
    return-void
.end method

.method public final a(Ljava/lang/String;)V
    .registers 3

    .line 39
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a:Lsg/bigo/core/mvp/a/a;

    if-eqz v0, :cond_b

    .line 40
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a:Lsg/bigo/core/mvp/a/a;

    check-cast v0, Lsg/bigo/live/support64/component/preparelive/view/a;

    invoke-interface {v0, p1}, Lsg/bigo/live/support64/component/preparelive/view/a;->a(Ljava/lang/String;)V

    :cond_b
    return-void
.end method

.method public final a(Ljava/lang/String;Ljava/lang/String;)V
    .registers 4

    .line 68
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a:Lsg/bigo/core/mvp/a/a;

    if-eqz v0, :cond_b

    .line 69
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->a:Lsg/bigo/core/mvp/a/a;

    check-cast v0, Lsg/bigo/live/support64/component/preparelive/view/a;

    invoke-interface {v0, p1, p2}, Lsg/bigo/live/support64/component/preparelive/view/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_b
    return-void
.end method

.method public final a(Lrx/i;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lrx/i<",
            "Lsg/bigo/live/support64/userinfo/UserInfoStruct;",
            ">;)V"
        }
    .end annotation

    .line 82
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    if-eqz v0, :cond_b

    .line 83
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    check-cast v0, Lsg/bigo/live/support64/component/preparelive/model/a;

    invoke-interface {v0, p1}, Lsg/bigo/live/support64/component/preparelive/model/a;->a(Lrx/i;)V

    :cond_b
    return-void
.end method

.method public final b(JLjava/lang/String;)V
    .registers 5

    .line 89
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    if-eqz v0, :cond_b

    .line 90
    iget-object v0, p0, Lsg/bigo/live/support64/component/preparelive/presenter/PrepareLivePresenter;->b:Lsg/bigo/core/mvp/mode/a;

    check-cast v0, Lsg/bigo/live/support64/component/preparelive/model/a;

    invoke-interface {v0, p1, p2, p3}, Lsg/bigo/live/support64/component/preparelive/model/a;->b(JLjava/lang/String;)V

    :cond_b
    return-void
.end method