|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.system.WLANInfo
public class WLANInfo
Contains Wireless Local Area Network (WLAN) radio information.
Nested Class Summary | ||
---|---|---|
static class |
WLANInfo.WLANAPInfo
Encapsulates information for a Wireless Local Area Network (WLAN) access point. |
Field Summary | ||
---|---|---|
static int |
WLAN_BAND_A
Represents the 802.11a radio band. |
|
static int |
WLAN_BAND_B
Represents the 802.11b radio band. |
|
static int |
WLAN_BAND_BG
Represents the 802.11b/g radio band. |
|
static int |
WLAN_BAND_N
Represents the 802.11n radio band. |
|
static int |
WLAN_STATE_CONNECTED
Represents the WLAN "connected" radio state. |
|
static int |
WLAN_STATE_DISCONNECTED
Represents the WLAN "disconnected" radio state. |
Method Summary | ||
---|---|---|
static void |
addListener(WLANListener listener)
Adds the provided WLAN listener to the calling application. |
|
static WLANInfo.WLANAPInfo |
getAPInfo()
Retrieves a WLANInfo.WLANAPInfo object containing information on the AP
the WLAN radio is currently connected to, or null if the WLAN
radio is not currently connected to an AP. |
|
static String |
getMACAddress()
Retrieves the MAC address of the WLAN radio. |
|
static int |
getWLANState()
Retrieves the current state of the WLAN radio. |
|
static void |
removeListener(WLANListener listener)
Removes the provided WLAN listener from the calling application. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int WLAN_BAND_A
public static final int WLAN_BAND_B
public static final int WLAN_BAND_BG
public static final int WLAN_BAND_N
public static final int WLAN_STATE_CONNECTED
public static final int WLAN_STATE_DISCONNECTED
Method Detail |
---|
public static void addListener(WLANListener listener)
WLANConnectionListener
s
are supported.
listener
- The WLAN listener to add to the calling application.
NullPointerException
- if listener
is null
.public static void removeListener(WLANListener listener)
WLANConnectionListener
s
are supported.
listener
- The WLAN listener to remove from the calling application.public static int getWLANState()
public static String getMACAddress()
null
if WLAN radio is not supported.public static WLANInfo.WLANAPInfo getAPInfo()
WLANInfo.WLANAPInfo
object containing information on the AP
the WLAN radio is currently connected to, or null
if the WLAN
radio is not currently connected to an AP.
WLANInfo.WLANAPInfo
object, or null
if the WLAN radio
is not currently connected to an AP.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal