summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTextFieldName.h
blob: 8fc4c9defb6779a77205f21e349f7569691fd162 (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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
//  SDLTextFieldName.h
//


#import "SDLEnum.h"

/**
 * Names of the text fields that can appear on a SDL display.
 *
 * @since SDL 1.0
 */
@interface SDLTextFieldName : SDLEnum {
}

/**
 * Convert String to SDLTextFieldName
 *
 * @param value String value to retrieve the object for
 *
 * @return SDLTextFieldName
 */
+ (SDLTextFieldName *)valueOf:(NSString *)value;

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

/**
 * @abstract The first line of the first set of main fields of the persistent display. Applies to SDLShow.
 *
 * @return a SDLTextFieldName with value of *mainField1*
 */
+ (SDLTextFieldName *)mainField1;

/**
 * @abstract The second line of the first set of main fields of the persistent display. Applies to SDLShow.
 *
 * @return a SDLTextFieldName with value of *mainField2*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)mainField2;

/**
 * @abstract The first line of the second set of main fields of the persistent display. Applies to SDLShow.
 *
 * @return a SDLTextFieldName with value of *mainField3*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)mainField3;

/**
 * @abstract The second line of the second set of main fields of the persistent display. Applies to SDLShow.
 *
 * @return a SDLTextFieldName with value of *mainField4*
 */
+ (SDLTextFieldName *)mainField4;

/**
 * @abstract The status bar on the NGN display. Applies to SDLShow.
 *
 * @return a SDLTextFieldName with value of *statusBar*
 */
+ (SDLTextFieldName *)statusBar;

/**
 * @abstract Text value for MediaClock field. Must be properly formatted according to MediaClockFormat. Applies to SDLShow.
 *
 * @discussion This field is commonly used to show elapsed or remaining time in an audio track or audio capture.
 *
 * @return a SDLTextFieldName with value of *mediaClock*
 */
+ (SDLTextFieldName *)mediaClock;

/**
 * @abstract The track field of NGN type ACMs. This field is only available for media applications on a NGN display. Applies to SDLShow.
 *
 * @discussion This field is commonly used to show the current track number
 *
 * @return a SDLTextFieldName with value of *mediaTrack*
 */
+ (SDLTextFieldName *)mediaTrack;

/**
 * @abstract The first line of the alert text field. Applies to SDLAlert.
 *
 * @return a SDLTextFieldName with value of *alertText1*
 */
+ (SDLTextFieldName *)alertText1;

/**
 * @abstract The second line of the alert text field. Applies to SDLAlert.
 *
 * @return a SDLTextFieldName with value of *alertText2*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)alertText2;

/**
 * @abstract The third line of the alert text field. Applies to SDLAlert.
 *
 * @return a SDLTextFieldName with value of *alertText3*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)alertText3;

/**
 * @abstract Long form body of text that can include newlines and tabs. Applies to SDLScrollableMessage.
 *
 * @return a SDLTextFieldName with value of *scrollableMessageBody*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)scrollableMessageBody;

/**
 * @abstract First line suggestion for a user response (in the case of VR enabled interaction).
 *
 * @return a SDLTextFieldName with value of *initialInteractionText*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)initialInteractionText;

/**
 * @abstract First line of navigation text.
 *
 * @return a SDLTextFieldName with value of *navigationText1*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)navigationText1;

/**
 * @abstract Second line of navigation text.
 *
 * @return a SDLTextFieldName with value of *navigationText2*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)navigationText2;

/**
 * @abstract Estimated Time of Arrival time for navigation.
 *
 * @return a SDLTextFieldName with value of *ETA*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)ETA;

/**
 * @abstract Total distance to destination for navigation.
 *
 * @return a SDLTextFieldName with value of *totalDistance*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)totalDistance;

/**
 * @abstract First line of text for audio pass thru.
 *
 * @return a SDLTextFieldName with value of *audioPassThruDisplayText1*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)audioPassThruDisplayText1;

/**
 * @abstract Second line of text for audio pass thru.
 *
 * @return a SDLTextFieldName with value of *audioPassThruDisplayText2*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)audioPassThruDisplayText2;

/**
 * @abstract Header text for slider.
 *
 * @return a SDLTextFieldName with value of *sliderHeader*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)sliderHeader;

/**
 * @abstract Footer text for slider
 *
 * @return a SDLTextFieldName with value of *sliderFooter*
 *
 * @since SDL 2.0
 */
+ (SDLTextFieldName *)sliderFooter;

/**
 * Primary text for SDLChoice
 *
 * @return a SDLTextFieldName with value of *menuName*
 */
+ (SDLTextFieldName *)menuName;

/**
 * Secondary text for SDLChoice
 *
 * @return a SDLTextFieldName with value of *secondaryText*
 */
+ (SDLTextFieldName *)secondaryText;

/**
 * Tertiary text for SDLChoice
 *
 * @return a SDLTextFieldName with value of *tertiaryText*
 */
+ (SDLTextFieldName *)tertiaryText;

/**
 * Optional text to label an app menu button (for certain touchscreen platforms)
 *
 * @return a SDLTextFieldName with value of *menuTitle*
 */
+ (SDLTextFieldName *)menuTitle;

/**
 * Optional name / title of intended location for SDLSendLocation
 *
 * @return a SDLTextFieldName with value of *locationName*
 *
 * @since SDL 4.0
 */
+ (SDLTextFieldName *)locationName;

/**
 * Optional description of intended location / establishment (if applicable) for SDLSendLocation
 *
 * @return a SDLTextFieldName with value of *locationDescription*
 *
 * @since SDL 4.0
 */
+ (SDLTextFieldName *)locationDescription;

/**
 * Optional location address (if applicable) for SDLSendLocation
 *
 * @return a SDLTextFieldName with value of *addressLines*
 *
 * @since SDL 4.0
 */
+ (SDLTextFieldName *)addressLines;

/**
 * Optional hone number of intended location / establishment (if applicable) for SDLSendLocation
 *
 * @return a SDLTextFieldName with value of *phoneNumber*
 *
 * @since SDL 4.0
 */
+ (SDLTextFieldName *)phoneNumber;

@end