Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetworkOperatorNotificationEventDetails class

Provides details for a network operator notification.

Note  

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

For permission to use this API, please reach out to Network Operators API Permissions.

For technical help with this API, please reach out to Network Operators API Help

 

Syntax


Public NotInheritable Class NetworkOperatorNotificationEventDetails

Members

The NetworkOperatorNotificationEventDetails class has these types of members:

Methods

The NetworkOperatorNotificationEventDetails class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

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

 

Properties

The NetworkOperatorNotificationEventDetails class has these properties.

PropertyAccess typeDescription

EncodingType

Read-only

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

Message

Read-only

Gets the message for the network operator notification.

NetworkAccountId

Read-only

Gets a unique identifier for the mobile broadband account that received the notification.

NotificationType

Read-only

Gets the type of the network notification.

RuleId

Read-only

Gets the identifier of the provisioned rule that matched and triggered the notification.

SmsMessage

Read-only

Gets an SMS message for the mobile broadband account that received the notification.

 

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.

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0

API contract

Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract, introduced version 1.0

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Object

 

 

Show: