net.rim.device.api.system
Class WLANInfo.WLANAPInfo

java.lang.Object
  extended by net.rim.device.api.system.WLANInfo.WLANAPInfo
Enclosing class:
WLANInfo

public static class WLANInfo.WLANAPInfo
extends Object

Encapsulates information for a Wireless Local Area Network (WLAN) access point.

Since:
BlackBerry API 4.3.0

Method Summary
 int getAPChannel()
          Retrieves the channel of the AP.
 String getBSSID()
          Retrieves the current BSSID.
 int getDataRate()
          Retrieves the current data rate in Mbps.
 String getProfileName()
          Retrieves the current profile name.
 int getRadioBand()
          Retrieves the current radio band.
 String getSSID()
          Retrieves the current SSID.
 int getSecurityCategory()
          Retrieves layer-2 security category of the AP.
 int getSignalLevel()
          Retrieves the current WLAN signal level in dBm.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Method Detail

getProfileName

public String getProfileName()
Retrieves the current profile name.

Returns:
The current profile name.
Throws:
ControlledAccessException - if the calling process does not have the necessary privileges
Since:
BlackBerry API 4.3.0

getSSID

public String getSSID()
Retrieves the current SSID.

Returns:
The current SSID.
Throws:
ControlledAccessException - if the calling process does not have the necessary privileges
Since:
BlackBerry API 4.3.0

getBSSID

public String getBSSID()
Retrieves the current BSSID.

Returns:
The current BSSID.
Throws:
ControlledAccessException - if the calling process does not have the necessary privileges
Since:
BlackBerry API 4.3.0

getRadioBand

public int getRadioBand()
Retrieves the current radio band.

Returns:
One of the WLANInfo.WLAN_BAND_* constants.
Throws:
ControlledAccessException - if the calling process does not have the necessary privileges
Since:
BlackBerry API 4.3.0

getDataRate

public int getDataRate()
Retrieves the current data rate in Mbps.

Returns:
The current data rate in Mbps.
Throws:
ControlledAccessException - if the calling process does not have the necessary privileges
Since:
BlackBerry API 4.3.0

getSignalLevel

public int getSignalLevel()
Retrieves the current WLAN signal level in dBm.

Returns:
The current WLAN signal level in dBm.
Throws:
ControlledAccessException - if the calling process does not have the necessary privileges
Since:
BlackBerry API 4.3.0

getSecurityCategory

public int getSecurityCategory()
Retrieves layer-2 security category of the AP.

Returns:
The security category of the AP (one of the SECURITY_CATEGORY_* constants in this class).
Throws:
ControlledAccessException - if the calling process does not have the necessary privileges
Since:
BlackBerry API 5.0.0

getAPChannel

public int getAPChannel()
Retrieves the channel of the AP.

Returns:
channel of the AP.
Throws:
ControlledAccessException - if the calling process does not have the necessary privileges
Since:
BlackBerry API 5.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.