Class: GPSEnabledTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ GPSEnabledTrigger

Returns a new instance of GPSEnabledTrigger.



961
962
963
964
965
966
967
968
969
# File 'lib/ruby-macrodroid.rb', line 961

def initialize(h={})

  options = {
    gps_mode_enabled: true
  }

  super(options.merge h)

end