blob: 35600f5b2ac2d6c5001efd81f4f3827f71f37555 (
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
|
// SDLButtonCapabilities.h
//
#import "SDLRPCMessage.h"
#import "SDLButtonName.h"
/**
* Provides information about the capabilities of a SDL HMI button.
*
* @since SDL 1.0
*/
NS_ASSUME_NONNULL_BEGIN
@interface SDLButtonCapabilities : SDLRPCStruct
/**
* The name of the SDL HMI button.
Required
*/
@property (strong, nonatomic) SDLButtonName name;
/**
* A NSNumber value indicates whether the button supports a SHORT press
*
* Required, Boolean
*/
@property (strong, nonatomic) NSNumber<SDLBool> *shortPressAvailable;
/**
* A NSNumber value indicates whether the button supports a LONG press
*
* Required, Boolean
*/
@property (strong, nonatomic) NSNumber<SDLBool> *longPressAvailable;
/**
* A NSNumber value indicates whether the button supports "button down" and "button up"
*
* Required, Boolean
*/
@property (strong, nonatomic) NSNumber<SDLBool> *upDownAvailable;
@end
NS_ASSUME_NONNULL_END
|