다음을 통해 공유


Notification.ExtraChannelId Field

Definition

Optional extra for #INTENT_CATEGORY_NOTIFICATION_PREFERENCES.

[Android.Runtime.Register("EXTRA_CHANNEL_ID", ApiSince=26)]
public const string ExtraChannelId;
[<Android.Runtime.Register("EXTRA_CHANNEL_ID", ApiSince=26)>]
val mutable ExtraChannelId : string

Field Value

Implements

Attributes

Remarks

Optional extra for #INTENT_CATEGORY_NOTIFICATION_PREFERENCES. If provided, will contain a NotificationChannel#getId() channel id that can be used to narrow down what settings should be shown in the target app.

Java documentation for android.app.Notification.EXTRA_CHANNEL_ID.

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