ChatMessageManager ChatMessageManager ChatMessageManager ChatMessageManager ChatMessageManager Class

Definition

Provides access to message transports and the message store. Also provides a method to display the UI to compose messages.

public : static class ChatMessageManager
static struct winrt::Windows::ApplicationModel::Chat::ChatMessageManager
public static class ChatMessageManager
Public Shared Class ChatMessageManager
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
chat smsSend chatSystem

Methods

GetTransportAsync(String) GetTransportAsync(String) GetTransportAsync(String) GetTransportAsync(String) GetTransportAsync(String)

Asynchronously gets the@Windows.ApplicationModel.Chat.ChatMessageTransport?text=ChatMessageTransport.

GetTransportsAsync() GetTransportsAsync() GetTransportsAsync() GetTransportsAsync() GetTransportsAsync()

Asynchronously gets the chat message transports available on the device.

RegisterTransportAsync() RegisterTransportAsync() RegisterTransportAsync() RegisterTransportAsync() RegisterTransportAsync()

Asynchronously registers the app as a ChatMessageTransport in order to post messages to the ChatMessageStore.

RequestStoreAsync() RequestStoreAsync() RequestStoreAsync() RequestStoreAsync() RequestStoreAsync()

Returns the SMS messaging store for the phone.

RequestSyncManagerAsync() RequestSyncManagerAsync() RequestSyncManagerAsync() RequestSyncManagerAsync() RequestSyncManagerAsync()

Gets the ChatSyncManager instance.

ShowComposeSmsMessageAsync(ChatMessage) ShowComposeSmsMessageAsync(ChatMessage) ShowComposeSmsMessageAsync(ChatMessage) ShowComposeSmsMessageAsync(ChatMessage) ShowComposeSmsMessageAsync(ChatMessage)

Shows the compose SMS dialog, pre-populated with data from the supplied ChatMessage object, allowing the user to send an SMS message.

ShowSmsSettings() ShowSmsSettings() ShowSmsSettings() ShowSmsSettings() ShowSmsSettings()

Launches the device's SMS settings app.