Class: OpenHAB::Core::Types::PlayPauseType
- Inherits:
-
Object
- Object
- OpenHAB::Core::Types::PlayPauseType
- Defined in:
- lib/openhab/core/types/play_pause_type.rb
Overview
Constant Summary collapse
- PLAY =
Play Command/Playing State
- PAUSE =
Pause Command/Paused State
Instance Method Summary collapse
-
#paused? ⇒ true, false
(also: #pause?)
Check if
self == PAUSE
. -
#playing? ⇒ true, false
(also: #play?)
Check if
self == PLAY
.
Methods included from Type
Instance Method Details
#paused? ⇒ true, false Also known as: pause?
Check if self == PAUSE
|
# File 'lib/openhab/core/types/play_pause_type.rb', line 25
|
#playing? ⇒ true, false Also known as: play?
Check if self == PLAY
|
# File 'lib/openhab/core/types/play_pause_type.rb', line 19
|