summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLMediaClockFormat.h
blob: 91b03334711818ac266cf428f979cae2b3d2c3d5 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
//  SDLMediaClockFormat.h
//


#import "SDLEnum.h"

/**
 * Indicates the format of the time displayed on the connected SDL unit.
 *
 * Format description follows the following nomenclature: <br>
 * Sp = Space <br>
 * | = or <br>
 * c = character <br>
 *
 * @since SDL 1.0
 */
typedef SDLEnum SDLMediaClockFormat SDL_SWIFT_ENUM;

/**
 * @abstract Media clock format: Clock1
 *
 * @discussion
 * <ul>
 * <li>maxHours = 19</li>
 * <li>maxMinutes = 59</li>
 * <li>maxSeconds = 59</li>
 * </ul>
 */
extern SDLMediaClockFormat const SDLMediaClockFormatClock1;

/**
 * @abstract Media clock format: Clock2
 *
 * @discussion
 * <ul>
 * <li>maxHours = 59</li>
 * <li>maxMinutes = 59</li>
 * <li>maxSeconds = 59</li>
 * </ul>
 */
extern SDLMediaClockFormat const SDLMediaClockFormatClock2;

/**
 * @abstract Media clock format: Clock3
 *
 * @discussion
 * <ul>
 * <li>maxHours = 9</li>
 * <li>maxMinutes = 59</li>
 * <li>maxSeconds = 59</li>
 * </ul>
 *
 * @since SDL 2.0
 */
extern SDLMediaClockFormat const SDLMediaClockFormatClock3;

/**
 * @abstract Media clock format: ClockText1
 *
 * @discussion
 * <ul>
 * <li>5 characters possible</li>
 * <li>Format: 1|sp c :|sp c c</li>
 * <li>1|sp : digit "1" or space</li>
 * <li>c : character out of following character set: sp|0-9|[letters, see
 * TypeII column in XLS.</li>
 * <li>:|sp : colon or space</li>
 * <li>used for Type II headunit</li>
 * </ul>
 */
extern SDLMediaClockFormat const SDLMediaClockFormatClockText1;

/**
 * @abstract Media clock format: ClockText2
 *
 * @discussion
 * <ul>
 * <li>5 characters possible</li>
 * <li>Format: 1|sp c :|sp c c</li>
 * <li>1|sp : digit "1" or space</li>
 * <li>c : character out of following character set: sp|0-9|[letters, see
 * CID column in XLS.</li>
 * <li>:|sp : colon or space</li>
 * <li>used for CID headunit</li>
 * </ul>
 * difference between CLOCKTEXT1 and CLOCKTEXT2 is the supported character
 * set
 */
extern SDLMediaClockFormat const SDLMediaClockFormatClockText2;

/**
 * @abstract Media clock format: ClockText3
 *
 * @discussion
 * <ul>
 * <li>6 chars possible</li>
 * <li>Format: 1|sp c c :|sp c c</li>
 * <li>1|sp : digit "1" or space</li>
 * <li>c : character out of following character set: sp|0-9|[letters, see
 * Type 5 column in XLS].</li>
 * <li>:|sp : colon or space</li>
 * <li>used for Type V headunit</li>
 * </ul>
 * difference between CLOCKTEXT1 and CLOCKTEXT2 is the supported character
 * set
 */
extern SDLMediaClockFormat const SDLMediaClockFormatClockText3;

/**
 * @abstract Media clock format: ClockText4
 *
 * @discussion
 * <ul>
 * <li>6 chars possible</li>
 * <li>Format:      c   :|sp   c   c   :   c   c</li>
 * <li>:|sp : colon or space</li>
 * <li>c    : character out of following character set: sp|0-9|[letters]</li>
 * <li>used for MFD3/4/5 headunits</li>
 * </ul>
 *
 * @since SDL 2.0
 */
extern SDLMediaClockFormat const SDLMediaClockFormatClockText4;