summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTriggerSource.h
blob: 36e646f17cdd99822b6cd480262d61e6f831e885 (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
//  SDLTriggerSource.h
//


#import "SDLEnum.h"

/**
 * Indicates whether choice/command was selected via VR or via a menu selection (using SEEKRIGHT/SEEKLEFT, TUNEUP, TUNEDOWN, OK buttons)
 *
 * @since SDL 1.0
 */
@interface SDLTriggerSource : SDLEnum {
}

/**
 * Convert String to SDLTriggerSource
 * @param value The value of the string to get an object for
 * @return SDLTriggerSource
 */
+ (SDLTriggerSource *)valueOf:(NSString *)value;

/**
 @abstract Store the enumeration of all possible SDLTriggerSource
 @return an array that store all possible SDLTriggerSource
 */
+ (NSArray *)values;

/**
 * @abstract Selection made via menu
 * @return SDLTriggerSource with value of *MENU*
 */
+ (SDLTriggerSource *)MENU;

/**
 * @abstract Selection made via Voice session
 * @return SDLTriggerSource with value of *VR*
 */
+ (SDLTriggerSource *)VR;

/**
 * @abstract Selection made via Keyboard
 * @return SDLTriggerSource with value of *KEYBOARD*
 */
+ (SDLTriggerSource *)KEYBOARD;

@end