共用方式為


NotificationChannelGroup.Description Property

Definition

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

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

Property Value

Attributes

Remarks

Property getter documentation:

Returns the user visible description of this group.

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

Property setter documentation:

Sets the user visible description of this group.

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

Java documentation for android.app.NotificationChannelGroup.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