summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLLocationDetails.h
blob: 349a582652dc860e9ab4e817a57f06da5b9d5d27 (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//  SDLLocationDetails.h
//

#import "SDLRPCStruct.h"

@class SDLLocationCoordinate;
@class SDLImage;
@class SDLOasisAddress;

@interface SDLLocationDetails : SDLRPCStruct

/**
 * @abstract Latitude/Longitude of the location
 *
 * @see SDLLocationCoordinate
 *
 * Optional
 */
@property (strong, nonatomic) SDLLocationCoordinate *coordinate;

/**
 * @abstract Name of location.
 *
 * Optional, Max length 500 chars
 */
@property (copy, nonatomic) NSString *locationName;

/**
 * @abstract Location address for display purposes only.
 *
 * Optional, Array of Strings, Array length 0 - 4, Max String length 500
 */
@property (copy, nonatomic) NSArray<NSString *> *addressLines;

/**
 * @abstract Description intended location / establishment.
 *
 * Optional, Max length 500 chars
 */
@property (copy, nonatomic) NSString *locationDescription;

/**
 * @abstract Phone number of location / establishment.
 *
 * Optional, Max length 500 chars
 */
@property (copy, nonatomic) NSString *phoneNumber;

/**
 * @abstract Image / icon of intended location.
 *
 * @see SDLImage
 *
 * Optional
 */
@property (strong, nonatomic) SDLImage *locationImage;

/**
 * @abstract Address to be used by navigation engines for search.
 *
 * @see SDLOASISAddress
 *
 * Optional
 */
@property (strong) SDLOasisAddress *searchAddress;


@end