Class: AutoRotateChangeTrigger

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

Overview

Category: Device Events

Instance Attribute Summary

Attributes inherited from Trigger

#constraints

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ AutoRotateChangeTrigger

Returns a new instance of AutoRotateChangeTrigger.



1925
1926
1927
1928
1929
1930
1931
1932
1933
# File 'lib/ruby-macrodroid.rb', line 1925

def initialize(h={})

  options = {
    option: 0
  }

  super(options.merge h)

end