NotificationChannel.Description Property

Definition

Returns the user visible description of this channel. -or- Sets the user visible description of this channel.

public string? Description { [Android.Runtime.Register("getDescription", "()Ljava/lang/String;", "", ApiSince=26)] get; [Android.Runtime.Register("setDescription", "(Ljava/lang/String;)V", "", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getDescription", "()Ljava/lang/String;", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setDescription", "(Ljava/lang/String;)V", "", ApiSince=26)>]
member this.Description : string with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the user visible description of this channel.

Java documentation for android.app.NotificationChannel.getDescription().

Property setter documentation:

Sets the user visible description of this channel.

The recommended maximum length is 300 characters; the value may be truncated if it is too long.

Java documentation for android.app.NotificationChannel.setDescription(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to