Oracle Java Wireless Client

com.oracle.mobile.io.accesspoint
Class WifiAccessPoint

java.lang.Object
  extended by com.oracle.mobile.io.accesspoint.AccessPoint
      extended by com.oracle.mobile.io.accesspoint.WifiAccessPoint

public class WifiAccessPoint
extends AccessPoint

WifiAccessPoint represents an access point with Wi-Fi bearer type and allows accessing some Wi-Fi specific access point properties.


Field Summary
 
Fields inherited from class com.oracle.mobile.io.accesspoint.AccessPoint
BEARER_BLUETOOTH, BEARER_CSD, BEARER_ETHERNET, BEARER_PSD, BEARER_UNKNOWN, BEARER_WIFI, BEARER_WIMAX, NETWORK_PRIVATE, NETWORK_PUBLIC, NETWORK_SERVICE_SPECIFIC, NETWORK_UNKNOWN
 
Method Summary
 java.lang.String getNetworkSSID()
          Returns the SSID of the currently connected network or null if this access point is not connected to any network.
 int getSignalStrength()
          Returns current signal strength of the currently connected network in percents or -1 if this access point is not connected to any network.
 
Methods inherited from class com.oracle.mobile.io.accesspoint.AccessPoint
equals, getBearerType, getHttpProxy, getId, getLocalAddress, getName, getNetworkServiceType, getNetworkType, getPriority, hashCode, isAvailable, isConnected
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNetworkSSID

public java.lang.String getNetworkSSID()
Returns the SSID of the currently connected network or null if this access point is not connected to any network.

Returns:
network SSID as String or null

getSignalStrength

public int getSignalStrength()
Returns current signal strength of the currently connected network in percents or -1 if this access point is not connected to any network.

Returns:
signal strength in percents or -1

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.