|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nokia.mid.iapinfo.IAPInfo
public abstract class IAPInfo
IAPInfo
includes methods for retrieving information of
Access Points and Destination Networks.
There is only one instance of IAPInfo. You obtain it by calling getIAPInfo()
method:
Obtain IAPInfo object by factory:
IAPInfo iapinfo = IAPInfo.getIAPInfo();
With this object you can get following information:
DestinationNetwork
by calling getDestinationNetworks()
AccessPoint
by calling getAccessPoints()
getLastUsedAccessPoints()
getConnectionPreferences()
Method Summary | |
---|---|
abstract AccessPoint |
getAccessPoint(int aID)
Gets an access point from the system by its ID. |
abstract AccessPoint |
getAccessPoint(java.lang.String aName)
Gets an access point from the system with given name. |
abstract AccessPoint[] |
getAccessPoints()
Gets the array of system defined Access Points. |
abstract AccessPoint[] |
getConnectionPreferences()
Gets a connection preferences. |
abstract DestinationNetwork |
getDestinationNetwork(int aID)
Gets a destination network by its ID. |
abstract DestinationNetwork |
getDestinationNetwork(java.lang.String aName)
Gets a destination network by its name. |
abstract DestinationNetwork[] |
getDestinationNetworks()
Gets the destination networks available in the system. |
static IAPInfo |
getIAPInfo()
Factory method for obtaining IAPInfo object. |
abstract AccessPoint |
getLastUsedAccessPoint()
Gets the last used access point by the MIDlet suite. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IAPInfo getIAPInfo() throws IAPInfoException
IAPInfoException
- if IAPInfo can't be createdpublic abstract AccessPoint[] getAccessPoints() throws IAPInfoException
IAPInfoException
- on error obtaining list of Access Points.public abstract AccessPoint getAccessPoint(int aID) throws IAPInfoException
aID
- the access point id
IAPInfoException
- on error obtaining Access Points.public abstract AccessPoint getAccessPoint(java.lang.String aName) throws IAPInfoException
aName
- name of the access point
IAPInfoException
- on error obtaining Access Points.public abstract AccessPoint getLastUsedAccessPoint() throws IAPInfoException
IAPInfoException
- on error obtaining Access Points.public abstract DestinationNetwork[] getDestinationNetworks() throws IAPInfoException
IAPInfoException
- on error obtaining Access Points.public abstract DestinationNetwork getDestinationNetwork(int aID) throws IAPInfoException
aID
- the ID of the destination network
IAPInfoException
- on error obtainging Destination Networkpublic abstract DestinationNetwork getDestinationNetwork(java.lang.String aName) throws IAPInfoException
aName
- the name of the destination network
IAPInfoException
- on error obtainging Destination Networkpublic abstract AccessPoint[] getConnectionPreferences() throws IAPInfoException
IAPInfoException
- on error obtainging list of Access Points
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |