module PlaceOS::Driver::Interface::Muteable

Included Modules

Defined in:

placeos-driver/interface/muteable.cr

Instance Method Summary

Instance methods inherited from module PlaceOS::Driver::Interface::VideoMuteable

mute_video(state : Bool = true, index : Int32 | String = 0) mute_video, unmute_video(index : Int32 | String = 0) unmute_video

Instance methods inherited from module PlaceOS::Driver::Interface::AudioMuteable

mute_audio(state : Bool = true, index : Int32 | String = 0) mute_audio, unmute_audio(index : Int32 | String = 0) unmute_audio

Instance Method Detail

abstract def mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo) #

When implementing muteable, these should be the preferred defaults


[View source]
def mute_audio(state : Bool = true, index : Int32 | String = 0) #

[View source]
def mute_video(state : Bool = true, index : Int32 | String = 0) #

[View source]
def unmute(index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo) #

[View source]