Windows.Phone.Notification.Management Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides members that allow accessories to interact with the phone.
Classes
AccessoryManager |
Provides methods for registering and enabling notifications and other utilities for accessory devices like active phone covers, smart watches, or fitness bands. |
AlarmNotificationTriggerDetails |
Represents all information necessary to render an alarm notification on an accessory. |
AppNotificationInfo |
Represents the name and identifier of an app. |
BinaryId |
Represents a binary identifier. |
CalendarChangedNotificationTriggerDetails |
Represents all information necessary to render a calendar changed notification on an accessory. |
CortanaTileNotificationTriggerDetails |
Represents all information necessary to render a Cortana live tile update notification on an accessory. |
EmailAccountInfo |
Represents the display name of the email account and whether notifications are enabled on the account. |
EmailFolderInfo |
Represents the display name of the email folder and whether notifications are enabled on the folder. |
EmailNotificationTriggerDetails |
Represents all information necessary to render an email notification on an accessory. |
EmailReadNotificationTriggerDetails |
Represents all information necessary to render an email read notification on an accessory. |
MediaControlsTriggerDetails |
Represents all data needed to render a notification indicating that media playback status on the phone has changed. |
MediaMetadata |
Gets the metadata associated with the accessory notification instance. |
PhoneCallDetails |
Provides read-only access to details about a phone call. |
PhoneLineDetails |
Represents the details of a phone line. |
PhoneNotificationTriggerDetails |
Represents all information necessary to render a phone notification on an accessory. |
ReminderNotificationTriggerDetails |
Represents all information necessary to render a reminder notification on an accessory. |
SpeedDialEntry |
Represents an entry in a speed dial list. |
TextResponse |
Gets an object that contains a unique identifier and a string text response that is preset on the phone. These messages can be optionally sent when the user rejects a phone call on the accessory. These objects are sent as part of the PhoneNotificationTriggerDetails and are always up-to-date as of the phone call. |
ToastNotificationTriggerDetails |
Represents all information necessary to render a toast notification on an accessory. |
VolumeInfo |
Represents the state of the phone volume. |
Interfaces
IAccessoryNotificationTriggerDetails |
Represents a collection of accessory notification data. |
Enums
AccessoryNotificationType |
Represents the types of notifications that are raised on the phone. The IAccessoryNotificationTriggerDetails are available to the IBackgroundTask.Run method which is executed upon triggering by the AccessoryManager. Inside the IAccessoryNotificationTriggerDetails is an INotification object. The BackgroundTask developer needs to investigate this interface to determine what the specific notification type is. IAccessoryNotificationTriggerDetails.AccessoryNotificationType contains a value from a AccessoryNotificationType enumeration, listed below. With knowledge of the type of notification, the BackgroundTask developer can use the more specific interfaces to gather information about the notification. The values are bit flags. You can OR the enum values together to indicate which notification types to be alerted for. |
CalendarChangedEvent |
Represents the type of calendar event. |
PhoneCallAudioEndpoint |
Represents the end point of the phone call, including values for default, speaker, and hands-free. |
PhoneCallDirection |
Represents the direction of the phone call. |
PhoneCallState |
Represents the state of the phone call, for instance ringing or on hold. |
PhoneCallTransport |
Represents the type of transport, cellular or VoIP. |
PhoneLineRegistrationState |
Represents the state of registration for the phone line, disconnected, home, or roaming. |
PhoneMediaType |
Represents the type of media on the phone line, audio-only or audio and video. |
PhoneNotificationType |
Represents the type of notification sent to the accessory application. |
PlaybackCapability |
Represents the type of media playback capability. |
PlaybackCommand |
Represents the media playback command to execute. |
PlaybackStatus |
Represents the status of the media playback. |
ReminderState |
Represents the state of the reminder, active, snoozed, or dismissed. |
VibrateState |
Represents the state of the phone vibrate mode and ringer. |
Remarks
Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.