Class: OrientationTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ OrientationTrigger

Returns a new instance of OrientationTrigger.



1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
# File 'lib/ruby-macrodroid.rb', line 1257

def initialize(h={})

  options = {
    check_orientation_alive: true,
    option: 0
  }

  super(options.merge h)

end