SystemMediaTransportControlsDisplayUpdater class

Applies to Windows and Windows Phone

Provides functionality to update the music information that is displayed on the SystemMediaTransportControls.

Syntax


public ref class SystemMediaTransportControlsDisplayUpdater sealed 

Attributes

[MarshalingBehavior(Agile)]
[Muse()]
[Threading(Both)]
[Version(0x06030000)]

Members

The SystemMediaTransportControlsDisplayUpdater class has these types of members:

Methods

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

MethodDescription
ClearAll Clears out all of the media metadata.
CopyFromFileAsync Initialize the media properties using the specified file.
Update Updates the metadata for the currently playing media.

 

Properties

The SystemMediaTransportControlsDisplayUpdater class has these properties.

PropertyAccess typeDescription

AppMediaId

Read/writeGets or sets the media id of the app.

ImageProperties

Read-onlyGets the image properties associated with the currently playing media.

MusicProperties

Read-onlyGets the music properties associated with the currently playing media.

Thumbnail

Read/writeGets or sets thumbnail image associated with the currently playing media.

Type

Read/writeGets or sets the type of media.

VideoProperties

Read-onlyGets the video properties associated with the currently playing media.

 

Remarks

It is the responsibility of the app to inform the SystemMediaTransportControls about the current media so that information can be properly presented to system clients. Use the SystemMediaTransportControls.DisplayUpdater to update the media metadata.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft