enum Matter::Cluster::Definitions::MediaPlayback::PlaybackState

Defined in:

matter/cluster/definitions/media_playback.cr

Enum Members

Playing = 0_u8

Media is currently playing (includes FF and REW)

Paused = 1_u8

Media is currently paused

NotPlaying = 2_u8

Media is not currently playing

Buffering = 3_u8

Media is not currently buffering and playback will start when buffer has been filled

Instance Method Summary

Instance Method Detail

def buffering? #

Returns true if this enum value equals Buffering


[View source]
def not_playing? #

Returns true if this enum value equals NotPlaying


[View source]
def paused? #

Returns true if this enum value equals Paused


[View source]
def playing? #

Returns true if this enum value equals Playing


[View source]