class Place::EdgeDemo

Included Modules

Defined in:

place/edge_demo.cr

Instance Method Summary

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


[View source]
def on_load #

[View source]
def power(state : Bool) #

[View source]
def power? : Bool #

[View source]
def received(data, task) #

[View source]
def switch_to(input : Input) #
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


[View source]
def volume(value : Int32) #

[View source]