class Place::Demo::Display
- Place::Demo::Display
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::InputSelection(Place::Demo::Display::Input)
- PlaceOS::Driver::Interface::Muteable
- PlaceOS::Driver::Interface::Powerable
Defined in:
place/demo/display.crClass Method Summary
Instance Method Summary
-
#mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
There seems to only be audio mute available
- #power(state : Bool)
- #power?(**options)
-
#switch_to(input : Input)
Switches all outputs to the requested input Special case
switch_to 0
should mute all the outputs, if supported - #test_setting(key : String, payload : JSON::Any)
- #volume(level : Int32 | Float64)
- #volume? : Float64
Class Method Detail
Instance Method Detail
def mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
#
There seems to only be audio mute available
Description copied from module PlaceOS::Driver::Interface::InputSelection(Place::Demo::Display::Input)
Switches all outputs to the requested input
Special case switch_to 0
should mute all the outputs, if supported