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



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

def initialize(h={})

  options = {
    update_rate: 0,
    update_rate_seconds: 600
  }

  super(options.merge h)

end