Release 4.0.0-preview1-00201
[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.ComponentModel;
18
19 namespace Tizen.System
20 {
21     [EditorBrowsable(EditorBrowsableState.Never)]
22     /// <summary>
23     /// Enumeration for the runtime information key.
24     /// </summary>
25     internal enum RuntimeInfoKey
26     {
27         /// <summary>
28         /// Indicates whether Bluetooth is enabled.
29         /// </summary>
30         Bluetooth = 2,
31         /// <summary>
32         /// Indicates whether Wi-Fi hotspot is enabled.
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 GPS status.
89     /// </summary>
90     public enum GpsStatus
91     {
92         /// <summary>
93         /// The GPS is disabled.
94         /// </summary>
95         Disabled,
96         /// <summary>
97         /// The GPS is searching for satellites.
98         /// </summary>
99         Searching,
100         /// <summary>
101         /// The GPS connection is established.
102         /// </summary>
103         Connected
104     }
105
106     /// <summary>
107     /// Enumeration for the type of audio jack connected.
108     /// </summary>
109     public enum AudioJackConnectionType
110     {
111         /// <summary>
112         /// The audio jack is not connected.
113         /// </summary>
114         Unconnected,
115         /// <summary>
116         /// The 3-conductor wire is connected.
117         /// </summary>
118         ThreeWireConnected,
119         /// <summary>
120         /// The 4-conductor wire is connected.
121         /// </summary>
122         FourWireConnected
123     }
124 }