ChatMessageTransport ChatMessageTransport ChatMessageTransport ChatMessageTransport ChatMessageTransport Class

Definition

Represents the identity of a transport for sending and receiving messages. Physically, a chat message transport is a SIM slot on the phone.

public : sealed class ChatMessageTransport
struct winrt::Windows::ApplicationModel::Chat::ChatMessageTransport
public sealed class ChatMessageTransport
Public NotInheritable Class ChatMessageTransport
// 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

Remarks

Obtain an instance of this class by calling GetTransportsAsync.

Properties

Configuration Configuration Configuration Configuration Configuration

Gets the configuration of the message transport.

IsActive IsActive IsActive IsActive IsActive

Gets a Boolean value that indicates whether the messaging transport is active.

IsAppSetAsNotificationProvider IsAppSetAsNotificationProvider IsAppSetAsNotificationProvider IsAppSetAsNotificationProvider IsAppSetAsNotificationProvider

Gets a Boolean value that indicates whether the current application is set as the messaging notification provider.

TransportFriendlyName TransportFriendlyName TransportFriendlyName TransportFriendlyName TransportFriendlyName

Gets a descriptive name identifying the messaging transport.

TransportId TransportId TransportId TransportId TransportId

Gets the messaging transport’s identifier.

TransportKind TransportKind TransportKind TransportKind TransportKind

Gets the type of the message transport.

Methods

RequestSetAsNotificationProviderAsync() RequestSetAsNotificationProviderAsync() RequestSetAsNotificationProviderAsync() RequestSetAsNotificationProviderAsync() RequestSetAsNotificationProviderAsync()

Sets the current application to handle messaging notifications.