Share via


MobileBroadbandPinLockStateChangeTriggerDetails Class

Definition

Provides details for a network registration state change notification.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public ref class MobileBroadbandPinLockStateChangeTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MobileBroadbandPinLockStateChangeTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MobileBroadbandPinLockStateChangeTriggerDetails
Public NotInheritable Class MobileBroadbandPinLockStateChangeTriggerDetails
Inheritance
Object Platform::Object IInspectable MobileBroadbandPinLockStateChangeTriggerDetails
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
cellularDeviceControl cellularDeviceIdentity

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

Gets the collection of PIN lock state change details associated with a notification.

Applies to