Class: AutoRotateConstraint

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

Overview

Category: Device State

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ AutoRotateConstraint

Returns a new instance of AutoRotateConstraint.



3499
3500
3501
3502
3503
3504
3505
3506
3507
# File 'lib/ruby-macrodroid.rb', line 3499

def initialize(h={})

  options = {
    enabled: true
  }

  super(options.merge h)

end