NotificationChannel.SetConversationId(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets this channel as being converastion-centric.
[Android.Runtime.Register("setConversationId", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=30)]
public void SetConversationId (string parentChannelId, string conversationId);
[<Android.Runtime.Register("setConversationId", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=30)>]
member this.SetConversationId : string * string -> unit
Parameters
- parentChannelId
- String
The #getId()
id} of the generic channel that notifications of
this type would be posted to in absence of a specific conversation id.
For example, if this channel represents 'Messages from Person A', the
parent channel would be 'Messages.'
- conversationId
- String
The ShortcutInfo#getId()
of the shortcut representing this
channel's conversation.
- Attributes
Remarks
Sets this channel as being converastion-centric. Different settings and functionality may be exposed for conversation-centric channels.
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.