Class: SetLocationUpdateRateAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SetLocationUpdateRateAction

Returns a new instance of SetLocationUpdateRateAction.



1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
# File 'lib/ruby-macrodroid.rb', line 1922

def initialize(h={})

  options = {
    update_rate: 0,
    update_rate_seconds: 600
  }

  super(options.merge h)

end