Class: AutoRotateChangeTrigger

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

Overview

Category: Device Events

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ AutoRotateChangeTrigger

Returns a new instance of AutoRotateChangeTrigger.



1313
1314
1315
1316
1317
1318
1319
1320
1321
# File 'lib/ruby-macrodroid.rb', line 1313

def initialize(h={})

  options = {
    option: 0
  }

  super(options.merge h)

end