ESTDeviceGeoLocation

@interface ESTDeviceGeoLocation : ESTBaseVO

This Value Object represents physical location of the device.

  • Location GPS latitude.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSNumber *latitude;

    Swift

    var latitude: NSNumber? { get }
  • Location GPS longitude.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSNumber *longitude;

    Swift

    var longitude: NSNumber? { get }
  • Location address country.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *country;

    Swift

    var country: String? { get }
  • Location address zip code.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *zipCode;

    Swift

    var zipCode: String? { get }
  • Location address state.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *state;

    Swift

    var state: String? { get }
  • Location address state code.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *stateCode;

    Swift

    var stateCode: String? { get }
  • Location address city.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *city;

    Swift

    var city: String? { get }
  • Locations address street name.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *streetName;

    Swift

    var streetName: String? { get }
  • Location address street number. Can contain letters.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *streetNumber;

    Swift

    var streetNumber: String? { get }
  • Human readable full address string.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *formattedAddress;

    Swift

    var formattedAddress: String? { get }
  • Location accuracy.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSNumber *accuracy;

    Swift

    var accuracy: NSNumber? { get }
  • Location timezone.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *timezone;

    Swift

    var timezone: String? { get }
  • Designated initializer. Use it to create new Geo Location in Cloud.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLatitude:(nonnull NSNumber *)latitude
                                   longitude:(nonnull NSNumber *)longitude;

    Swift

    init(latitude: NSNumber, longitude: NSNumber)

    Parameters

    latitude

    Latitude degrees number.

    longitude

    Longitude degrees number.

    Return Value

    Initialized object.