Release 4.0.0-preview1-00249
[platform/core/csapi/tizenfx.git] / src / Tizen.System.Information / RuntimeInfo / Enumerations.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.System
18 {
19     /// <summary>
20     /// Enumeration for the runtime information key.
21     /// </summary>
22     internal enum RuntimeInfoKey
23     {
24         /// <summary>
25         /// Indicates whether Bluetooth is enabled.
26         /// </summary>
27         Bluetooth = 2,
28         /// <summary>
29         /// Indicates whether Wi-Fi hotspot is enabled.
30         /// </summary>
31         WifiHotspot = 3,
32         /// <summary>
33         /// Indicates whether Bluetooth tethering is enabled.
34         /// </summary>
35         BluetoothTethering = 4,
36         /// <summary>
37         /// Indicates whether USB tethering is enabled.
38         /// </summary>
39         UsbTethering = 5,
40         /// <summary>
41         /// Indicates whether packet data through 3G network is enabled.
42         /// </summary>
43         PacketData = 9,
44         /// <summary>
45         /// Indicates whether data roaming is enabled.
46         /// </summary>
47         DataRoaming = 10,
48         /// <summary>
49         /// Indicates whether vibration is enabled.
50         /// </summary>
51         Vibration = 12,
52         /// <summary>
53         /// Indicates whether audio jack is connected.
54         /// </summary>
55         AudioJack = 17,
56         /// <summary>
57         /// Indicates the current status of GPS.
58         /// <see cref="GpsStatus"/>
59         /// </summary>
60         Gps = 18,
61         /// <summary>
62         /// Indicates whether the battery is currently charging.
63         /// </summary>
64         BatteryIsCharging = 19,
65         /// <summary>
66         /// Indicates whether TV out is connected.
67         /// </summary>
68         TvOut = 20,
69         /// <summary>
70         /// Indicates change in the audio jack connector type.
71         /// <see cref="AudioJackConnectionType"/>
72         /// </summary>
73         AudioJackConnector = 21,
74         /// <summary>
75         /// Indicates whether the charger is connected.
76         /// </summary>
77         Charger = 24,
78         /// <summary>
79         /// Indicates whether auto rotation is enabled.
80         /// </summary>
81         AutoRotation = 26
82     }
83
84     /// <summary>
85     /// Enumeration for the GPS status.
86     /// </summary>
87     public enum GpsStatus
88     {
89         /// <summary>
90         /// The GPS is disabled.
91         /// </summary>
92         Disabled,
93         /// <summary>
94         /// The GPS is searching for satellites.
95         /// </summary>
96         Searching,
97         /// <summary>
98         /// The GPS connection is established.
99         /// </summary>
100         Connected
101     }
102
103     /// <summary>
104     /// Enumeration for the type of audio jack connected.
105     /// </summary>
106     public enum AudioJackConnectionType
107     {
108         /// <summary>
109         /// The audio jack is not connected.
110         /// </summary>
111         Unconnected,
112         /// <summary>
113         /// The 3-conductor wire is connected.
114         /// </summary>
115         ThreeWireConnected,
116         /// <summary>
117         /// The 4-conductor wire is connected.
118         /// </summary>
119         FourWireConnected
120     }
121 }