2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 namespace Tizen.System
22 /// Enumeration for keys for runtime information
24 public enum RuntimeInformationKey
27 /// Indicates whether Bluetooth is enabled.
31 /// Indicates whether Wi-Fi hotspot is enabled.
32 /// <see cref="WifiStatus"/>
36 /// Indicates whether Bluetooth tethering is enabled.
38 BluetoothTethering = 4,
40 /// Indicates whether USB tethering is enabled.
44 /// Indicates whether the location service is allowed to use location data from GPS satellites.
48 /// Indicates whether the location service is allowed to use location data from cellular and Wi-Fi.
50 LocationNetworkPosition = 8,
52 /// Indicates Whether the packet data through 3G network is enabled.
56 /// Indicates whether data roaming is enabled.
60 /// Indicates whether vibration is enabled.
64 /// Indicates whether audio jack is connected.
68 /// Indicates the current status of GPS.
69 /// <see cref="GpsStatus"/>
73 /// Indicates the battery is currently charging.
75 BatteryIsCharging = 19,
77 /// Indicates whether TV out is connected.
81 /// Indicates the change in audio jack connector type.
82 /// <see cref="AudioJackConnectionType"/>
84 AudioJackConnector = 21,
86 /// Indicates whether charger is connected.
90 /// Indicates whether auto rotation is enabled.
96 /// Enumeration for Wi-Fi status
98 public enum WifiStatus
101 /// Wi-Fi is disabled.
105 /// Wi-Fi is enabled and network connection is not established.
109 /// Network connection is established in Wi-Fi network.
115 /// Enumeration for GPS status.
117 public enum GpsStatus
124 /// GPS is searching for satellites.
128 /// GPS connection is established.
134 /// Enumeration for type of audio jack connected.
136 public enum AudioJackConnectionType
139 /// Audio jack is not connected
143 /// 3-conductor wire is connected.
147 /// 4-conductor wire is connected.