Class: SetBrightnessAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- SetBrightnessAction
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetBrightnessAction
constructor
A new instance of SetBrightnessAction.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetBrightnessAction
Returns a new instance of SetBrightnessAction.
2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 |
# File 'lib/ruby-macrodroid.rb', line 2336 def initialize(h={}) = { brightness_percent: 81, force_pie_mode: false, brightness: 0 } super(.merge h) end |