zoukankan      html  css  js  c++  java
  • android wifi state and wifi ap state

    /**
    * Wi-Fi is currently being disabled. The state will change to {@link #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 {@link #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
    * {@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 int WIFI_AP_STATE_DISABLED = 11;
    /**
    * Wi-Fi AP is currently being enabled. The state will change to
    * {@link #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;

  • 相关阅读:
    ubuntu14.04下安装node.js
    用U盘制作启动盘后空间变小的恢复方法,清除U盘启动盘空间
    JQuery入门——进度条
    setTimeout()与setInterval()——走马灯效果
    JavaScript日期控件,用select实现
    JavaScript获取元素CSS属性
    JavaScript为select添加option,select选项变化时的处理,获取slelect被选中的值
    Javascript为元素添加事件处理函数
    Javascript字数统计
    Struts2文件上传,以及各种注意事项
  • 原文地址:https://www.cnblogs.com/zooc/p/4282060.html
Copyright © 2011-2022 走看看