GlobalSystemMediaTransportControlsSessionMediaProperties Class

Definition

Holds information about the content that the current session has.

public ref class GlobalSystemMediaTransportControlsSessionMediaProperties sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GlobalSystemMediaTransportControlsSessionMediaProperties final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GlobalSystemMediaTransportControlsSessionMediaProperties
Public NotInheritable Class GlobalSystemMediaTransportControlsSessionMediaProperties
Inheritance
Object Platform::Object IInspectable GlobalSystemMediaTransportControlsSessionMediaProperties
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)
App capabilities
globalMediaControl

Properties

AlbumArtist

Gets the album's artist

AlbumTitle

Gets the title of the album.

AlbumTrackCount

Gets the total number of tracks on the album.

Artist

Gets the Artist's name.

Genres

Gets the list of genres.

PlaybackType

The playback type of the content

Subtitle

Gets the subtitle.

Thumbnail

A reference to a RandomAccessStream of the thumbnail image associated with this content.

Title

Gets the title.

TrackNumber

The number associated with this track

Applies to