Dela via


ChatCapabilitiesManager.GetCapabilitiesFromNetworkAsync Method

Definition

Overloads

GetCapabilitiesFromNetworkAsync(String)

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

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.

public:
 static IAsyncOperation<ChatCapabilities ^> ^ GetCapabilitiesFromNetworkAsync(Platform::String ^ address);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(winrt::hstring const& address);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Overload("GetCapabilitiesFromNetworkAsync")]
 static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(winrt::hstring const& address);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(string address);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Overload("GetCapabilitiesFromNetworkAsync")]
public static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(string address);
function getCapabilitiesFromNetworkAsync(address)
Public Shared Function GetCapabilitiesFromNetworkAsync (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 Rich Communication Services (RCS) chat capabilities from the service provider.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

Applies to

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.

public:
 static IAsyncOperation<ChatCapabilities ^> ^ GetCapabilitiesFromNetworkAsync(Platform::String ^ address, Platform::String ^ transportId);
/// [Windows.Foundation.Metadata.Overload("GetCapabilitiesFromNetworkForTransportAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(winrt::hstring const& address, winrt::hstring const& transportId);
[Windows.Foundation.Metadata.Overload("GetCapabilitiesFromNetworkForTransportAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(string address, string transportId);
function getCapabilitiesFromNetworkAsync(address, transportId)
Public Shared Function GetCapabilitiesFromNetworkAsync (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 Rich Communication Services (RCS) chat capabilities from the service provider.

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