Jaa


NetworkOperatorNotificationEventDetails Class

Definition

Provides details for a network operator 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 NetworkOperatorNotificationEventDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NetworkOperatorNotificationEventDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NetworkOperatorNotificationEventDetails
Public NotInheritable Class NetworkOperatorNotificationEventDetails
Inheritance
Object Platform::Object IInspectable NetworkOperatorNotificationEventDetails
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract (introduced in v1.0)
App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

The operating system extends battery life by suspending applications that are not in the foreground. If your application must handle new custom network operator messages even while suspended, you must create a background work item to handle the messages. When a new operator message arrives, the background work item will be activated. The NetworkOperatorNotificationEventDetails class provides the details of the event to your background work item code.

Properties

EncodingType

Gets the data-coding scheme (DCS) of the received message.

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.

Message

Gets the message for the network operator 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.

NetworkAccountId

Gets a unique identifier for the mobile broadband account that received the 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.

NotificationType

Gets the type of the network 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.

RuleId

Gets the identifier of the provisioned rule that matched and triggered the 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.

SmsMessage

Gets an SMS message for the mobile broadband account that received the 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.

Methods

AuthorizeTethering(Boolean, String)

Used to indicate if tethering is permitted for a device. If it is not, a reason can be provided.

Applies to