Поделиться через


ISystemMediaTransportControlsDisplayUpdater interface

[The feature associated with this page, Media Transport Controls, is a legacy feature. It has been superseded by System Media Transport Controls. System Media Transport Controls has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use System Media Transport Controls instead of Media Transport Controls, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Provides functionality to update the media metadata that is displayed on the ISystemMediaTransportControls.

Members

The ISystemMediaTransportControlsDisplayUpdater interface inherits from IInspectable. ISystemMediaTransportControlsDisplayUpdater also has these types of members:

Methods

The ISystemMediaTransportControlsDisplayUpdater interface has these methods.

Method Description
ClearAll Clears all of the media metadata.
CopyFromFileAsync Initializes the media properties using the specified file. IRandomAccessStreamReference
get_AppMediaId Gets the media ID of the app.
get_ImageProperties Gets the image properties associated with the currently playing media.
get_MusicProperties Gets the music properties associated with the currently playing media.
get_Thumbnail Gets the thumbnail image associated with the currently playing media.
get_Type Gets the type of media currently playing.
get_VideoProperties Gets the video properties associated with the currently playing media.
put_AppMediaId Sets the media ID of the app.
put_Thumbnail Sets the thumbnail image associated with the currently playing media.
put_Type Sets the type of media currently playing.
Update Updates the currently displayed content.

Requirements

Header
Windows.media.h

See also

IInspectable