NetworkOperatorNotificationEventDetails
NetworkOperatorNotificationEventDetails
NetworkOperatorNotificationEventDetails
NetworkOperatorNotificationEventDetails
NetworkOperatorNotificationEventDetails
Class
Definition
Provides details for a network operator notification.
Note
This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.
public : sealed class NetworkOperatorNotificationEventDetails : INetworkOperatorNotificationEventDetails, INetworkOperatorTetheringEntitlementCheck
struct winrt::Windows::Networking::NetworkOperators::NetworkOperatorNotificationEventDetails : INetworkOperatorNotificationEventDetails, INetworkOperatorTetheringEntitlementCheck
public sealed class NetworkOperatorNotificationEventDetails : INetworkOperatorNotificationEventDetails, INetworkOperatorTetheringEntitlementCheck
Public NotInheritable Class NetworkOperatorNotificationEventDetails Implements INetworkOperatorNotificationEventDetails, INetworkOperatorTetheringEntitlementCheck
// This class does not provide a public constructor.
- Attributes
Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
|
API contract |
Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract (introduced v1)
|
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 EncodingType EncodingType EncodingType EncodingType |
Gets the data-coding scheme (DCS) of the received message. Note This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations. |
Message Message Message Message Message |
Gets the message for the network operator notification. Note This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations. |
NetworkAccountId NetworkAccountId NetworkAccountId NetworkAccountId NetworkAccountId |
Gets a unique identifier for the mobile broadband account that received the notification. Note This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations. |
NotificationType NotificationType NotificationType NotificationType NotificationType |
Gets the type of the network notification. Note This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations. |
RuleId RuleId RuleId RuleId RuleId |
Gets the identifier of the provisioned rule that matched and triggered the notification. Note This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations. |
SmsMessage SmsMessage SmsMessage SmsMessage SmsMessage |
Gets an SMS message for the mobile broadband account that received the notification. Note This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations. |
Methods
AuthorizeTethering(Boolean, String) AuthorizeTethering(Boolean, String) AuthorizeTethering(Boolean, String) AuthorizeTethering(Boolean, String) AuthorizeTethering(Boolean, String) |
Used to indicate if tethering is permitted for a device. If it is not, a reason can be provided. |