Class: SetLocationUpdateRateAction

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

Overview

Category: Location

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SetLocationUpdateRateAction

Returns a new instance of SetLocationUpdateRateAction.



2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
# File 'lib/ruby-macrodroid.rb', line 2965

def initialize(h={})

  options = {
    update_rate: 0,
    update_rate_seconds: 600
  }

  super(options.merge h)

end