MobileBroadbandNetworkRegistrationStateChangeTriggerDetails
MobileBroadbandNetworkRegistrationStateChangeTriggerDetails
MobileBroadbandNetworkRegistrationStateChangeTriggerDetails
MobileBroadbandNetworkRegistrationStateChangeTriggerDetails
Class
Definition
Provides details for a network registration 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 MobileBroadbandNetworkRegistrationStateChangeTriggerDetails : IMobileBroadbandNetworkRegistrationStateChangeTriggerDetailspublic sealed class MobileBroadbandNetworkRegistrationStateChangeTriggerDetails : IMobileBroadbandNetworkRegistrationStateChangeTriggerDetailsPublic NotInheritable Class MobileBroadbandNetworkRegistrationStateChangeTriggerDetails Implements IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails// 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 mobile network registration 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 network registration state change notifications even while suspended, you must create a background work item to handle the messages. When a new network registration state change notification arrives, the background work item will be activated. The MobileBroadbandNetworkRegistrationStateChangeTriggerDetails class provides the details of the event to your background work item code.
Properties
NetworkRegistrationStateChanges NetworkRegistrationStateChanges NetworkRegistrationStateChanges NetworkRegistrationStateChanges
Gets the collection of network registration state changes associated with this 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<MobileBroadbandNetworkRegistrationStateChange> NetworkRegistrationStateChanges { get; }public IReadOnlyList<MobileBroadbandNetworkRegistrationStateChange> NetworkRegistrationStateChanges { get; }Public ReadOnly Property NetworkRegistrationStateChanges As IReadOnlyList<MobileBroadbandNetworkRegistrationStateChange>// You can use this property in JavaScript.
- Value
- IVectorView<MobileBroadbandNetworkRegistrationStateChange> IReadOnlyList<MobileBroadbandNetworkRegistrationStateChange> IReadOnlyList<MobileBroadbandNetworkRegistrationStateChange> IReadOnlyList<MobileBroadbandNetworkRegistrationStateChange>
A list of registration state changes.