Class: SiriSetRequestOrigin

Inherits:
SiriObject show all
Defined in:
lib/siri_objects.rb

Instance Attribute Summary

Attributes inherited from SiriObject

#group, #klass, #properties

Instance Method Summary collapse

Methods inherited from SiriObject

#make_root, #to_hash

Constructor Details

#initialize(longitude = -122.030089795589,, latitude = 37.3317031860352, desiredAccuracy = "HundredMeters", altitude = 0.0, speed = 1.0, direction = 1.0, age = 0, horizontalAccuracy = 50.0, verticalAccuracy = 10.0) ⇒ SiriSetRequestOrigin

Returns a new instance of SiriSetRequestOrigin.



307
308
309
310
311
312
313
314
315
316
317
318
# File 'lib/siri_objects.rb', line 307

def initialize(longitude=-122.030089795589, latitude=37.3317031860352, desiredAccuracy="HundredMeters", altitude=0.0, speed=1.0, direction=1.0, age=0, horizontalAccuracy=50.0, verticalAccuracy=10.0)
  super("SetRequestOrigin", "com.apple.ace.system")
  self.horizontalAccuracy = horizontalAccuracy
  self.latitude = latitude
  self.desiredAccuracy = desiredAccuracy
  self.altitude = altitude
  self.speed = speed
  self.longitude = longitude
  self.verticalAccuracy = verticalAccuracy
  self.direction = direction
  self.age = age
end