MobileBroadbandRadioStateChangeTriggerDetails
MobileBroadbandRadioStateChangeTriggerDetails
MobileBroadbandRadioStateChangeTriggerDetails
MobileBroadbandRadioStateChangeTriggerDetails
Class
Definition
Provides details for a radio state change notification.
Note
This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators.
If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.
public : sealed class MobileBroadbandRadioStateChangeTriggerDetails : IMobileBroadbandRadioStateChangeTriggerDetailspublic sealed class MobileBroadbandRadioStateChangeTriggerDetails : IMobileBroadbandRadioStateChangeTriggerDetailsPublic NotInheritable Class MobileBroadbandRadioStateChangeTriggerDetails Implements IMobileBroadbandRadioStateChangeTriggerDetails// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
When a background task is triggered by a radio state change notification, the IBackgroundTaskInstance.TriggerDetails property returns an instance of this class with information specific to the triggered notification.
The operating system extends battery life by suspending applications that are not in the foreground. If your application must handle new radio state change notifications even while suspended, you must create a background work item to handle the messages. When a new radio state change notification arrives, the background work item will be activated. The MobileBroadbandRadioStateChangeTriggerDetails class provides the details of the event to your background work item code.
Properties
RadioStateChanges RadioStateChanges RadioStateChanges RadioStateChanges
Gets the collection of radio state change details associated with a notification.
Note
This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators.
If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.
public : IVectorView<MobileBroadbandRadioStateChange> RadioStateChanges { get; }public IReadOnlyList<MobileBroadbandRadioStateChange> RadioStateChanges { get; }Public ReadOnly Property RadioStateChanges As IReadOnlyList<MobileBroadbandRadioStateChange>// You can use this property in JavaScript.
- Value
- IVectorView<MobileBroadbandRadioStateChange> IReadOnlyList<MobileBroadbandRadioStateChange> IReadOnlyList<MobileBroadbandRadioStateChange> IReadOnlyList<MobileBroadbandRadioStateChange>
A list of radio stat change details.