[Tapi] Mark API Level as 4
[platform/core/csapi/tizenfx.git] / internal / src / Tizen.Tapi / Tizen.Tapi / SatEnumerations.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 namespace Tizen.Tapi
18 {
19     /// <summary>
20     /// Enumeration for the UI display status.
21     /// </summary>
22     /// <since_tizen> 4 </since_tizen>
23     public enum SatUiDisplayStatus
24     {
25         /// <summary>
26         /// Infoms about UI display success.
27         /// </summary>
28         Success = 0x00,
29         /// <summary>
30         /// Informs about UI display failure.
31         /// </summary>
32         Fail = 0x01
33     }
34
35     /// <summary>
36     /// Enumeration for the command qualifier values of the refresh command.
37     /// </summary>
38     /// <since_tizen> 4 </since_tizen>
39     public enum SatCmdQualiRefresh
40     {
41         /// <summary>
42         /// Command qualifier for Refresh SIM Init And Full File Change Notification.
43         /// </summary>
44         SimInitAndFullFcn = 0x00,
45         /// <summary>
46         /// Command qualifier for Refresh File Change Notification.
47         /// </summary>
48         Fcn = 0x01,
49         /// <summary>
50         /// Command qualifier for Refresh SIM Init And File Change Notification.
51         /// </summary>
52         SimInitAndFcn = 0x02,
53         /// <summary>
54         /// Command qualifier for Refresh Sim Init.
55         /// </summary>
56         SimInit = 0x03,
57         /// <summary>
58         /// Command qualifier for Refresh Sim Reset.
59         /// </summary>
60         SimReset = 0x04,
61         /// <summary>
62         /// Command qualifier for Refresh 3G Application Reset.
63         /// </summary>
64         ApplicationReset3G = 0x05,
65         /// <summary>
66         /// Command qualifier for Refresh 3G Session Reset.
67         /// </summary>
68         SessionReset = 0x06,
69         /// <summary>
70         /// Command qualifier for Refresh Reserved.
71         /// </summary>
72         Reserved = 0xFF
73     }
74
75     /// <summary>
76     /// Enumeration for the icon qualifier.
77     /// </summary>
78     /// <since_tizen> 4 </since_tizen>
79     public enum SatIconQualifierType
80     {
81         /// <summary>
82         /// Icon Quali Self Explanatory.
83         /// </summary>
84         SelfExplanatory = 0,
85         /// <summary>
86         /// Icon Quali Not Self Explanatory.
87         /// </summary>
88         NotSelfExplanatory = 1,
89         /// <summary>
90         /// Reserved.
91         /// </summary>
92         Reserved = 0xFF
93     }
94
95     /// <summary>
96     /// Enumeration for the SIM image coding scheme type.
97     /// </summary>
98     /// <since_tizen> 4 </since_tizen>
99     public enum SatImageCodingScheme
100     {
101         /// <summary>
102         /// Basic coding scheme.
103         /// </summary>
104         Basic = 0x11,
105         /// <summary>
106         /// Colour coding scheme.
107         /// </summary>
108         Colour = 0x21,
109         /// <summary>
110         /// Reserved.
111         /// </summary>
112         Reserved = 0xFF
113     }
114
115     /// <summary>
116     /// Enumeration for the inkey type.
117     /// </summary>
118     /// <since_tizen> 4 </since_tizen>
119     public enum SatInKeyType
120     {
121         /// <summary>
122         /// Command qualifier for Inkey type character set enabled.
123         /// </summary>
124         CharacterSetEnabled = 0,
125         /// <summary>
126         /// Command qualifier for Inkey type Yes No requested.
127         /// </summary>
128         YesNoRequested = 1
129     }
130
131     /// <summary>
132     /// Enumeration for the user input type.
133     /// </summary>
134     /// <since_tizen> 4 </since_tizen>
135     public enum SatInputAlphabetType
136     {
137         /// <summary>
138         /// SMS default.
139         /// </summary>
140         SmsDefault = 1,
141         /// <summary>
142         /// UCS2 alphabet type.
143         /// </summary>
144         Ucs2 = 2
145     }
146
147     /// <summary>
148     /// Enumeration for the refresh application type.
149     /// </summary>
150     /// <since_tizen> 4 </since_tizen>
151     public enum SatRefreshAppType
152     {
153         /// <summary>
154         /// Phonebook type.
155         /// </summary>
156         Contact = 0x00,
157         /// <summary>
158         /// SMS type.
159         /// </summary>
160         Msg,
161         /// <summary>
162         /// Other.
163         /// </summary>
164         Other,
165         /// <summary>
166         /// Maximum value.
167         /// </summary>
168         Max
169     }
170
171     /// <summary>
172     /// Enumeration for the SMS TPDU type.
173     /// </summary>
174     /// <since_tizen> 4 </since_tizen>
175     public enum SatSmsTpduType
176     {
177         /// <summary>
178         /// Deliver TPDU type.
179         /// </summary>
180         DeliverTpdu = 0,
181         /// <summary>
182         /// Deliver RPT type.
183         /// </summary>
184         DeliverRpt = 1,
185         /// <summary>
186         /// Submit TPDU type.
187         /// </summary>
188         SubmitTpdu = 2,
189         /// <summary>
190         /// Submit RPT type.
191         /// </summary>
192         SubmitRpt = 3,
193         /// <summary>
194         /// Status RPT type.
195         /// </summary>
196         StatusRpt = 4,
197         /// <summary>
198         /// TPDU CMD type.
199         /// </summary>
200         TpduCmd = 5
201     }
202
203     /// <summary>
204     /// Enumeration for the type of command and the next action indicator.
205     /// </summary>
206     /// <since_tizen> 4 </since_tizen>
207     public enum SatCommandType
208     {
209         /// <summary>
210         /// None.
211         /// </summary>
212         None = 0x00,
213         /// <summary>
214         /// Refresh.
215         /// </summary>
216         Refresh = 0x01,
217         /// <summary>
218         /// More time.
219         /// </summary>
220         MoreTime = 0x02,
221         /// <summary>
222         /// Setup event list.
223         /// </summary>
224         SetupEventList = 0x05,
225         /// <summary>
226         /// Setup call.
227         /// </summary>
228         SetupCall = 0x10,
229         /// <summary>
230         /// Send SS.
231         /// </summary>
232         SendSs = 0x11,
233         /// <summary>
234         /// Send USSD.
235         /// </summary>
236         SendUssd = 0x12,
237         /// <summary>
238         /// Send SMS.
239         /// </summary>
240         SendSms = 0x13,
241         /// <summary>
242         /// Send DTMF.
243         /// </summary>
244         SendDtmf = 0x14,
245         /// <summary>
246         /// Launch browser.
247         /// </summary>
248         LaunchBrowser = 0x15,
249         /// <summary>
250         /// Play tone.
251         /// </summary>
252         PlayTone = 0x20,
253         /// <summary>
254         /// Display text.
255         /// </summary>
256         DisplayText = 0x21,
257         /// <summary>
258         /// Get inkey.
259         /// </summary>
260         GetInKey = 0x22,
261         /// <summary>
262         /// Get input.
263         /// </summary>
264         GetInput = 0x23,
265         /// <summary>
266         /// Select item.
267         /// </summary>
268         SelectItem = 0x24,
269         /// <summary>
270         /// Setup menu.
271         /// </summary>
272         SetupMenu = 0x25,
273         /// <summary>
274         /// Provide local info.
275         /// </summary>
276         ProvideLocalInfo = 0x26,
277         /// <summary>
278         /// Setup idle mode text.
279         /// </summary>
280         SetupIdleModeText = 0x28,
281         /// <summary>
282         /// Language notification.
283         /// </summary>
284         LanguageNotification = 0x35,
285         /// <summary>
286         /// Open channel - class e.
287         /// </summary>
288         OpenChannel = 0x40,
289         /// <summary>
290         /// Close channel - class e.
291         /// </summary>
292         CloseChannel = 0x41,
293         /// <summary>
294         /// Receive data - class e.
295         /// </summary>
296         ReceiveData = 0x42,
297         /// <summary>
298         /// Send data.
299         /// </summary>
300         SendData = 0x43,
301         /// <summary>
302         /// Get channel status - class e.
303         /// </summary>
304         GetChannelStatus = 0x44,
305         /// <summary>
306         /// Inform to end the execution of a proactive command.
307         /// </summary>
308         EndOfAppExec = 0xFD,
309         /// <summary>
310         /// Inform end proactive session.
311         /// </summary>
312         EndProactiveSession = 0xFE,
313         /// <summary>
314         /// Reserved.
315         /// </summary>
316         Reserved = 0xFF
317     }
318
319     /// <summary>
320     /// Enumeration for the SAT call type.
321     /// </summary>
322     /// <since_tizen> 4 </since_tizen>
323     public enum SatCallType
324     {
325         /// <summary>
326         /// MO voice.
327         /// </summary>
328         MoVoice = 0x00,
329         /// <summary>
330         /// MO SMS.
331         /// </summary>
332         MoSms,
333         /// <summary>
334         /// SS.
335         /// </summary>
336         Ss,
337         /// <summary>
338         /// USSD.
339         /// </summary>
340         Ussd,
341         /// <summary>
342         /// PDP context action.
343         /// </summary>
344         PdpContextAct,
345         /// <summary>
346         /// Max.
347         /// </summary>
348         Max
349     }
350
351     /// <summary>
352     /// Enumeration for the result of call control by SIM.
353     /// </summary>
354     /// <since_tizen> 4 </since_tizen>
355     public enum SatCallCtrlResultType
356     {
357         /// <summary>
358         /// Allowed with no mod.
359         /// </summary>
360         AllowedNoMod = 0,
361         /// <summary>
362         /// Not allowed.
363         /// </summary>
364         NotAllowed = 1,
365         /// <summary>
366         /// Allowed with mod.
367         /// </summary>
368         AllowedWithMod = 2,
369         /// <summary>
370         /// Reserved.
371         /// </summary>
372         Reserved = 0xFF
373     }
374
375     /// <summary>
376     /// Enumeration for the SIM ATK BC repeat indicator type.
377     /// </summary>
378     /// <since_tizen> 4 </since_tizen>
379     public enum SatBcRepeatIndicatorType
380     {
381         /// <summary>
382         /// Alternate mode.
383         /// </summary>
384         AlternateMode = 0x01,
385         /// <summary>
386         /// Sequential mode.
387         /// </summary>
388         SequentialMode = 0x03,
389         /// <summary>
390         /// Reserved.
391         /// </summary>
392         Reserved = 0xFF
393     }
394
395     /// <summary>
396     /// Enumeration for alphabet format.
397     /// </summary>
398     /// <since_tizen> 4 </since_tizen>
399     public enum SatAlphabetFormat
400     {
401         /// <summary>
402         /// SMS default.
403         /// </summary>
404         SmsDefault = 0x00,
405         /// <summary>
406         /// 8Bit data.
407         /// </summary>
408         Data8Bit = 0x01,
409         /// <summary>
410         /// UCS2.
411         /// </summary>
412         Ucs2 = 0x02,
413         /// <summary>
414         /// Reserved.
415         /// </summary>
416         Reserved = 0x03
417     }
418
419     /// <summary>
420     /// Enumeration for the message class.
421     /// </summary>
422     /// <since_tizen> 4 </since_tizen>
423     public enum SatMsgClassType
424     {
425         /// <summary>
426         /// None.
427         /// </summary>
428         None = 0x00,
429         /// <summary>
430         /// Class 0.
431         /// </summary>
432         Class0 = 0x01,
433         /// <summary>
434         /// Class 1 Default meaning: ME - specific.
435         /// </summary>
436         Class1,
437         /// <summary>
438         /// Class 2 SIM specific message.
439         /// </summary>
440         Class2,
441         /// <summary>
442         /// Class 3 Default meaning : TE specific.
443         /// </summary>
444         Class3,
445         /// <summary>
446         /// Reserved.
447         /// </summary>
448         Reserved = 0xFF
449     }
450
451     /// <summary>
452     /// Enumeration for the command qualifier values of the setup call command.
453     /// </summary>
454     /// <since_tizen> 4 </since_tizen>
455     public enum SatCmdQualiSetupCall
456     {
457         /// <summary>
458         /// Command qualifier for setup call if another call is not busy.
459         /// </summary>
460         AnotherCallNotBusy = 0x00,
461         /// <summary>
462         /// Command qualifier for setup call if another call is not busy with redial.
463         /// </summary>
464         AnotherCallNotBusyWithRedial = 0x01,
465         /// <summary>
466         /// Command qualifier for setup call putting all other calls on hold.
467         /// </summary>
468         PutAllOtherCallsOnHold = 0x02,
469         /// <summary>
470         /// Command qualifier for setup call putting all other calls on hold with redial.
471         /// </summary>
472         PutAllOtherCallsOnHoldWithRedial = 0x03,
473         /// <summary>
474         /// Command qualifier for setup call disconnecting all other calls.
475         /// </summary>
476         DisconnectAllOtherCalls = 0x04,
477         /// <summary>
478         /// Command qualifier for setup call disconnecting all other calls with redial.
479         /// </summary>
480         DisconnectAllOtherCallsWithRedial = 0x05,
481         /// <summary>
482         /// Reserved.
483         /// </summary>
484         Reserved = 0xFF
485     }
486 }