共用方式為


MobileBroadbandRadioStateChangeTrigger 類別

定義

表示觸發程式,指出行動寬頻無線電狀態何時變更。 例如,當行動裝置轉換到飛機模式或從飛機模式轉換時,就會啟動此觸發程式。

這項功能僅適用于行動電信業者提供特殊許可權存取權的電信業者應用程式和 UWP 應用程式。 如需詳細資訊,請參閱 行動寬頻

public ref class MobileBroadbandRadioStateChangeTrigger sealed : IBackgroundTrigger
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MobileBroadbandRadioStateChangeTrigger final : IBackgroundTrigger
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class MobileBroadbandRadioStateChangeTrigger final : IBackgroundTrigger
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MobileBroadbandRadioStateChangeTrigger : IBackgroundTrigger
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MobileBroadbandRadioStateChangeTrigger : IBackgroundTrigger
function MobileBroadbandRadioStateChangeTrigger()
Public NotInheritable Class MobileBroadbandRadioStateChangeTrigger
Implements IBackgroundTrigger
繼承
Object Platform::Object IInspectable MobileBroadbandRadioStateChangeTrigger
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

當此觸發程式啟動時,背景工作的 IBackgroundTaskInstance.TriggerDetailsMobileBroadbandRadioStateChangeTriggerDetails 實例。

建構函式

MobileBroadbandRadioStateChangeTrigger()

建構 MobileBroadbandRadioStateChangeTrigger 物件。

這項功能僅適用于行動電信業者提供特殊許可權存取權的電信業者應用程式和 UWP 應用程式。 如需詳細資訊,請參閱 行動寬頻

適用於

另請參閱