Class: SetBrightnessAction
- Inherits:
-
ScreenAction
- Object
- MacroObject
- Action
- ScreenAction
- SetBrightnessAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Screen
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetBrightnessAction
constructor
A new instance of SetBrightnessAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetBrightnessAction
Returns a new instance of SetBrightnessAction.
3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 |
# File 'lib/ruby-macrodroid.rb', line 3109 def initialize(h={}) = { brightness_percent: 81, force_pie_mode: false, brightness: 0 } super(.merge h) end |