|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An interface for receiving notifications of WLAN connection events. Objects implementing
this interface can be registered with the WLAN system via WLANInfo.addListener(net.rim.device.api.system.WLANListener).
WLANInfo| Field Summary | ||
static int |
WLAN_ASSOCIATION_FAILED
The device could not associate with a WLAN network. |
|
static int |
WLAN_AUTH_FAIL
WLAN supplicant authentication failed. |
|
static int |
WLAN_CONNECTION_TERMINATED
WLAN connection was unexpectedly terminated. |
|
static int |
WLAN_DHCP_UNREACHABLE
The device could not reach a DHCP server. |
|
static int |
WLAN_IP_ADDRESS_LOST
The device's IP address is no longer valid (e.g., lease expired). |
|
static int |
WLAN_OUT_OF_COVERAGE
The device went out of WLAN coverage. |
|
static int |
WLAN_UNSPECIFIED_REASON
WLAN connection failed for an unspecified reason. |
|
| Method Summary | ||
void |
networkConnected()
Invoked when the device has connected to a WLAN network. |
|
void |
networkDisconnected(int reason)
Invoked when the device has disconnected from a WLAN network, or when a connection attempt to a WLAN network has failed. |
|
| Field Detail |
public static final int WLAN_ASSOCIATION_FAILED
public static final int WLAN_AUTH_FAIL
public static final int WLAN_CONNECTION_TERMINATED
public static final int WLAN_DHCP_UNREACHABLE
public static final int WLAN_IP_ADDRESS_LOST
public static final int WLAN_OUT_OF_COVERAGE
public static final int WLAN_UNSPECIFIED_REASON
| Method Detail |
public void networkConnected()
public void networkDisconnected(int reason)
reason - The reason for the disconnect or failure (one of the WLAN_* constants).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2007 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.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.