/*
* 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 the runtime information key.
///
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 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 whether the battery is currently charging.
///
BatteryIsCharging = 19,
///
/// Indicates whether TV out is connected.
///
TvOut = 20,
///
/// Indicates change in the audio jack connector type.
///
///
AudioJackConnector = 21,
///
/// Indicates whether the charger is connected.
///
Charger = 24,
///
/// Indicates whether auto rotation is enabled.
///
AutoRotation = 26
}
///
/// Enumeration for the Wi-Fi status.
///
public enum WifiStatus
{
///
/// The Wi-Fi is disabled.
///
Disabled,
///
/// The Wi-Fi is enabled and the network connection is not established.
///
Unconnected,
///
/// The network connection is established in a Wi-Fi network.
///
Connected
}
///
/// Enumeration for the GPS status.
///
public enum GpsStatus
{
///
/// The GPS is disabled.
///
Disabled,
///
/// The GPS is searching for satellites.
///
Searching,
///
/// The GPS connection is established.
///
Connected
}
///
/// Enumeration for the type of audio jack connected.
///
public enum AudioJackConnectionType
{
///
/// The audio jack is not connected.
///
Unconnected,
///
/// The 3-conductor wire is connected.
///
ThreeWireConnected,
///
/// The 4-conductor wire is connected.
///
FourWireConnected
}
}