MobileBroadbandSarManager.TransmissionStateChanged 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于收到來自裝置的通知,指出目前傳輸狀態的變更時。
注意
若要使用此 API,您必須連絡 Microsoft 以要求自訂功能 microsoft.cellularSARConfiguration_8wekyb3d8bbwe。 如需詳細資訊,請參閱應用程式功能宣告主題中的自訂功能一節,以及建立自訂功能以將驅動程式與硬體支援應用程式配對。
// 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)
事件類型
Windows 需求
應用程式功能 |
cellularDeviceControl
cellularDeviceIdentity
microsoft.cellularSARConfiguration_8wekyb3d8bbwe
|