MobileBroadbandPinLockStateChangeTriggerDetails
MobileBroadbandPinLockStateChangeTriggerDetails
MobileBroadbandPinLockStateChangeTriggerDetails
MobileBroadbandPinLockStateChangeTriggerDetails
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 MobileBroadbandPinLockStateChangeTriggerDetails : IMobileBroadbandPinLockStateChangeTriggerDetailspublic sealed class MobileBroadbandPinLockStateChangeTriggerDetails : IMobileBroadbandPinLockStateChangeTriggerDetailsPublic NotInheritable Class MobileBroadbandPinLockStateChangeTriggerDetails Implements IMobileBroadbandPinLockStateChangeTriggerDetails// 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 device service 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 PIN lock state change notifications even while suspended, you must create a background work item to handle the messages. When a new PIN lock state change notification arrives, the background work item will be activated. The MobileBroadbandPinLockStateChangeTriggerDetails class provides the details of the event to your background work item code.
Properties
PinLockStateChanges PinLockStateChanges PinLockStateChanges PinLockStateChanges
Gets the collection of PIN lock state change details associated with a notification.
public : IVectorView<MobileBroadbandPinLockStateChange> PinLockStateChanges { get; }public IReadOnlyList<MobileBroadbandPinLockStateChange> PinLockStateChanges { get; }Public ReadOnly Property PinLockStateChanges As IReadOnlyList<MobileBroadbandPinLockStateChange>// You can use this property in JavaScript.
- Value
- IVectorView<MobileBroadbandPinLockStateChange> IReadOnlyList<MobileBroadbandPinLockStateChange> IReadOnlyList<MobileBroadbandPinLockStateChange> IReadOnlyList<MobileBroadbandPinLockStateChange>
A list of PIN lock state change details.