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