Share via


MediaMetadata Class

Definition

Gets the metadata associated with the accessory notification instance.

public ref class MediaMetadata sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class MediaMetadata final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class MediaMetadata
Public NotInheritable Class MediaMetadata
Inheritance
Object Platform::Object IInspectable MediaMetadata
Attributes

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

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Properties

Album

Gets the name of the album.

Artist

Gets the name of the artist.

Duration

Gets the duration of the media.

Subtitle

Gets the subtitle of the media.

Thumbnail

Gets the thumbnail of the media.

Title

Gets the title of the media.

Track

Gets the media track.

Applies to