-
Notifications
You must be signed in to change notification settings - Fork 0
/
IPLocationResult.h
53 lines (42 loc) · 1.08 KB
/
IPLocationResult.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// IPLocationResult.h
// Antideo
//
// Created by Panayot Panayotov on 08/02/2017.
// Copyright © 2017 Antideo. All rights reserved.
//
#import "AAObject.h"
@interface IPLocationResult : AAObject
/*!
* @brief IP address for the location result
*/
@property(nonatomic, retain) NSString * _Nullable ip;
/*!
* @brief Latitude value from coordinates
*/
@property(nonatomic, retain) NSNumber * _Nullable latitude;
/*!
* @brief Longitude value from coordinates
*/
@property(nonatomic, retain) NSNumber * _Nullable longitude;
/*!
* @brief Accuracy level of provided geolocation
*/
@property(nonatomic, retain) NSNumber * _Nullable accuracy;
/*!
* @brief City of IP address
*/
@property(nonatomic, retain) NSString * _Nullable city;
/*!
* @brief Region of IP address
*/
@property(nonatomic, retain) NSString * _Nullable region;
/*!
* @brief Country of IP address
*/
@property(nonatomic, retain) NSString * _Nullable country;
/*!
* @brief Two letter ISO country code. Example: US (United States) or IE (Ireland)
*/
@property(nonatomic, retain) NSString * _Nullable countryCode;
@end