IT. Expert System.

Android Reference

WifiInfo


android.net.wifi

Class WifiInfo

  • All Implemented Interfaces:
    Parcelable


    public class WifiInfo
    extends Object
    implements Parcelable
    Describes the state of any Wifi connection that is active or is in the process of being set up.
    • Constructor Detail

      • WifiInfo

        public WifiInfo(WifiInfo source)
        Copy constructor
    • Method Detail

      • getSSID

        public String getSSID()
        Returns the service set identifier (SSID) of the current 802.11 network. If the SSID can be decoded as UTF-8, it will be returned surrounded by double quotation marks. Otherwise, it is returned as a string of hex digits. The SSID may be null if there is no network currently connected.
        Returns:
        the SSID
      • getWifiSsid

        public WifiSsid getWifiSsid()
      • getBSSID

        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.
        Returns:
        the BSSID, in the form of a six-byte MAC address: XX:XX:XX:XX:XX:XX
      • getRssi

        public int getRssi()
        Returns the received signal strength indicator of the current 802.11 network.

        This is not normalized, but should be!

        Returns:
        the RSSI, in the range ??? to ???
      • getMacAddress

        public String getMacAddress()
      • setMeteredHint

        public void setMeteredHint(boolean meteredHint)
      • getMeteredHint

        public boolean getMeteredHint()
      • getNetworkId

        public int getNetworkId()
        Each configured network has a unique small integer ID, used to identify the network when performing operations on the supplicant. This method returns the ID for the currently connected network.
        Returns:
        the network ID, or -1 if there is no currently connected network
      • getIpAddress

        public int getIpAddress()
      • getHiddenSSID

        public boolean getHiddenSSID()
        Returns:
        true if this network does not broadcast its SSID, so an SSID-specific probe request must be used for scans.
      • setHiddenSSID

        public void setHiddenSSID(boolean hiddenSSID)
      • removeDoubleQuotes

        public static String removeDoubleQuotes(String string)
      • toString

        public String toString()
        Description copied from class: Object
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.
      • describeContents

        public int describeContents()
        Implement the Parcelable interface
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating the set of special object types marshalled by the Parcelable.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 205 / 158861478. Delta: 0.05928 с