Remove Feedback and Storage APIs
[platform/core/csapi/system.git] / Tizen.System / 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 keys for runtime information
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 the location service is allowed to use location data from GPS satellites.
45         /// </summary>
46         LocationService = 6,
47         /// <summary>
48         /// Indicates whether the location service is allowed to use location data from cellular and Wi-Fi.
49         /// </summary>
50         LocationNetworkPosition = 8,
51         /// <summary>
52         /// Indicates Whether the packet data through 3G network is enabled.
53         /// </summary>
54         PacketData = 9,
55         /// <summary>
56         /// Indicates whether data roaming is enabled.
57         /// </summary>
58         DataRoaming = 10,
59         /// <summary>
60         /// Indicates whether vibration is enabled.
61         /// </summary>
62         Vibration = 12,
63         /// <summary>
64         /// Indicates whether audio jack is connected.
65         /// </summary>
66         AudioJack = 17,
67         /// <summary>
68         /// Indicates the current status of GPS.
69         /// <see cref="GpsStatus"/>
70         /// </summary>
71         Gps = 18,
72         /// <summary>
73         /// Indicates the battery is currently charging.
74         /// </summary>
75         BatteryIsCharging = 19,
76         /// <summary>
77         /// Indicates whether TV out is connected.
78         /// </summary>
79         TvOut = 20,
80         /// <summary>
81         /// Indicates the change in audio jack connector type.
82         /// <see cref="AudioJackConnectionType"/>
83         /// </summary>
84         AudioJackConnector = 21,
85         /// <summary>
86         /// Indicates whether charger is connected.
87         /// </summary>
88         Charger = 24,
89         /// <summary>
90         /// Indicates whether auto rotation is enabled.
91         /// </summary>
92         AutoRotation = 26
93     }
94
95     /// <summary>
96     /// Enumeration for Wi-Fi status
97     /// </summary>
98     public enum WifiStatus
99     {
100         /// <summary>
101         /// Wi-Fi is disabled.
102         /// </summary>
103         Disabled,
104         /// <summary>
105         /// Wi-Fi is enabled and network connection is not established.
106         /// </summary>
107         Unconnected,
108         /// <summary>
109         ///  Network connection is established in Wi-Fi network.
110         /// </summary>
111         Connected
112     }
113
114     /// <summary>
115     /// Enumeration for GPS status.
116     /// </summary>
117     public enum GpsStatus
118     {
119         /// <summary>
120         /// GPS is disabled.
121         /// </summary>
122         Disabled,
123         /// <summary>
124         /// GPS is searching for satellites.
125         /// </summary>
126         Searching,
127         /// <summary>
128         /// GPS connection is established.
129         /// </summary>
130         Connected
131     }
132
133     /// <summary>
134     /// Enumeration for type of audio jack connected.
135     /// </summary>
136     public enum AudioJackConnectionType
137     {
138         /// <summary>
139         /// Audio jack is not connected
140         /// </summary>
141         Unconnected,
142         /// <summary>
143         /// 3-conductor wire is connected.
144         /// </summary>
145         ThreeWireConnected,
146         /// <summary>
147         /// 4-conductor wire is connected.
148         /// </summary>
149         FourWireConnected
150     }
151 }