Class JukeboxState
An immutable snapshot of a jukebox's current native state.
public sealed class JukeboxState
- Inheritance
-
JukeboxState
- Inherited Members
- Extension Methods
Properties
CurrentTrack
Gets the current track, or null when the native jukebox has no current track.
public JukeboxTrack? CurrentTrack { get; }
Property Value
CurrentTrackOrderIndex
Gets the current position in the native playback queue.
public int CurrentTrackOrderIndex { get; }
Property Value
CurrentTrackTime
Gets the elapsed time of the current track in seconds.
public float CurrentTrackTime { get; }
Property Value
IsPlaying
Gets whether the jukebox is playing.
public bool IsPlaying { get; }
Property Value
NormalizedVolume
Gets the native volume normalized by the game's maximum volume.
public float NormalizedVolume { get; }
Property Value
RepeatMode
Gets the native repeat mode.
public JukeboxRepeatMode RepeatMode { get; }
Property Value
Shuffle
Gets whether the native playback queue is shuffled.
public bool Shuffle { get; }
Property Value
Sync
Gets whether the jukebox synchronizes with other native jukeboxes.
public bool Sync { get; }
Property Value
Volume
Gets the current native volume value.
public int Volume { get; }