MediaMetadataInit Class

The initial values of a MediaMetadata (https://w3c.github.io/mediasession/#dictdef-mediametadatainit).

public sealed class MediaMetadataInit

Constructors

NameDescription
MediaMetadataInit()

MediaMetadataInit()

MediaSession.cs
public MediaMetadataInit()

No documentation is available.

Properties

NameDescription
AlbumGets the album of the media.
ArtistGets the artist of the media.
ArtworkGets the images of the artwork of the media.
ChapterInfoGets the chapters of the media.
TitleGets the title of the media.

Gets the album of the media.

public string Album { get; init; }

Gets the artist of the media.

public string Artist { get; init; }

Gets the images of the artwork of the media.

public IReadOnlyList<MediaImage> Artwork { get; init; }

ChapterInfo

MediaSession.cs

Gets the title of the media.

public string Title { get; init; }