enum

Matter::Cluster::Definitions::MediaPlayback::StatusCode

Inherits Enum < Comparable < Value < Object

Constants

Success = 0_u8

Command succeeded

InvalidStateForCommand = 1_u8

Command failed: Requested playback command is invalid in the current playback state.

NotAllowed = 2_u8

Command failed: Requested playback command is not allowed in the current playback state. For example, attempting to fast-forward during a commercial might return NotAllowed.

NotActive = 3_u8

Command failed: This endpoint is not active for playback.

SpeedOutOfRange = 4_u8

Command failed: The FastForward or Rewind Command was issued but the media is already playing back at the fastest speed supported by the server in the respective direction.

SeekOutOfRange = 5_u8

Command failed: The Seek Command was issued with a value of position outside of the allowed seek range of the media.

Instance methods

invalid_state_for_command?

Returns true if this enum value equals InvalidStateForCommand

Source
not_active?

Returns true if this enum value equals NotActive

Source
not_allowed?

Returns true if this enum value equals NotAllowed

Source
seek_out_of_range?

Returns true if this enum value equals SeekOutOfRange

Source
speed_out_of_range?

Returns true if this enum value equals SpeedOutOfRange

Source
success?

Returns true if this enum value equals Success

Source