RcsEndUserMessage 類別

定義

代表 RTS (RCS) 使用者訊息的豐富通訊服務。

public ref class RcsEndUserMessage 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 RcsEndUserMessage 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 sealed class RcsEndUserMessage
Public NotInheritable Class RcsEndUserMessage
繼承
Object Platform::Object IInspectable RcsEndUserMessage
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
chat chatSystem smsSend

備註

呼叫 RcsEndUserMessageAvailableEventArgs.Message 以具現化此類別。

屬性

Actions

取得使用者可以回應的動作。

IsPinRequired

取得布林值,這個值會指定是否需要使用回應傳回 PIN。

Text

取得訊息的內容。

Title

取得訊息的標題。

TransportId

取得此訊息來源之傳輸的識別碼。

方法

SendResponseAsync(RcsEndUserMessageAction)

以非同步方式將使用者的選取範圍傳回。

SendResponseWithPinAsync(RcsEndUserMessageAction, String)

以非同步方式將使用者的選取範圍傳回指定的 PIN。

適用於