RcsEndUserMessageAvailableEventArgs
RcsEndUserMessageAvailableEventArgs
RcsEndUserMessageAvailableEventArgs
RcsEndUserMessageAvailableEventArgs
Class
Definition
Provides the data for a MessageAvailableChanged event.
public : sealed class RcsEndUserMessageAvailableEventArgs : IRcsEndUserMessageAvailableEventArgspublic sealed class RcsEndUserMessageAvailableEventArgs : IRcsEndUserMessageAvailableEventArgsPublic NotInheritable Class RcsEndUserMessageAvailableEventArgs Implements IRcsEndUserMessageAvailableEventArgs// 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
The system creates an instance of this class and passes it as an argument to the MessageAvailableChanged event.
Properties
IsMessageAvailable IsMessageAvailable IsMessageAvailable IsMessageAvailable
Gets a Boolean value indicating if a new message is available.
public : PlatForm::Boolean IsMessageAvailable { get; }public bool IsMessageAvailable { get; }Public ReadOnly Property IsMessageAvailable As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
A Boolean value indicating if a new message is available.
Remarks
There could be more than one message to be displayed. The service controls how many and the order in which to display them. You should block all Rich Communication Services (RCS) functionality while the service is displaying these messages, until a notification with this flag set to FALSE arrives.
Message Message Message Message
Gets the actual message to display, or empty if IsMessageAvailable is FALSE.
public : RcsEndUserMessage Message { get; }public RcsEndUserMessage Message { get; }Public ReadOnly Property Message As RcsEndUserMessage// You can use this property in JavaScript.
The actual message to display.
Remarks
If@Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs.IsMessageAvailable?text=IsMessageAvailable is True, then this will contain the message to display. If IsMessageAvailable is False, then this will be an empty string.