ShareVideoContent$Builder.smali
.class public final Lcom/facebook/share/model/ShareVideoContent$Builder;
.super Lcom/facebook/share/model/ShareContent$Builder;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/share/model/ShareVideoContent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/share/model/ShareContent$Builder<",
"Lcom/facebook/share/model/ShareVideoContent;",
"Lcom/facebook/share/model/ShareVideoContent$Builder;",
">;"
}
.end annotation
# instance fields
.field private contentDescription:Ljava/lang/String;
.field private contentTitle:Ljava/lang/String;
.field private previewPhoto:Lcom/facebook/share/model/SharePhoto;
.field private video:Lcom/facebook/share/model/ShareVideo;
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Lcom/facebook/share/model/ShareContent$Builder;-><init>()V
return-void
.end method
# virtual methods
.method public build()Lcom/facebook/share/model/ShareVideoContent;
.registers 3
.line 2
new-instance v0, Lcom/facebook/share/model/ShareVideoContent;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/facebook/share/model/ShareVideoContent;-><init>(Lcom/facebook/share/model/ShareVideoContent$Builder;Lkotlin/jvm/internal/e;)V
return-object v0
.end method
.method public bridge synthetic build()Ljava/lang/Object;
.registers 2
.line 1
invoke-virtual {p0}, Lcom/facebook/share/model/ShareVideoContent$Builder;->build()Lcom/facebook/share/model/ShareVideoContent;
move-result-object v0
return-object v0
.end method
.method public final getContentDescription$facebook_common_release()Ljava/lang/String;
.registers 2
iget-object v0, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->contentDescription:Ljava/lang/String;
return-object v0
.end method
.method public final getContentTitle$facebook_common_release()Ljava/lang/String;
.registers 2
iget-object v0, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->contentTitle:Ljava/lang/String;
return-object v0
.end method
.method public final getPreviewPhoto$facebook_common_release()Lcom/facebook/share/model/SharePhoto;
.registers 2
iget-object v0, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->previewPhoto:Lcom/facebook/share/model/SharePhoto;
return-object v0
.end method
.method public final getVideo$facebook_common_release()Lcom/facebook/share/model/ShareVideo;
.registers 2
iget-object v0, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->video:Lcom/facebook/share/model/ShareVideo;
return-object v0
.end method
.method public bridge synthetic readFrom(Lcom/facebook/share/model/ShareContent;)Lcom/facebook/share/model/ShareContent$Builder;
.registers 2
.line 1
check-cast p1, Lcom/facebook/share/model/ShareVideoContent;
invoke-virtual {p0, p1}, Lcom/facebook/share/model/ShareVideoContent$Builder;->readFrom(Lcom/facebook/share/model/ShareVideoContent;)Lcom/facebook/share/model/ShareVideoContent$Builder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic readFrom(Lcom/facebook/share/model/ShareModel;)Lcom/facebook/share/model/ShareModelBuilder;
.registers 2
.line 2
check-cast p1, Lcom/facebook/share/model/ShareVideoContent;
invoke-virtual {p0, p1}, Lcom/facebook/share/model/ShareVideoContent$Builder;->readFrom(Lcom/facebook/share/model/ShareVideoContent;)Lcom/facebook/share/model/ShareVideoContent$Builder;
move-result-object p1
return-object p1
.end method
.method public readFrom(Lcom/facebook/share/model/ShareVideoContent;)Lcom/facebook/share/model/ShareVideoContent$Builder;
.registers 4
if-nez p1, :cond_4
move-object p1, p0
goto :goto_2a
.line 3
:cond_4
invoke-super {p0, p1}, Lcom/facebook/share/model/ShareContent$Builder;->readFrom(Lcom/facebook/share/model/ShareContent;)Lcom/facebook/share/model/ShareContent$Builder;
move-result-object v0
check-cast v0, Lcom/facebook/share/model/ShareVideoContent$Builder;
.line 4
invoke-virtual {p1}, Lcom/facebook/share/model/ShareVideoContent;->getContentDescription()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/facebook/share/model/ShareVideoContent$Builder;->setContentDescription(Ljava/lang/String;)Lcom/facebook/share/model/ShareVideoContent$Builder;
move-result-object v0
.line 5
invoke-virtual {p1}, Lcom/facebook/share/model/ShareVideoContent;->getContentTitle()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/facebook/share/model/ShareVideoContent$Builder;->setContentTitle(Ljava/lang/String;)Lcom/facebook/share/model/ShareVideoContent$Builder;
move-result-object v0
.line 6
invoke-virtual {p1}, Lcom/facebook/share/model/ShareVideoContent;->getPreviewPhoto()Lcom/facebook/share/model/SharePhoto;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/facebook/share/model/ShareVideoContent$Builder;->setPreviewPhoto(Lcom/facebook/share/model/SharePhoto;)Lcom/facebook/share/model/ShareVideoContent$Builder;
move-result-object v0
.line 7
invoke-virtual {p1}, Lcom/facebook/share/model/ShareVideoContent;->getVideo()Lcom/facebook/share/model/ShareVideo;
move-result-object p1
invoke-virtual {v0, p1}, Lcom/facebook/share/model/ShareVideoContent$Builder;->setVideo(Lcom/facebook/share/model/ShareVideo;)Lcom/facebook/share/model/ShareVideoContent$Builder;
move-result-object p1
:goto_2a
return-object p1
.end method
.method public final setContentDescription(Ljava/lang/String;)Lcom/facebook/share/model/ShareVideoContent$Builder;
.registers 2
iput-object p1, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->contentDescription:Ljava/lang/String;
return-object p0
.end method
.method public final setContentDescription$facebook_common_release(Ljava/lang/String;)V
.registers 2
iput-object p1, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->contentDescription:Ljava/lang/String;
return-void
.end method
.method public final setContentTitle(Ljava/lang/String;)Lcom/facebook/share/model/ShareVideoContent$Builder;
.registers 2
iput-object p1, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->contentTitle:Ljava/lang/String;
return-object p0
.end method
.method public final setContentTitle$facebook_common_release(Ljava/lang/String;)V
.registers 2
iput-object p1, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->contentTitle:Ljava/lang/String;
return-void
.end method
.method public final setPreviewPhoto(Lcom/facebook/share/model/SharePhoto;)Lcom/facebook/share/model/ShareVideoContent$Builder;
.registers 3
if-nez p1, :cond_4
const/4 p1, 0x0
goto :goto_11
:cond_4
new-instance v0, Lcom/facebook/share/model/SharePhoto$Builder;
invoke-direct {v0}, Lcom/facebook/share/model/SharePhoto$Builder;-><init>()V
invoke-virtual {v0, p1}, Lcom/facebook/share/model/SharePhoto$Builder;->readFrom(Lcom/facebook/share/model/SharePhoto;)Lcom/facebook/share/model/SharePhoto$Builder;
move-result-object p1
invoke-virtual {p1}, Lcom/facebook/share/model/SharePhoto$Builder;->build()Lcom/facebook/share/model/SharePhoto;
move-result-object p1
:goto_11
iput-object p1, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->previewPhoto:Lcom/facebook/share/model/SharePhoto;
return-object p0
.end method
.method public final setPreviewPhoto$facebook_common_release(Lcom/facebook/share/model/SharePhoto;)V
.registers 2
iput-object p1, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->previewPhoto:Lcom/facebook/share/model/SharePhoto;
return-void
.end method
.method public final setVideo(Lcom/facebook/share/model/ShareVideo;)Lcom/facebook/share/model/ShareVideoContent$Builder;
.registers 3
if-nez p1, :cond_3
return-object p0
:cond_3
new-instance v0, Lcom/facebook/share/model/ShareVideo$Builder;
invoke-direct {v0}, Lcom/facebook/share/model/ShareVideo$Builder;-><init>()V
invoke-virtual {v0, p1}, Lcom/facebook/share/model/ShareVideo$Builder;->readFrom(Lcom/facebook/share/model/ShareVideo;)Lcom/facebook/share/model/ShareVideo$Builder;
move-result-object p1
invoke-virtual {p1}, Lcom/facebook/share/model/ShareVideo$Builder;->build()Lcom/facebook/share/model/ShareVideo;
move-result-object p1
iput-object p1, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->video:Lcom/facebook/share/model/ShareVideo;
return-object p0
.end method
.method public final setVideo$facebook_common_release(Lcom/facebook/share/model/ShareVideo;)V
.registers 2
iput-object p1, p0, Lcom/facebook/share/model/ShareVideoContent$Builder;->video:Lcom/facebook/share/model/ShareVideo;
return-void
.end method