Compartir a través de


Media Transport Controls

[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.]

Purpose

Windows provides a built-in interface that shows the user information about the currently playing media such as the title of a song or video. It also provides the user with a common and familiar way to control media playback. Windows Runtime apps can integrate with the system media transport controls with the SystemMediaTransportControls class. Windows desktop applications can integrate with the system media transport controls by using the ISystemMediaTransportControls interface.

In this section

Topic Description
IImageDisplayProperties
Provides properties for image information that is displayed by ISystemMediaTransportControlsDisplayUpdater.
IMusicDisplayProperties
Provides properties for music information that is displayed by ISystemMediaTransportControlsDisplayUpdater.
ISystemMediaTransportControls
Represents an object that enables integrate with the system media transport controls and support for media commands.
ISystemMediaTransportControlsButtonPressedEventArgs
Provides data for the ButtonPressed event.
ISystemMediaTransportControlsDisplayUpdater
Provides functionality to update the media metadata that is displayed on the ISystemMediaTransportControls.
ISystemMediaTransportControlsInterop
Allows an app to get an instance of the ISystemMediaTransportControls interface.
ISystemMediaTransportControlsPropertyChangedEventArgs
Provides data for the PropertyChanged event.
IVideoDisplayProperties
Provides properties for video information that is displayed by ISystemMediaTransportControlsDisplayUpdater.

Developer audience

Media Transport Controls is designed for use by...