RcsEndUserMessageManager.MessageAvailableChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a new message is available.
// Register
event_token MessageAvailableChanged(TypedEventHandler<RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs const&> const& handler) const;
// Revoke with event_token
void MessageAvailableChanged(event_token const* cookie) const;
// Revoke with event_revoker
RcsEndUserMessageManager::MessageAvailableChanged_revoker MessageAvailableChanged(auto_revoke_t, TypedEventHandler<RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs const&> const& handler) const;
public event TypedEventHandler<RcsEndUserMessageManager,RcsEndUserMessageAvailableEventArgs> MessageAvailableChanged;
function onMessageAvailableChanged(eventArgs) { /* Your code */ }
rcsEndUserMessageManager.addEventListener("messageavailablechanged", onMessageAvailableChanged);
rcsEndUserMessageManager.removeEventListener("messageavailablechanged", onMessageAvailableChanged);
- or -
rcsEndUserMessageManager.onmessageavailablechanged = onMessageAvailableChanged;
Public Custom Event MessageAvailableChanged As TypedEventHandler(Of RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs)
Event Type
Windows requirements
App capabilities |
chat
chatSystem
smsSend
|