Class PlaylistInfo
The metadata of a loaded playlist.
public sealed record PlaylistInfo : IEquatable<PlaylistInfo>
- Inheritance
-
PlaylistInfo
- Implements
- Inherited Members
Properties
Name
The name of the playlist.
[JsonPropertyName("name")]
[JsonInclude]
public string Name { get; }
Property Value
SelectedTrack
Zero-based index of the selected track, or -1 when none is selected.
[JsonPropertyName("selectedTrack")]
[JsonInclude]
public int SelectedTrack { get; }
Property Value
Remarks
The index is whatever the server reported, no bounds against the playlist's track count are guaranteed, guard the upper bound before indexing with it.