ESTDeviceGeoLocation

@interface ESTDeviceGeoLocation : ESTBaseVO

This Value Object represents physical location of the device.

  • Location GPS latitude.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, 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.