blob: b589f949270ef3ddc1b5b58855737fc853c03604 (
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
|
// SDLPerformInteractionResponse.h
//
#import "SDLRPCResponse.h"
@class SDLTriggerSource;
/**
* PerformInteraction Response is sent, when SDLPerformInteraction has been called
*
* @since SDL 1.0
*/
@interface SDLPerformInteractionResponse : SDLRPCResponse {
}
/**
* @abstract Constructs a new SDLPerformInteractionResponse object
*/
- (instancetype)init;
/**
* @abstract Constructs a new SDLPerformInteractionResponse object indicated by the dictionary parameter
* @param dict The dictionary to use
*/
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;
/**
* @abstract ID of the choice that was selected in response to PerformInteraction.
*
* @discussion Only is valid if general result is "success:true".
*
* Optional, Integer, 0 - 2,000,000,000
*/
@property (strong) NSNumber *choiceID;
/**
* @abstract Manually entered text selection, e.g. through keyboard
*
* @discussion Can be returned in lieu of choiceID, depending on trigger source
*
* Optional, Max length 500 chars
*/
@property (strong) NSString *manualTextEntry;
/**
* @abstract A *SDLTriggerSource* object which will be shown in the HMI
*
* @discussion Only is valid if resultCode is SUCCESS.
*/
@property (strong) SDLTriggerSource *triggerSource;
@end
|