MediaControlsTriggerDetails Class
Definition
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.
Represents all data needed to render a notification indicating that media playback status on the phone has changed.
public ref class MediaControlsTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class MediaControlsTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class MediaControlsTriggerDetails
Public NotInheritable Class MediaControlsTriggerDetails
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Phone.PhoneContract (introduced in v1.0)
|
App capabilities |
accessoryManager
|
Remarks
Trigger details contain only notification data. They do not contain any information about how the notification should be displayed.
Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.
Properties
AccessoryNotificationType |
Specifies the type of notification received. For media notifications, this value is AccessoryNotificationType.Media. |
AppDisplayName |
The display name of the app that generated the notification. |
AppId |
The instance ID of the app that generated the notification. |
MediaMetadata |
A MediaMetadata object that contains additional information about the media. |
PlaybackStatus |
The current playback status of the corresponding media. |
StartedProcessing |
Specifies whether the accessory has started processing the notification. |
TimeCreated |
The date and time at which the notification was created. |