Class: BatterySaverStateConstraint

Inherits:
Constraint show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Battery/Power

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h, #to_s

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={})

  options = {
    option: 0
  }

  super(options.merge h)

end