Class: FlipDeviceTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ FlipDeviceTrigger

Returns a new instance of FlipDeviceTrigger.



1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
# File 'lib/ruby-macrodroid.rb', line 1241

def initialize(h={})

  options = {
    any_start: false,
    face_down: true,
    work_with_screen_off: false
  }

  super(options.merge h)

end