Class: ScreenOnAction
- Inherits:
-
ScreenAction
- Object
- MacroObject
- Action
- ScreenAction
- ScreenOnAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Screen
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ScreenOnAction
constructor
A new instance of ScreenOnAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ScreenOnAction
Returns a new instance of ScreenOnAction.
3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 |
# File 'lib/ruby-macrodroid.rb', line 3902 def initialize(h={}) = { pie_lock_screen: false, screen_off: true, screen_off_no_lock: false, screen_on_alternative: false } super(.merge h) end |