MoEngageGeoLocation

@objc
public class MoEngageGeoLocation : NSObject

Class responsible to create location instance

  • Latitude of the location

    Declaration

    Swift

    @objc
    public var latitude: Double
  • Longitude of the location

    Declaration

    Swift

    @objc
    public var longitude: Double

Initialization

  • Initialize method to create an instance of MoEngageGeoLocation

    Declaration

    Swift

    @objc
    public init(withLatitude lat: Double, andLongitude lng: Double)

    Parameters

    lat

    Latitude of the location

    lng

    Longitude of the location