Location
public class Location
The Device.Location class describing the location of a device.
-
Build a new
Locationinstance.Declaration
Swift
public init(latitude: Float, longitude: Float, altitude: Float?, uncertainty: Float?) -
Gets the latitude in decimal degrees.
Declaration
Swift
public func getLatitude() -> FloatReturn Value
the latitude
-
Gets the longitude in decimal degrees.
Declaration
Swift
public func getLongitude() -> FloatReturn Value
the longitude
-
Gets the altitude in meters.
Declaration
Swift
public func getAltitude() -> Float?Return Value
the altitude
-
Gets the uncertainty in meters.
Declaration
Swift
public func getUncertainty() -> Float?Return Value
the uncertainty
Location Class Reference