Class: BatterySaverStateConstraint

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

Overview

Category: Battery/Power

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #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.



4044
4045
4046
4047
4048
4049
4050
4051
4052
# File 'lib/ruby-macrodroid.rb', line 4044

def initialize(h={})

  options = {
    option: 0
  }

  super(options.merge h)

end