.class public Landroidx/core/app/NotificationChannelCompat$Builder; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/core/app/NotificationChannelCompat; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "Builder" .end annotation # instance fields .field private final mChannel:Landroidx/core/app/NotificationChannelCompat; # direct methods .method public constructor (Ljava/lang/String;I)V .locals 1 .param p1 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 89 invoke-direct {p0}, Ljava/lang/Object;->()V .line 90 new-instance v0, Landroidx/core/app/NotificationChannelCompat; invoke-direct {v0, p1, p2}, Landroidx/core/app/NotificationChannelCompat;->(Ljava/lang/String;I)V iput-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; return-void .end method # virtual methods .method public build()Landroidx/core/app/NotificationChannelCompat; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; return-object v0 .end method .method public setConversationId(Ljava/lang/String;Ljava/lang/String;)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 2 .param p1 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1e if-lt v0, v1, :cond_0 iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 259 iput-object p1, v0, Landroidx/core/app/NotificationChannelCompat;->mParentId:Ljava/lang/String; .line 260 iput-object p2, v0, Landroidx/core/app/NotificationChannelCompat;->mConversationId:Ljava/lang/String; :cond_0 return-object p0 .end method .method public setDescription(Ljava/lang/String;)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 1 .param p1 # Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 131 iput-object p1, v0, Landroidx/core/app/NotificationChannelCompat;->mDescription:Ljava/lang/String; return-object p0 .end method .method public setGroup(Ljava/lang/String;)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 1 .param p1 # Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 149 iput-object p1, v0, Landroidx/core/app/NotificationChannelCompat;->mGroupId:Ljava/lang/String; return-object p0 .end method .method public setImportance(I)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 119 iput p1, v0, Landroidx/core/app/NotificationChannelCompat;->mImportance:I return-object p0 .end method .method public setLightColor(I)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 207 iput p1, v0, Landroidx/core/app/NotificationChannelCompat;->mLightColor:I return-object p0 .end method .method public setLightsEnabled(Z)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 193 iput-boolean p1, v0, Landroidx/core/app/NotificationChannelCompat;->mLights:Z return-object p0 .end method .method public setName(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 1 .param p1 # Ljava/lang/CharSequence; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 104 iput-object p1, v0, Landroidx/core/app/NotificationChannelCompat;->mName:Ljava/lang/CharSequence; return-object p0 .end method .method public setShowBadge(Z)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 164 iput-boolean p1, v0, Landroidx/core/app/NotificationChannelCompat;->mShowBadge:Z return-object p0 .end method .method public setSound(Landroid/net/Uri;Landroid/media/AudioAttributes;)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 1 .param p1 # Landroid/net/Uri; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p2 # Landroid/media/AudioAttributes; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 179 iput-object p1, v0, Landroidx/core/app/NotificationChannelCompat;->mSound:Landroid/net/Uri; .line 180 iput-object p2, v0, Landroidx/core/app/NotificationChannelCompat;->mAudioAttributes:Landroid/media/AudioAttributes; return-object p0 .end method .method public setVibrationEnabled(Z)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; .line 220 iput-boolean p1, v0, Landroidx/core/app/NotificationChannelCompat;->mVibrationEnabled:Z return-object p0 .end method .method public setVibrationPattern([J)Landroidx/core/app/NotificationChannelCompat$Builder; .locals 2 .param p1 # [J .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationChannelCompat$Builder;->mChannel:Landroidx/core/app/NotificationChannelCompat; if-eqz p1, :cond_0 .line 234 array-length v1, p1 if-lez v1, :cond_0 const/4 v1, 0x1 goto :goto_0 :cond_0 const/4 v1, 0x0 :goto_0 iput-boolean v1, v0, Landroidx/core/app/NotificationChannelCompat;->mVibrationEnabled:Z .line 235 iput-object p1, v0, Landroidx/core/app/NotificationChannelCompat;->mVibrationPattern:[J return-object p0 .end method