共用方式為


Settings.ExtraChannelId Field

Definition

Activity Extra: The NotificationChannel#getId() of the notification channel settings to display.

[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

Attributes

Remarks

Activity Extra: The NotificationChannel#getId() of the notification channel settings to display.

This must be passed as an extra field to the #ACTION_CHANNEL_NOTIFICATION_SETTINGS.

Java documentation for android.provider.Settings.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