Class: GPSEnabledTrigger

Inherits:
DeviceEventsTrigger 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, #to_s

Constructor Details

#initialize(h = {}) ⇒ GPSEnabledTrigger

Returns a new instance of GPSEnabledTrigger.



1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'lib/ruby-macrodroid.rb', line 1685

def initialize(h={})

  options = {
    gps_mode_enabled: true
  }

  super(options.merge h)

end