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