RcsEndUserMessage
RcsEndUserMessage
RcsEndUserMessage
RcsEndUserMessage
Class
Definition
Represents a Rich Communication Services (RCS) end user message.
public : sealed class RcsEndUserMessage : IRcsEndUserMessagepublic sealed class RcsEndUserMessage : IRcsEndUserMessagePublic NotInheritable Class RcsEndUserMessage Implements IRcsEndUserMessage// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Call RcsEndUserMessageAvailableEventArgs.Message to instantiate this class.
Properties
Actions Actions Actions Actions
Gets the actions to which the user can respond.
public : IVectorView<RcsEndUserMessageAction> Actions { get; }public IReadOnlyList<RcsEndUserMessageAction> Actions { get; }Public ReadOnly Property Actions As IReadOnlyList<RcsEndUserMessageAction>// You can use this property in JavaScript.
- Value
- IVectorView<RcsEndUserMessageAction> IReadOnlyList<RcsEndUserMessageAction> IReadOnlyList<RcsEndUserMessageAction> IReadOnlyList<RcsEndUserMessageAction>
The actions to which the user can respond.
IsPinRequired IsPinRequired IsPinRequired IsPinRequired
Gets a Boolean value that specifies whether a PIN is required to be sent back with the response.
public : PlatForm::Boolean IsPinRequired { get; }public bool IsPinRequired { get; }Public ReadOnly Property IsPinRequired As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
A Boolean value that specifies whether a PIN is required to be sent back with the response.
Text Text Text Text
Gets the contents of the message.
public : PlatForm::String Text { get; }public string Text { get; }Public ReadOnly Property Text As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The contents of the message.
Title Title Title Title
Gets the title of the message.
public : PlatForm::String Title { get; }public string Title { get; }Public ReadOnly Property Title As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The title of the message.
TransportId TransportId TransportId TransportId
Gets the ID of the transport where this message originated.
public : PlatForm::String TransportId { get; }public string TransportId { get; }Public ReadOnly Property TransportId As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The ID of the transport where this message originated.
Methods
SendResponseAsync(RcsEndUserMessageAction) SendResponseAsync(RcsEndUserMessageAction) SendResponseAsync(RcsEndUserMessageAction) SendResponseAsync(RcsEndUserMessageAction)
Asynchronously sends the user's selection back.
public : IAsyncAction SendResponseAsync(RcsEndUserMessageAction action)public IAsyncAction SendResponseAsync(RcsEndUserMessageAction action)Public Function SendResponseAsync(action As RcsEndUserMessageAction) As IAsyncAction// You can use this method in JavaScript.
- action
- RcsEndUserMessageAction RcsEndUserMessageAction RcsEndUserMessageAction RcsEndUserMessageAction
Specifies the label of the action.
An async action indicating that the operation has completed.
SendResponseWithPinAsync(RcsEndUserMessageAction, String) SendResponseWithPinAsync(RcsEndUserMessageAction, String) SendResponseWithPinAsync(RcsEndUserMessageAction, String) SendResponseWithPinAsync(RcsEndUserMessageAction, String)
Asynchronously sends the user's selection back with the specified PIN.
public : IAsyncAction SendResponseWithPinAsync(RcsEndUserMessageAction action, PlatForm::String pin)public IAsyncAction SendResponseWithPinAsync(RcsEndUserMessageAction action, String pin)Public Function SendResponseWithPinAsync(action As RcsEndUserMessageAction, pin As String) As IAsyncAction// You can use this method in JavaScript.
- action
- RcsEndUserMessageAction RcsEndUserMessageAction RcsEndUserMessageAction RcsEndUserMessageAction
Specifies the label of the action.
- pin
- PlatForm::String String String String
The PIN to send.
An async action indicating that the operation has completed.