Class: Rapid::Baps::Responses::Handlers::State

Inherits:
PlayerHandler show all
Defined in:
lib/ury_rapid/baps/responses/handlers/playback.rb

Overview

Handler for BAPS2 channel state changes

Constant Summary collapse

CODES_TO_STATES =
{
  Codes::Playback::PLAY  => :playing,
  Codes::Playback::PAUSE => :paused,
  Codes::Playback::STOP  => :stopped
}

Method Summary

Methods inherited from PlayerHandler

#run

Methods inherited from Services::Responses::Handler

#initialize, #kill_if_exists

Methods inherited from Services::Handler

def_targets, #initialize, register_into, #targets, targets?, use_poster

Constructor Details

This class inherits a constructor from Rapid::Services::Responses::Handler