class Lg::Displays::Ls5
- Lg::Displays::Ls5
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::InputSelection(Lg::Displays::Ls5::Input)
- PlaceOS::Driver::Interface::Muteable
- PlaceOS::Driver::Interface::Powerable
Defined in:
lg/displays/ls5.crConstant Summary
-
DELIMITER =
120_u8
Class Method Summary
Instance Method Summary
- #aspect_ratio(ratio : Ratio)
- #aspect_ratio?(priority : Int32 = 0)
- #auto_off(state : Bool = false)
- #auto_off?(priority : Int32 = 0)
- #brightness(value : Float64 | Int32)
- #brightness?(priority : Int32 = 0)
- #connected
- #contrast(value : Float64 | Int32)
- #contrast?(priority : Int32 = 0)
- #disconnected
- #do_poll
- #hard_off
- #input?(priority : Int32 = 0)
-
#local_button_lock(state : Bool = true)
0 = Off, 1 = lock all except Power buttons, 2 = lock all buttons.
- #local_button_lock?(priority : Int32 = 0)
-
#mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
When implementing muteable, these should be the preferred defaults
- #no_signal_off(state : Bool = false)
- #no_signal_off?(priority : Int32 = 0)
- #on_load
- #on_update
- #pm_mode(mode : Int32 = 3)
- #pm_mode?(priority : Int32 = 0)
- #power(state : Bool, broadcast : String | Nil = nil)
- #power?(priority : Int32 = 0)
- #received(data, task)
- #screen_mute?(priority : Int32 = 0)
- #sharpness(value : Float64 | Int32)
- #sharpness?(priority : Int32 = 0)
- #switch_to(input : Input, **options)
- #volume(value : Float64 | Int32)
- #volume?(priority : Int32 = 0)
- #volume_mute?(priority : Int32 = 0)
- #wake(broadcast : String | Nil = nil)
- #wake_on_lan(state : Bool = true)
- #wake_on_lan?(priority : Int32 = 0)
Class Method Detail
Instance Method Detail
def local_button_lock(state : Bool = true)
#
0 = Off, 1 = lock all except Power buttons, 2 = lock all buttons. Default to 2 as power off from local button results in network offline
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