ChatCapabilitiesManager.GetCachedCapabilitiesAsync 方法

定义

重载

GetCachedCapabilitiesAsync(String)

异步获取本地缓存的丰富通信服务 (RCS) 指定电话号码的聊天功能。

GetCachedCapabilitiesAsync(String, String)

通过指定的 RcsTransport TransportId 异步获取指定电话号码的本地缓存丰富通信服务 (RCS) 聊天功能。

GetCachedCapabilitiesAsync(String)

异步获取本地缓存的丰富通信服务 (RCS) 指定电话号码的聊天功能。

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)

参数

address
String

Platform::String

winrt::hstring

要获取丰富通信服务 (RCS) 聊天功能的电话号码

返回

本地缓存的富通信服务 (RCS) 聊天功能。

属性

Windows 要求

应用功能
chat chatSystem smsSend

适用于

GetCachedCapabilitiesAsync(String, String)

通过指定的 RcsTransport TransportId 异步获取指定电话号码的本地缓存丰富通信服务 (RCS) 聊天功能。

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)

参数

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

适用于