MediaMetadataInit Class
The initial values of a MediaMetadata (https://w3c.github.io/mediasession/#dictdef-mediametadatainit).
public sealed class MediaMetadataInitConstructors
| Name | Description |
|---|---|
| MediaMetadataInit() |
MediaMetadataInit()
MediaSession.cspublic MediaMetadataInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Album | Gets the album of the media. |
| Artist | Gets the artist of the media. |
| Artwork | Gets the images of the artwork of the media. |
| ChapterInfo | Gets the chapters of the media. |
| Title | Gets the title of the media. |
Album
MediaSession.csGets the album of the media.
public string Album { get; init; }Artist
MediaSession.csGets the artist of the media.
public string Artist { get; init; }Artwork
MediaSession.csGets the images of the artwork of the media.
public IReadOnlyList<MediaImage> Artwork { get; init; }ChapterInfo
MediaSession.csGets the chapters of the media.
public IReadOnlyList<ChapterInformationInit> ChapterInfo { get; init; }Title
MediaSession.csGets the title of the media.
public string Title { get; init; }