RcsEndUserMessageManager.MessageAvailableChanged RcsEndUserMessageManager.MessageAvailableChanged RcsEndUserMessageManager.MessageAvailableChanged RcsEndUserMessageManager.MessageAvailableChanged RcsEndUserMessageManager.MessageAvailableChanged Event

Definition

Occurs when a new message is available.

public : event TypedEventHandler<RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs> MessageAvailableChanged
// Register
event_token MessageAvailableChanged(TypedEventHandler<RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs> const& handler) const;

// Revoke with event_token
void MessageAvailableChanged(event_token const& cookie) const;

// Revoke with event_revoker
MessageAvailableChanged_revoker MessageAvailableChanged(auto_revoke_t, TypedEventHandler<RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs> const& handler) const;
public event TypedEventHandler<RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs> MessageAvailableChanged
Public Event MessageAvailableChanged As TypedEventHandler (Of RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs)
function onMessageAvailableChanged(eventArgs){/* Your code */}


rcsEndUserMessageManager.addEventListener("messageavailablechanged", onMessageAvailableChanged);
rcsEndUserMessageManager.removeEventListener("messageavailablechanged", onMessageAvailableChanged);

Additional features and requirements

Capabilities
chat smsSend chatSystem