Udostępnij za pośrednictwem


Notification.ExtraNotificationId Field

Definition

Optional extra for #INTENT_CATEGORY_NOTIFICATION_PREFERENCES.

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

Field Value

Implements

Attributes

Remarks

Optional extra for #INTENT_CATEGORY_NOTIFICATION_PREFERENCES. If provided, will contain the id provided to NotificationManager#notify(String, int, Notification) that can be used to narrow down what settings should be shown in the target app.

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