blob: caa0ea0f4628bc77c90d24cadb1ab4902683d975 (
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
|
// SDLVRHelpItem.h
//
#import "SDLRPCMessage.h"
@class SDLImage;
NS_ASSUME_NONNULL_BEGIN
/**
A help item for voice commands, used locally in interaction lists and globally
*/
@interface SDLVRHelpItem : SDLRPCStruct
- (instancetype)initWithText:(NSString *)text image:(nullable SDLImage *)image;
- (instancetype)initWithText:(NSString *)text image:(nullable SDLImage *)image position:(UInt8)position;
/**
Text to display for VR Help item
Required
*/
@property (strong, nonatomic) NSString *text;
/**
Image for VR Help item
Optional
*/
@property (strong, nonatomic, nullable) SDLImage *image;
/**
Position to display item in VR Help list
Required
*/
@property (strong, nonatomic) NSNumber<SDLInt> *position;
@end
NS_ASSUME_NONNULL_END
|