PeopleManager.AddOrUpdateStatus(String, ConversationStatus) 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 or updates a ConversationStatus
for a conversation.
[Android.Runtime.Register("addOrUpdateStatus", "(Ljava/lang/String;Landroid/app/people/ConversationStatus;)V", "", ApiSince=31)]
public void AddOrUpdateStatus (string conversationId, Android.App.People.ConversationStatus status);
[<Android.Runtime.Register("addOrUpdateStatus", "(Ljava/lang/String;Landroid/app/people/ConversationStatus;)V", "", ApiSince=31)>]
member this.AddOrUpdateStatus : string * Android.App.People.ConversationStatus -> unit
Parameters
- conversationId
- String
the ShortcutInfo#getId() id
of the shortcut backing the
conversation that has an active status
- status
- ConversationStatus
the current status for the given conversation
- Attributes
Remarks
Sets or updates a ConversationStatus
for a conversation.
Statuses are meant to represent current information about the conversation. Like notifications, they are transient and are not persisted beyond a reboot, nor are they backed up and restored.
If the provided conversation shortcut is not already pinned, or cached by the system, it will remain cached as long as the status is active.
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.