MediaItemDisplayProperties MediaItemDisplayProperties MediaItemDisplayProperties MediaItemDisplayProperties MediaItemDisplayProperties Class

Definition

Defines a set of metadata for a MediaPlaybackItem that is displayed in the System Media Transport Controls while the item is playing.

public : sealed class MediaItemDisplayProperties
struct winrt::Windows::Media::Playback::MediaItemDisplayProperties
public sealed class MediaItemDisplayProperties
Public NotInheritable Class MediaItemDisplayProperties
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Get an instance of the MediaItemDisplayProperties class by calling GetDisplayProperties on an initialized MediaPlaybackItem object. Update the display properties for the playback item by setting the properties of the retrieved MediaItemDisplayProperties object and then calling ApplyDisplayProperties.

For how-to guidance for integrating with the SMTC, see Integrate with the System Media Transport Controls.

Properties

MusicProperties MusicProperties MusicProperties MusicProperties MusicProperties

Gets the metadata for a music item that will be displayed by the System Media Transport Controls when the item is played.

Thumbnail Thumbnail Thumbnail Thumbnail Thumbnail

Gets or sets the thumbnail image for a MediaPlaybackItem that will be displayed by the System Media Transport Controls when the item is played.

Type Type Type Type Type

Gets or sets a value indicating the type of media that is represented by the MediaPlaybackItem, such as audio or video.

VideoProperties VideoProperties VideoProperties VideoProperties VideoProperties

Gets the metadata for a video item that will be displayed by the System Media Transport Controls when the item is played.

Methods

ClearAll() ClearAll() ClearAll() ClearAll() ClearAll()

Clears the values of all media item display properties.

See also