Class: SiriSetRequestOrigin
- Inherits:
-
SiriObject
- Object
- SiriObject
- SiriSetRequestOrigin
- Defined in:
- lib/siri_objects.rb
Instance Attribute Summary
Attributes inherited from SiriObject
Instance Method Summary collapse
-
#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
constructor
A new instance of SiriSetRequestOrigin.
Methods inherited from SiriObject
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 |