UALocationInfo

@interface UALocationInfo : NSObject

Model object for location information.

  • The latitude.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double latitude;

    Swift

    var latitude: Double { get }
  • The longitude.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double longitude;

    Swift

    var longitude: Double { get }
  • The horizontal accuracy.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double horizontalAccuracy;

    Swift

    var horizontalAccuracy: Double { get }
  • The vertical accuracy.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double verticalAccuracy;

    Swift

    var verticalAccuracy: Double { get }
  • UALocationEvent class factory method.

    Declaration

    Objective-C

    + (nonnull instancetype)infoWithLatitude:(double)latitude
                                   longitude:(double)longitude
                          horizontalAccuracy:(double)horizontalAccuracy
                            verticalAccuracy:(double)verticalAccuracy;

    Swift

    convenience init(latitude: Double, longitude: Double, horizontalAccuracy: Double, verticalAccuracy: Double)

    Parameters

    latitude

    The latitude.

    longitude

    The longitude.

    horizontalAccuracy

    The horizontal accuracy.

    verticalAccuracy

    The vertical accuracy.