Class: BatterySaverStateConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- BatterySaverStateConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Battery/Power
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ BatterySaverStateConstraint
constructor
A new instance of BatterySaverStateConstraint.
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ BatterySaverStateConstraint
Returns a new instance of BatterySaverStateConstraint.
4184 4185 4186 4187 4188 4189 4190 4191 4192 |
# File 'lib/ruby-macrodroid.rb', line 4184 def initialize(h={}) = { option: 0 } super(.merge h) end |