RcsManager.TransportListChanged 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 one or more RcsTransport instances are added or removed from the list of RcsTransport instances that would be returned from RcsManager.GetTransportsAsync.
// Register
static event_token TransportListChanged(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
static void TransportListChanged(event_token const* cookie) const;
// Revoke with event_revoker
static RcsManager::TransportListChanged_revoker TransportListChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> TransportListChanged;
function onTransportListChanged(eventArgs) { /* Your code */ }
Windows.ApplicationModel.Chat.RcsManager.addEventListener("transportlistchanged", onTransportListChanged);
Windows.ApplicationModel.Chat.RcsManager.removeEventListener("transportlistchanged", onTransportListChanged);
- or -
Windows.ApplicationModel.Chat.RcsManager.ontransportlistchanged = onTransportListChanged;
Public Shared Custom Event TransportListChanged As EventHandler(Of Object)
Event Type
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
App capabilities |
chat
chatSystem
smsSend
|