MobileBroadbandDeviceServiceTriggerDetails
MobileBroadbandDeviceServiceTriggerDetails
MobileBroadbandDeviceServiceTriggerDetails
MobileBroadbandDeviceServiceTriggerDetails
Class
Definition
Provides details for a network device service 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 MobileBroadbandDeviceServiceTriggerDetails : IMobileBroadbandDeviceServiceTriggerDetailspublic sealed class MobileBroadbandDeviceServiceTriggerDetails : IMobileBroadbandDeviceServiceTriggerDetailsPublic NotInheritable Class MobileBroadbandDeviceServiceTriggerDetails Implements IMobileBroadbandDeviceServiceTriggerDetails// 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 network device service notifications even while suspended, you must create a background work item to handle the messages. When a new device service notification arrives, the background work item will be activated. The MobileBroadbandDeviceServiceTriggerDetails class provides the details of the event to your background work item code.
Properties
DeviceId DeviceId DeviceId DeviceId
Gets the device ID of the device that triggered a broadband device service event.
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 : PlatForm::String DeviceId { get; }public string DeviceId { get; }Public ReadOnly Property DeviceId As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The unique device identifier for the triggering event.
DeviceServiceId DeviceServiceId DeviceServiceId DeviceServiceId
Gets the device service identifier for the device service trigger event.
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 : PlatForm::Guid DeviceServiceId { get; }public Guid DeviceServiceId { get; }Public ReadOnly Property DeviceServiceId As Guid// You can use this property in JavaScript.
- Value
- PlatForm::Guid Guid Guid Guid
The unique device service identifier for the triggering event.
ReceivedData ReceivedData ReceivedData ReceivedData
Gets the received data associated with the triggered event.
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 : IBuffer ReceivedData { get; }public IBuffer ReceivedData { get; }Public ReadOnly Property ReceivedData As IBuffer// You can use this property in JavaScript.