次の方法で共有


NotificationChannel.DefaultChannelId Field

Definition

The id of the default channel for an app.

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

Field Value

Implements

Attributes

Remarks

The id of the default channel for an app. This id is reserved by the system. All notifications posted from apps targeting android.os.Build.VERSION_CODES#N_MR1 or earlier without a notification channel specified are posted to this channel.

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