Udostępnij za pośrednictwem


ChatCapabilitiesManager Class

Definition

Provides functionality for getting chat capabilities.

public ref class ChatCapabilitiesManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ChatCapabilitiesManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class ChatCapabilitiesManager
Public Class ChatCapabilitiesManager
Inheritance
Object Platform::Object IInspectable ChatCapabilitiesManager
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
chat chatSystem smsSend

Remarks

Call the GetCachedCapabilitiesAsync or GetCapabilitiesFromNetworkAsync method to get an instance of this class.

Version history

Windows version SDK version Value added
1809 17763 GetCachedCapabilitiesAsync(String,String)
1809 17763 GetCapabilitiesFromNetworkAsync(String,String)

Methods

GetCachedCapabilitiesAsync(String, String)

Asynchronously gets the locally cached Rich Communication Services (RCS) chat capabilities for the specified phone number through the specified RcsTransport TransportId.

GetCachedCapabilitiesAsync(String)

Asynchronously gets the locally cached Rich Communication Services (RCS) chat capabilities for the specified phone number.

GetCapabilitiesFromNetworkAsync(String, String)

Asynchronously gets the Rich Communication Services (RCS) chat capabilities for the specified phone number through the specified RcsTransport TransportId from the service provider.

GetCapabilitiesFromNetworkAsync(String)

Asynchronously gets the Rich Communication Services (RCS) chat capabilities for the specified phone number from the service provider.

Applies to