Class: SetLocationUpdateRateAction

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

Overview

Category: Location

Instance Attribute Summary

Attributes inherited from Action

#constraints

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.



3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
# File 'lib/ruby-macrodroid.rb', line 3209

def initialize(h={})

  options = {
    update_rate: 0,
    update_rate_seconds: 600
  }

  super(options.merge h)

end