blob: f0cd7dcf595bc4bb48f3ad7e638918d84427d852 (
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
|
// SDLTurn.h
//
#import "SDLRPCMessage.h"
@class SDLImage;
NS_ASSUME_NONNULL_BEGIN
/**
A struct used in UpdateTurnList for Turn-by-Turn navigation applications
*/
@interface SDLTurn : SDLRPCStruct
- (instancetype)initWithNavigationText:(nullable NSString *)navigationText turnIcon:(nullable SDLImage *)icon;
/**
Individual turn text. Must provide at least text or icon for a given turn
*/
@property (strong, nonatomic, nullable) NSString *navigationText;
/**
Individual turn icon. Must provide at least text or icon for a given turn
*/
@property (strong, nonatomic, nullable) SDLImage *turnIcon;
@end
NS_ASSUME_NONNULL_END
|