class Sony::Displays::Bravia
- Sony::Displays::Bravia
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::InputSelection(Sony::Displays::Bravia::Input)
- PlaceOS::Driver::Interface::Muteable
- PlaceOS::Driver::Interface::Powerable
Defined in:
sony/displays/bravia.crConstant Summary
-
COMMANDS =
{ir_code: "IRCC", power: "POWR", volume: "VOLU", audio_mute: "AMUT", mute: "PMUT", channel: "CHNN", tv_input: "ISRC", input: "INPT", toggle_mute: "TPMU", pip: "PIPI", toggle_pip: "TPIP", position_pip: "TPPP", broadcast_address: "BADR", mac_address: "MADR"}
Class Method Summary
Instance Method Summary
- #audio_mute?
- #connected
- #disconnected
- #do_poll
- #input?
-
#mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
When implementing muteable, these should be the preferred defaults
- #mute?
- #mute_audio(state : Bool = true)
- #on_load
- #power(state : Bool)
- #power?
- #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 - #unmute
- #unmute_audio
- #volume(level : Int32 | Float64)
- #volume?
- #volume_down
- #volume_up
Class Method Detail
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(Sony::Displays::Bravia::Input)
Switches all outputs to the requested input
Special case switch_to 0
should mute all the outputs, if supported