Android WiFi state and WiFi APS state

Source: Internet
Author: User

/**
* Wi-Fi is currently being disabled. The state would change to {@link #WIFI_STATE_DISABLED} if
* It finishes successfully.
*
* @see #WIFI_STATE_CHANGED_ACTION
* @see #getWifiState ()
*/
public static final intwifi_state_disabling = 0;
/**
* Wi-Fi is disabled.
*
* @see #WIFI_STATE_CHANGED_ACTION
* @see #getWifiState ()
*/
public static final intwifi_state_disabled = 1;
/**
* Wi-Fi is currently being enabled. The state would change to {@link #WIFI_STATE_ENABLED} if
* It finishes successfully.
*
* @see #WIFI_STATE_CHANGED_ACTION
* @see #getWifiState ()
*/
public static final intwifi_state_enabling = 2;
/**
* Wi-Fi is enabled.
*
* @see #WIFI_STATE_CHANGED_ACTION
* @see #getWifiState ()
*/
public static final intwifi_state_enabled = 3;
/**
* Wi-Fi is in a unknown state. This state would occur when a error happens while enabling
* or disabling.
*
* @see #WIFI_STATE_CHANGED_ACTION
* @see #getWifiState ()
*/
public static final intwifi_state_unknown = 4;

/**
* Wi-Fi AP is currently being disabled. The state would change to
* {@link #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 intwifi_ap_state_disabled = One;
/**
* Wi-Fi AP is currently being enabled. The state would change to
* {@link #WIFI_AP_STATE_ENABLED} if it finishes successfully.
*
* @see #WIFI_AP_STATE_CHANGED_ACTION
* @see #getWifiApState ()
*
* @hide
*/
public static final intwifi_ap_state_enabling =;
/**
* Wi-Fi AP is enabled.
*
* @see #WIFI_AP_STATE_CHANGED_ACTION
* @see #getWifiApState ()
*
* @hide
*/
public static final intwifi_ap_state_enabled =;
/**
* Wi-Fi AP is in a failed state. This state would occur when an error occurs during
* Enabling or disabling
*
* @see #WIFI_AP_STATE_CHANGED_ACTION
* @see #getWifiApState ()
*
* @hide
*/
public static final intwifi_ap_state_failed =;

Android WiFi state and WiFi APS state

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.