android wifi_state_enabling,android wifi state and wifi ap state

/**

* Wi-Fi is currently being disabled. The state will change to [email protected] #WIFI_STATE_DISABLED} if

* it finishes successfully.

*

* @see #WIFI_STATE_CHANGED_ACTION

* @see #getWifiState()

*/

public static final int WIFI_STATE_DISABLING = 0;/**

* Wi-Fi is disabled.

*

* @see #WIFI_STATE_CHANGED_ACTION

* @see #getWifiState()

*/

public static final int WIFI_STATE_DISABLED = 1;

/**

* Wi-Fi is currently being enabled. The state will change to [email protected] #WIFI_STATE_ENABLED} if

* it finishes successfully.

*

* @see #WIFI_STATE_CHANGED_ACTION

* @see #getWifiState()

*/

public static final int WIFI_STATE_ENABLING = 2;

/**

* Wi-Fi is enabled.

*

* @see #WIFI_STATE_CHANGED_ACTION

* @see #getWifiState()

*/

public static final int WIFI_STATE_ENABLED = 3;/**

* Wi-Fi is in an unknown state. This state will occur when an error happens while enabling

* or disabling.

*

* @see #WIFI_STATE_CHANGED_ACTION

* @see #getWifiState()

*/

public static final int WIFI_STATE_UNKNOWN = 4;

/**

* Wi-Fi AP is currently being disabled. The state will change to

* [email protected] #WIFI_AP_STATE_DISABLED} if it finishes successfully.

*

* @see #WIFI_AP_STATE_CHANGED_ACTION

* @see #getWifiApState()

*

* @hide

*/

public static final int WIFI_AP_STATE_DISABLING = 10;

/**

* Wi-Fi AP is disabled.

*

* @see #WIFI_AP_STATE_CHANGED_ACTION

* @see #getWifiState()

*

* @hide

*/

public static final int WIFI_AP_STATE_DISABLED = 11;

/**

* Wi-Fi AP is currently being enabled. The state will change to

* [email protected] #WIFI_AP_STATE_ENABLED} if it finishes successfully.

*

* @see #WIFI_AP_STATE_CHANGED_ACTION

* @see #getWifiApState()

*

* @hide

*/

public static final int WIFI_AP_STATE_ENABLING = 12;

/**

* Wi-Fi AP is enabled.

*

* @see #WIFI_AP_STATE_CHANGED_ACTION

* @see #getWifiApState()

*

* @hide

*/

public static final int WIFI_AP_STATE_ENABLED = 13;

/**

* Wi-Fi AP is in a failed state. This state will occur when an error occurs during

* enabling or disabling

*

* @see #WIFI_AP_STATE_CHANGED_ACTION

* @see #getWifiApState()

*

* @hide

*/

public static final int WIFI_AP_STATE_FAILED = 14;

原文:http://www.cnblogs.com/zooc/p/4282060.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值