|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NetworkSelection
interface provides the specific list based services.
Users may choose between manual and automatic network selection and may interact with lists of preferred and forbidden network lists. (See GSM 03.22 Public Land Mobile Network)
MobileProvider
Fields inherited from interface javax.telephony.mobile.MobileProvider |
RESTRICTED_SERVICE |
Fields inherited from interface javax.telephony.Provider |
IN_SERVICE, OUT_OF_SERVICE, SHUTDOWN |
Method Summary | |
java.lang.String |
getCurrentSelectionMode()
Returns the current network selection mode. |
MobileNetwork[] |
getForbiddenNetworks()
Returns the network list specified. |
MobileNetwork[] |
getPreferredNetworks()
Returns the network list specified. |
java.lang.String[] |
getSelectionModes()
Returns the (automatic) network selection algorithm modes available. |
void |
setSelectionMode(java.lang.String mode)
Sets the network selection mode. |
Methods inherited from interface javax.telephony.mobile.MobileProvider |
cancelAvailableNetworkRequest, getAvailableNetworks, getCurrentNetwork, getHomeNetwork, getMobileState, getNetworkTime, getNetworkTimeZone, getType, isRoaming, setNetwork |
Method Detail |
public java.lang.String getCurrentSelectionMode() throws MethodNotSupportedException
MethodNotSupportedException
- Indicates network selection
is not supported.public java.lang.String[] getSelectionModes() throws MethodNotSupportedException
MethodNotSupportedException
- Indicates network selection
is not supported.public void setSelectionMode(java.lang.String mode) throws InvalidArgumentException, MethodNotSupportedException, InvalidStateException
mode
- Mode to be selected (or null for manual mode)MethodNotSupportedException
- Indicates the setting
of the selection mode capability is not supported.InvalidArgumentException
- Indicates that the input
parameter is invalid.InvalidStateException
- Indicates the implementation
is in a state in which setting the network selection mode is not possible
(call ongoing, for example).public MobileNetwork[] getPreferredNetworks() throws MethodNotSupportedException, ResourceUnavailableException
Preferred Networks are network service carriers the user has found to offer service, and is preferred over other networks.
MethodNotSupportedException
- Indicates the capability
to get network lists is not supported.ResourceUnavailableException
- Indicates that
a resource inside the system in not available to
complete an operation.public MobileNetwork[] getForbiddenNetworks() throws MethodNotSupportedException, ResourceUnavailableException
Forbidden Networks are network service carriers to which the user's home network carrier has no agreement of cross service or to which the user has reason (cost) not to use this network.
MethodNotSupportedException
- Indicates the capability
to get network lists is not supported.ResourceUnavailableException
- Indicates that
a resource inside the system in not available to
complete an operation.
|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |