Rabbit-R1/original r1/smali/smali_classes2/androidx/media3/common/AdOverlayInfo$Builder.smali

65 lines
1.7 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class public final Landroidx/media3/common/AdOverlayInfo$Builder;
.super Ljava/lang/Object;
.source "AdOverlayInfo.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/media3/common/AdOverlayInfo;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field private detailedReason:Ljava/lang/String;
.field private final purpose:I
.field private final view:Landroid/view/View;
# direct methods
.method public constructor <init>(Landroid/view/View;I)V
.locals 0
.line 71
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/media3/common/AdOverlayInfo$Builder;->view:Landroid/view/View;
iput p2, p0, Landroidx/media3/common/AdOverlayInfo$Builder;->purpose:I
return-void
.end method
# virtual methods
.method public build()Landroidx/media3/common/AdOverlayInfo;
.locals 3
.line 91
new-instance v0, Landroidx/media3/common/AdOverlayInfo;
iget-object v1, p0, Landroidx/media3/common/AdOverlayInfo$Builder;->view:Landroid/view/View;
iget v2, p0, Landroidx/media3/common/AdOverlayInfo$Builder;->purpose:I
iget-object p0, p0, Landroidx/media3/common/AdOverlayInfo$Builder;->detailedReason:Ljava/lang/String;
invoke-direct {v0, v1, v2, p0}, Landroidx/media3/common/AdOverlayInfo;-><init>(Landroid/view/View;ILjava/lang/String;)V
return-object v0
.end method
.method public setDetailedReason(Ljava/lang/String;)Landroidx/media3/common/AdOverlayInfo$Builder;
.locals 0
iput-object p1, p0, Landroidx/media3/common/AdOverlayInfo$Builder;->detailedReason:Ljava/lang/String;
return-object p0
.end method