Sdílet prostřednictvím


NotificationChannel.NameFormatted Property

Definition

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

public Java.Lang.ICharSequence? NameFormatted { [Android.Runtime.Register("getName", "()Ljava/lang/CharSequence;", "", ApiSince=26)] get; [Android.Runtime.Register("setName", "(Ljava/lang/CharSequence;)V", "", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getName", "()Ljava/lang/CharSequence;", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setName", "(Ljava/lang/CharSequence;)V", "", ApiSince=26)>]
member this.NameFormatted : Java.Lang.ICharSequence with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the user visible name of this channel.

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

Property setter documentation:

Sets the user visible name of this channel.

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

Java documentation for android.app.NotificationChannel.setName(java.lang.CharSequence).

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