MobileBroadbandSarManager.TransmissionStateChanged Event
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 there is notification received from device that indicate a change in the current transmission state.
Anteckning
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)
App capabilities |
cellularDeviceControl
cellularDeviceIdentity
microsoft.cellularSARConfiguration_8wekyb3d8bbwe
|
Produkt | Versioner |
---|---|
WinRT | Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |