ChatCapabilitiesManager.GetCapabilitiesFromNetworkAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetCapabilitiesFromNetworkAsync(String) |
异步从服务提供商处获取指定电话号码的 Rich Communication Services (RCS) 聊天功能。 |
GetCapabilitiesFromNetworkAsync(String, String) |
通过服务提供商指定的 RcsTransport TransportId,异步获取指定电话号码的 Rich Communication Services (RCS) 聊天功能。 |
GetCapabilitiesFromNetworkAsync(String)
异步从服务提供商处获取指定电话号码的 Rich Communication Services (RCS) 聊天功能。
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)
参数
- address
-
String
Platform::String
winrt::hstring
要获取富通信服务 (RCS) 聊天功能的电话号码。
返回
富通信服务 (RCS) 服务提供商提供的聊天功能。
- 属性
Windows 要求
应用功能 |
chat
chatSystem
smsSend
|
适用于
GetCapabilitiesFromNetworkAsync(String, String)
通过服务提供商指定的 RcsTransport TransportId,异步获取指定电话号码的 Rich Communication Services (RCS) 聊天功能。
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)
参数
- address
-
String
Platform::String
winrt::hstring
要获取富通信服务 (RCS) 聊天功能的电话号码。
- transportId
-
String
Platform::String
winrt::hstring
用于获取富通信服务 (RCS) 聊天功能的特定传输 ID。
返回
富通信服务 (RCS) 服务提供商提供的聊天功能。
- 属性
Windows 要求
设备系列 |
Windows 10, version 1809 (在 10.0.17763.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)
|
应用功能 |
chat
chatSystem
smsSend
|