summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLButtonCapabilities.h
blob: f734162399df042f7e3288053cf5ca47a46ce724 (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
//  SDLButtonCapabilities.h
//

#import "SDLRPCMessage.h"

#import "SDLButtonName.h"


/**
 * Provides information about the capabilities of a SDL HMI button.
 * 
 * @since SDL 1.0
 */
@interface SDLButtonCapabilities : SDLRPCStruct

/**
 * @abstract The name of the SDL HMI button.
 */
@property (strong) SDLButtonName name;

/**
 * @abstract A NSNumber value indicates whether the button supports a SHORT press
 *
 * Required, Boolean
 */
@property (strong) NSNumber<SDLBool> *shortPressAvailable;

/**
 * @abstract A NSNumber value indicates whether the button supports a LONG press
 *
 * Required, Boolean
 */
@property (strong) NSNumber<SDLBool> *longPressAvailable;

/**
 * @abstract A NSNumber value indicates whether the button supports "button down" and "button up"
 *
 * Required, Boolean
 */
@property (strong) NSNumber<SDLBool> *upDownAvailable;

@end