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.



3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
# File 'lib/ruby-macrodroid.rb', line 3062

def initialize(h={})

  options = {
    update_rate: 0,
    update_rate_seconds: 600
  }

  super(options.merge h)

end