共用方式為


Settings.ExtraConversationId Field

Definition

Activity Extra: The NotificationChannel#getConversationId() of the notification conversation settings to display.

[Android.Runtime.Register("EXTRA_CONVERSATION_ID", ApiSince=30)]
public const string ExtraConversationId;
[<Android.Runtime.Register("EXTRA_CONVERSATION_ID", ApiSince=30)>]
val mutable ExtraConversationId : string

Field Value

Attributes

Remarks

Activity Extra: The NotificationChannel#getConversationId() of the notification conversation settings to display.

This is an optional extra field to the #ACTION_CHANNEL_NOTIFICATION_SETTINGS. If included the system will first look up notification settings by channel and conversation id, and will fall back to channel id if a specialized channel for this conversation doesn't exist, similar to NotificationManager#getNotificationChannel(String, String).

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