RcsTransport RcsTransport RcsTransport RcsTransport Class

Definition

Provides functionality for accessing the Rich Communication Services (RCS) transport.

public : sealed class RcsTransport : IRcsTransportpublic sealed class RcsTransport : IRcsTransportPublic NotInheritable Class RcsTransport Implements IRcsTransport// You can use this class in JavaScript.
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)

Remarks

Call RcsManager.GetTransportAsync or RcsManager.GetTransportsAsync to get an instance of this class.

Properties

Configuration Configuration Configuration Configuration

Gets a configuration object that describes the transport settings.

public : RcsTransportConfiguration Configuration { get; }public RcsTransportConfiguration Configuration { get; }Public ReadOnly Property Configuration As RcsTransportConfiguration// You can use this property in JavaScript.
Value
RcsTransportConfiguration RcsTransportConfiguration RcsTransportConfiguration RcsTransportConfiguration

A configuration object that describes the transport settings.

ExtendedProperties ExtendedProperties ExtendedProperties ExtendedProperties

Gets a name-value pair for extensibility of service provider configuration values.

public : IMapView<string, object> ExtendedProperties { get; }public IReadOnlyDictionary<string, object> ExtendedProperties { get; }Public ReadOnly Property ExtendedProperties As IReadOnlyDictionary<string, object>// You can use this property in JavaScript.
Value
IMapView<PlatForm::String, PlatForm::Object> IReadOnlyDictionary<string, object> IReadOnlyDictionary<string, object> IReadOnlyDictionary<string, object>

A name-value pair for extensibility of service provider configuration values.

IsActive IsActive IsActive IsActive

Gets a Boolean value indicating if the transport is active.

public : PlatForm::Boolean IsActive { get; }public bool IsActive { get; }Public ReadOnly Property IsActive As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

A Boolean value indicating if the transport is active.

TransportFriendlyName TransportFriendlyName TransportFriendlyName TransportFriendlyName

Gets the friendly name of the transport.

public : PlatForm::String TransportFriendlyName { get; }public string TransportFriendlyName { get; }Public ReadOnly Property TransportFriendlyName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The friendly name of the transport.

TransportId TransportId TransportId TransportId

Gets the ID for the transport that is unique on the device.

public : PlatForm::String TransportId { get; }public string TransportId { get; }Public ReadOnly Property TransportId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The ID for the transport that is unique on the device.

Methods

IsServiceKindSupported(RcsServiceKind) IsServiceKindSupported(RcsServiceKind) IsServiceKindSupported(RcsServiceKind) IsServiceKindSupported(RcsServiceKind)

Gets a Boolean value indicating if the specified service kind is supported, such as chat, group chat, file transfer, and so on.

public : PlatForm::Boolean IsServiceKindSupported(RcsServiceKind serviceKind)public bool IsServiceKindSupported(RcsServiceKind serviceKind)Public Function IsServiceKindSupported(serviceKind As RcsServiceKind) As bool// You can use this method in JavaScript.
Parameters
serviceKind
RcsServiceKind RcsServiceKind RcsServiceKind RcsServiceKind

The service kind to verify.

Returns
PlatForm::Boolean bool bool bool

TRUE if the RcsServiceKind specified in the serviceKind parameter is supported.

IsStoreAndForwardEnabled(RcsServiceKind) IsStoreAndForwardEnabled(RcsServiceKind) IsStoreAndForwardEnabled(RcsServiceKind) IsStoreAndForwardEnabled(RcsServiceKind)

Gets a Boolean value indicating if the specified service kind supports store and forward functionality.

public : PlatForm::Boolean IsStoreAndForwardEnabled(RcsServiceKind serviceKind)public bool IsStoreAndForwardEnabled(RcsServiceKind serviceKind)Public Function IsStoreAndForwardEnabled(serviceKind As RcsServiceKind) As bool// You can use this method in JavaScript.
Parameters
serviceKind
RcsServiceKind RcsServiceKind RcsServiceKind RcsServiceKind

The service kind to check for store and forward functionality.

Returns
PlatForm::Boolean bool bool bool

A Boolean value indicating if the *serviceKind * supports store and forward.

Events

ServiceKindSupportedChanged ServiceKindSupportedChanged ServiceKindSupportedChanged ServiceKindSupportedChanged

Occurs when the service capabilities change.

public : event TypedEventHandler ServiceKindSupportedChanged<RcsTransport,  RcsServiceKindSupportedChangedEventArgs>public event TypedEventHandler ServiceKindSupportedChanged<RcsTransport,  RcsServiceKindSupportedChangedEventArgs>Public Event ServiceKindSupportedChanged<RcsTransport,  RcsServiceKindSupportedChangedEventArgs>// You can use this event in JavaScript.