/*
* 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.Network.WiFi
{
///
/// Enumeration for the Wi-Fi EAP types.
///
/// 3
public enum WiFiEapType
{
///
/// EAP PEAP type.
///
/// 3
Peap = 0,
///
/// EAP TLS type.
///
/// 3
Tls = 1,
///
/// The EAP TTLS type.
///
/// 3
Ttls = 2,
///
/// EAP SIM type.
///
/// 3
Sim = 3,
///
/// EAP AKA type.
///
/// 3
Aka = 4
}
///
/// Enumeration for the Wi-Fi RSSI levels.
///
/// 3
public enum WiFiRssiLevel
{
///
/// Level 0.
///
/// 3
Level0 = 0,
///
/// Level 1.
///
/// 3
Level1 = 1,
///
/// Level 2.
///
/// 3
Level2 = 2,
///
/// Level 3.
///
/// 3
Level3 = 3,
///
/// Level 4.
///
/// 3
Level4 = 4
}
///
/// Enumeration for the Wi-Fi connection states.
///
/// 3
public enum WiFiConnectionState
{
///
/// Connection failed state.
///
/// 3
Failure = -1,
///
/// Disconnected state.
///
/// 3
Disconnected = 0,
///
/// Association state.
///
/// 3
Association = 1,
///
/// Configuration state.
///
/// 3
Congfiguration = 2,
///
/// Connected state.
///
/// 3
Connected = 3
}
///
/// Enumeration for the Wi-Fi device states.
///
/// 3
public enum WiFiDeviceState
{
///
/// Wi-Fi is deactivated.
///
/// 3
Deactivated = 0,
///
/// Wi-Fi is activated.
///
/// 3
Activated = 1
}
///
/// Enumeration for the Wi-Fi proxy types.
///
/// 3
public enum WiFiProxyType
{
///
/// Direct connection.
///
/// 3
Direct = 0,
///
/// Auto configuration(Use PAC file). If the URL property is not set, DHCP/WPAD auto-discover will be tried.
///
/// 3
Auto = 1,
///
/// Manual configuration.
///
/// 3
Manual = 2
}
///
/// Enumeration for the Wi-Fi authentication types.
///
/// 3
public enum WiFiAuthenticationType
{
///
/// EAP phase 2 authentication none.
///
/// 3
None = 0,
///
/// EAP phase 2 authentication PAP.
///
/// 3
Pap = 1,
///
/// EAP phase 2 authentication MSCHAP.
///
/// 3
Mschap = 2,
///
/// EAP phase 2 authentication MSCHAPv2.
///
/// 3
Mschapv2 = 3,
///
/// EAP phase 2 authentication GTC.
///
/// 3
Gtc = 4,
///
/// EAP phase 2 authentication MD5.
///
/// 3
Md5 = 5
}
///
/// Enumeration for the Wi-Fi scanning state.
///
/// 6
public enum WiFiScanState
{
///
/// Scan is not running.
///
/// 6
NotScanning = 0,
///
/// Scan is running.
///
/// 6
Scanning = 1
}
}