Jaa


MobileBroadbandSarManager.TransmissionStateChanged Event

Definition

Occurs when there is notification received from device that indicate a change in the current transmission state.

Note

To use this API you will need to contact Microsoft to request the custom capability microsoft.cellularSARConfiguration_8wekyb3d8bbwe. For more info, see the Custom capabilities section in the App capability declarations topic, and Creating a custom capability to pair a driver with a Hardware Support App.

// Register
event_token TransmissionStateChanged(TypedEventHandler<MobileBroadbandSarManager, MobileBroadbandTransmissionStateChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void TransmissionStateChanged(event_token const* cookie) const;

// Revoke with event_revoker
MobileBroadbandSarManager::TransmissionStateChanged_revoker TransmissionStateChanged(auto_revoke_t, TypedEventHandler<MobileBroadbandSarManager, MobileBroadbandTransmissionStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<MobileBroadbandSarManager,MobileBroadbandTransmissionStateChangedEventArgs> TransmissionStateChanged;
function onTransmissionStateChanged(eventArgs) { /* Your code */ }
mobileBroadbandSarManager.addEventListener("transmissionstatechanged", onTransmissionStateChanged);
mobileBroadbandSarManager.removeEventListener("transmissionstatechanged", onTransmissionStateChanged);
- or -
mobileBroadbandSarManager.ontransmissionstatechanged = onTransmissionStateChanged;
Public Custom Event TransmissionStateChanged As TypedEventHandler(Of MobileBroadbandSarManager, MobileBroadbandTransmissionStateChangedEventArgs) 

Event Type

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity microsoft.cellularSARConfiguration_8wekyb3d8bbwe

Applies to