/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ using System; namespace Tizen.System { /// /// Enumeration for keys for runtime information /// public enum RuntimeInformationKey { /// /// Indicates whether Bluetooth is enabled. /// Bluetooth = 2, /// /// Indicates whether Wi-Fi hotspot is enabled. /// /// WifiHotspot = 3, /// /// Indicates whether Bluetooth tethering is enabled. /// BluetoothTethering = 4, /// /// Indicates whether USB tethering is enabled. /// UsbTethering = 5, /// /// Indicates whether the location service is allowed to use location data from GPS satellites. /// LocationService = 6, /// /// Indicates whether the location service is allowed to use location data from cellular and Wi-Fi. /// LocationNetworkPosition = 8, /// /// Indicates Whether the packet data through 3G network is enabled. /// PacketData = 9, /// /// Indicates whether data roaming is enabled. /// DataRoaming = 10, /// /// Indicates whether vibration is enabled. /// Vibration = 12, /// /// Indicates whether audio jack is connected. /// AudioJack = 17, /// /// Indicates the current status of GPS. /// /// Gps = 18, /// /// Indicates the battery is currently charging. /// BatteryIsCharging = 19, /// /// Indicates whether TV out is connected. /// TvOut = 20, /// /// Indicates the change in audio jack connector type. /// /// AudioJackConnector = 21, /// /// Indicates whether charger is connected. /// Charger = 24, /// /// Indicates whether auto rotation is enabled. /// AutoRotation = 26 } /// /// Enumeration for Wi-Fi status /// public enum WifiStatus { /// /// Wi-Fi is disabled. /// Disabled, /// /// Wi-Fi is enabled and network connection is not established. /// Unconnected, /// /// Network connection is established in Wi-Fi network. /// Connected } /// /// Enumeration for GPS status. /// public enum GpsStatus { /// /// GPS is disabled. /// Disabled, /// /// GPS is searching for satellites. /// Searching, /// /// GPS connection is established. /// Connected } /// /// Enumeration for type of audio jack connected. /// public enum AudioJackConnectionType { /// /// Audio jack is not connected /// Unconnected, /// /// 3-conductor wire is connected. /// ThreeWireConnected, /// /// 4-conductor wire is connected. /// FourWireConnected } }