Share via


ChatCapabilitiesManager.GetCachedCapabilitiesAsync Method

Definition

Overloads

GetCachedCapabilitiesAsync(String)

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

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.

public:
 static IAsyncOperation<ChatCapabilities ^> ^ GetCachedCapabilitiesAsync(Platform::String ^ address);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(winrt::hstring const& address);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Overload("GetCachedCapabilitiesAsync")]
 static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(winrt::hstring const& address);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(string address);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Overload("GetCachedCapabilitiesAsync")]
public static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(string address);
function getCachedCapabilitiesAsync(address)
Public Shared Function GetCachedCapabilitiesAsync (address As String) As IAsyncOperation(Of ChatCapabilities)

Parameters

address
String

Platform::String

winrt::hstring

The phone number for which to get the Rich Communication Services (RCS) chat capabilities

Returns

The locally cached Rich Communication Services (RCS) chat capabilities.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

Applies to

GetCachedCapabilitiesAsync(String, String)

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

public:
 static IAsyncOperation<ChatCapabilities ^> ^ GetCachedCapabilitiesAsync(Platform::String ^ address, Platform::String ^ transportId);
/// [Windows.Foundation.Metadata.Overload("GetCachedCapabilitiesForTransportAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(winrt::hstring const& address, winrt::hstring const& transportId);
[Windows.Foundation.Metadata.Overload("GetCachedCapabilitiesForTransportAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(string address, string transportId);
function getCachedCapabilitiesAsync(address, transportId)
Public Shared Function GetCachedCapabilitiesAsync (address As String, transportId As String) As IAsyncOperation(Of ChatCapabilities)

Parameters

address
String

Platform::String

winrt::hstring

The phone number for which to get the Rich Communication Services (RCS) chat capabilities

transportId
String

Platform::String

winrt::hstring

The specific transport ID to use to get the Rich Communication Services (RCS) chat capabilities

Returns

The locally cached Rich Communication Services (RCS) chat capabilities.

Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)
App capabilities
chat chatSystem smsSend

Applies to