class Place::EdgeDemo
- Place::EdgeDemo
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::InputSelection(Place::EdgeDemo::Input)
- PlaceOS::Driver::Interface::Muteable
- PlaceOS::Driver::Interface::Powerable
Defined in:
place/edge_demo.crInstance Method Summary
-
#mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
When implementing muteable, these should be the preferred defaults
- #on_load
- #power(state : Bool)
- #power? : Bool
- #received(data, task)
-
#switch_to(input : Input)
Switches all outputs to the requested input Special case
switch_to 0
should mute all the outputs, if supported - #volume(value : Int32)
Instance Method Detail
def mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
#
Description copied from module PlaceOS::Driver::Interface::Muteable
When implementing muteable, these should be the preferred defaults
Description copied from module PlaceOS::Driver::Interface::InputSelection(Place::EdgeDemo::Input)
Switches all outputs to the requested input
Special case switch_to 0
should mute all the outputs, if supported