Geo

@objc(THEOplayerGeo)
public class Geo : NSObject, Codable

An object that provides geographic location for SpotXData.

  • lat

    The latitude of the geographic location.

    Declaration

    Swift

    @objc
    public var lat: Double
  • lon

    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

    lat

    The latitude of the geographic location.

    lon

    The longitude of the geographic location.