MobileBroadbandSarManager.TransmissionStateChanged 事件

定义

当从设备收到指示当前传输状态发生更改的通知时发生。

注意

若要使用此 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

适用于