Android4.0 WIFI文档翻译

WifiInfo:

Describes the state of any Wifi connection that is active or is in the process of being set up.

描述任何Wifi连接处于活动状态或者正在建立的过程中的状态。

public String getBSSID ()

Return the basic service set identifier (BSSID) of the current access point. The BSSID may be null if there is no network currently connected.

返回当前接入点的基本服务集标识符(BSSID)。其中使用的BSSID可为空,如果没有当前连接的网络。

public static NetworkInfo.DetailedState getDetailedStateOf (SupplicantState suppState)

Map a supplicant state into a fine-grained network connectivity state.

映射请求者状态转变为细粒度的网络连接状态。


WifiConfiguration:

A class representing a configured Wi-Fi network, including the security configuration.

一个类代表一个已配置的Wi-Fi网络,包括安全配置。

allowedAuthAlgorithms:

The set of authentication protocols supported by this configuration.

该组认证协议通过该结构支撑。


WifiManager:

This class provides the primary API for managing all aspects of Wi-Fi connectivity. Get an instance of this class by calling Context.getSystemService(Context.WIFI_SERVICE). It deals with several categories of items:
这个类提供用于管理Wi-Fi连接各个环节的主要API。通过调用Context.getSystemService(Context.WIFI_SERVICE)获取这个类的一个实例。它涉及几类项目:  

    The list of configured networks. The list can be viewed and updated, and attributes of individual entries can be modified.

    配置的网络列表。该列表可以查看和更新,各个条目的属性进行修改。
    The currently active Wi-Fi network, if any. Connectivity can be established or torn down, and dynamic information about the state of the network can be queried.

    当前激活的Wi-Fi网络,如果有的话。连接可以建立或拆掉,和有关网络的状态的动态信息可以被查询。

    Results of access point scans, containing enough information to make decisions about what access point to connect to.

   接入点扫描的结果,包含了足够的信息,以做出什么接入点连接到决策。

    It defines the names of various Intent actions that are broadcast upon any sort of change in Wi-Fi state.
This is the API to use when performing Wi-Fi specific operations. To perform operations that pertain to network connectivity at an abstract level, use ConnectivityManager.                       
     它定义了任何形式的改变Wi-Fi状态的时所广播的各种意图的动作的名称。
这是进行无线网络连接的具体操作时要使用的API。执行一些与在抽象的层面与网络连接操作,使用ConnectivityManager。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值