Release 4.0.0-preview1-00051
[platform/core/csapi/tizenfx.git] / src / Tizen.Tapi / Tizen.Tapi / ModemEnumerations.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 phone power status values.
21     /// </summary>
22     public enum PhonePowerStatus
23     {
24         /// <summary>
25         /// Unknown.
26         /// </summary>
27         Unknown = -1,
28         /// <summary>
29         /// Power on.
30         /// </summary>
31         On,
32         /// <summary>
33         /// Power off.
34         /// </summary>
35         Off,
36         /// <summary>
37         /// Power reset.
38         /// </summary>
39         Reset,
40         /// <summary>
41         /// Power low.
42         /// </summary>
43         Low,
44         /// <summary>
45         /// Error.
46         /// </summary>
47         Error
48     }
49
50     /// <summary>
51     /// Enumeration for the phone power reset commands.
52     /// </summary>
53     public enum PhonePowerCommand
54     {
55         /// <summary>
56         /// On.
57         /// </summary>
58         On = 0,
59         /// <summary>
60         /// Off.
61         /// </summary>
62         Off,
63         /// <summary>
64         /// Reset.
65         /// </summary>
66         Reset,
67         /// <summary>
68         /// Low value.
69         /// </summary>
70         Low,
71         /// <summary>
72         /// Max value.
73         /// </summary>
74         Max = Low
75     }
76
77     /// <summary>
78     /// Enumeration for flight mode request type.
79     /// </summary>
80     public enum PowerFlightModeRequest
81     {
82         /// <summary>
83         /// Off.
84         /// </summary>
85         Enter = 0x01,
86         /// <summary>
87         /// On.
88         /// </summary>
89         Leave,
90         /// <summary>
91         /// Max value.
92         /// </summary>
93         Max
94     }
95
96     /// <summary>
97     /// Enumeration for flight mode request type.
98     /// </summary>
99     public enum PowerFlightModeResponse
100     {
101         /// <summary>
102         /// Flight mode on success.
103         /// </summary>
104         On = 0x01,
105         /// <summary>
106         /// Flight mode off success.
107         /// </summary>
108         Off,
109         /// <summary>
110         /// Flight mode request fail.
111         /// </summary>
112         Fail,
113         /// <summary>
114         /// Max value.
115         /// </summary>
116         Max
117     }
118 }