Geo
@available(*, deprecated, message: "This class will be removed with the next major release.")
@objc(THEOplayerGeo)
public class Geo : NSObject, Codable
An object that provides geographic location for SpotXData.
-
The latitude of the geographic location.
Declaration
Swift
@objc public var lat: Double -
The longitude of the geographic location.
Declaration
Swift
@objc public var lon: Double -
Construct a Geo object.
Declaration
Swift
@objc public init(lat: Double, lon: Double)Parameters
latThe latitude of the geographic location.
lonThe longitude of the geographic location.
Geo Class Reference