|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The MobileProviderEvent
interface is the interface for
all mobileprovider events. Each event is specified by unique
identification number, specified in the MobileProvider
interface.
MobileProvider State | MobileProviderEvent Cause |
IN_SERVICE |
CAUSE_NORMAL |
RESTRICTED_SERVICE |
CAUSE_FORBIDDEN, CAUSE_FORBIDDEN_ZONE,
CAUSE_NETWORK_NOT_SELECTED, CAUSE_SUBSCRIPTION_ERROR
or CAUSE_SEARCHING |
SHUTDOWN |
CAUSE_NORMAL |
OUT_OF_SERVICE |
CAUSE_RADIO_OFF, CAUSE_NO_NETWORK
or CAUSE_UNKNOWN |
MobileProvider
,
MobileProviderEvent
,
MobileProviderListener
Field Summary | |
static int |
CAUSE_FORBIDDEN
The MobileProvider.CAUSE_FORBIDDEN cause indicates
the provider is in the restricted state because the current
network is forbidden i.e., emergency calls only. |
static int |
CAUSE_FORBIDDEN_ZONE
The MobileProvider.CAUSE_FORBIDDEN_ZONE cause indicates
the provider is in the restricted state because the mobile phone
is currently in a forbidden regional zone i.e., only emergency
calls are allowed. |
static int |
CAUSE_ILLEGAL_MOBILE
The MobileProvider.CAUSE_ILLEGAL_MOBILE indicates
there maybe a problem with mobile equipment ID information. |
static int |
CAUSE_NETWORK_NOT_SELECTED
The MobileProvider.CAUSE_NETWORK_NOT_SELECTED value
indicates that currently no network is selected but networks
are available in the area. |
static int |
CAUSE_NO_NETWORK
The MobileProvider.CAUSE_NO_NETWORK value
indicates there is no cellular networks detected in the area. |
static int |
CAUSE_NORMAL
The MobileProvider.CAUSE_NORMAL cause indicates
there is no cause. |
static int |
CAUSE_RADIO_OFF
The MobileProvider.CAUSE_RADIO_OFF cause
indicates that the radio is turned off. |
static int |
CAUSE_SEARCHING
The MobileProvider.CAUSE_SEARHING indicates
the implementation is searching for cellular networks. |
static int |
CAUSE_SUSBCRIPTION_ERROR
The MobileProvider.CAUSE_SUSBSCRIPTION_ERROR
cause indicates the provider is in the restricted or in out_of_service
state because of a subscription related error. |
static int |
CAUSE_UNKNOWN
The MobileProvider.CAUSE_UNKNOWN value
indicates the reason for state is not available or
is none of the above causes. |
static int |
MOBILEPROVIDER_NETWORK_CHANGE
The event id for MobileProvider network change. |
static int |
MOBILEPROVIDER_NO_NETWORK
The event id for MobileProvider no network situation. |
static int |
PROVIDER_RESTRICTED_SERVICE
The event id for MobileProvider
state change for restricted network service. |
Fields inherited from interface javax.telephony.ProviderEvent |
PROVIDER_EVENT_TRANSMISSION_ENDED, PROVIDER_IN_SERVICE, PROVIDER_OUT_OF_SERVICE, PROVIDER_SHUTDOWN |
Fields inherited from interface javax.telephony.Event |
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT |
Method Summary | |
MobileProvider |
getMobileProvider()
Returns the MobileProvider associated with this event. |
int |
getMobileStateCause()
Returns the cause for a service state. |
Methods inherited from interface javax.telephony.ProviderEvent |
getProvider |
Methods inherited from interface javax.telephony.Event |
getCause, getID, getMetaEvent, getSource |
Field Detail |
public static final int CAUSE_NORMAL
MobileProvider.CAUSE_NORMAL
cause indicates
there is no cause.public static final int CAUSE_FORBIDDEN
MobileProvider.CAUSE_FORBIDDEN
cause indicates
the provider is in the restricted state because the current
network is forbidden i.e., emergency calls only.public static final int CAUSE_FORBIDDEN_ZONE
MobileProvider.CAUSE_FORBIDDEN_ZONE
cause indicates
the provider is in the restricted state because the mobile phone
is currently in a forbidden regional zone i.e., only emergency
calls are allowed.public static final int CAUSE_SUSBCRIPTION_ERROR
MobileProvider.CAUSE_SUSBSCRIPTION_ERROR
cause indicates the provider is in the restricted or in out_of_service
state because of a subscription related error. The SIM is either missing or
there is some other problem such as invalid entry code.public static final int CAUSE_RADIO_OFF
MobileProvider.CAUSE_RADIO_OFF
cause
indicates that the radio is turned off. In other words,
the MobileRadio is off.public static final int CAUSE_NO_NETWORK
MobileProvider.CAUSE_NO_NETWORK
value
indicates there is no cellular networks detected in the area.public static final int CAUSE_NETWORK_NOT_SELECTED
MobileProvider.CAUSE_NETWORK_NOT_SELECTED
value
indicates that currently no network is selected but networks
are available in the area.public static final int CAUSE_SEARCHING
MobileProvider.CAUSE_SEARHING
indicates
the implementation is searching for cellular networks.public static final int CAUSE_ILLEGAL_MOBILE
MobileProvider.CAUSE_ILLEGAL_MOBILE
indicates
there maybe a problem with mobile equipment ID information.
This cause is because sometimes the subscription ID is not available and the
mobile equipment ID is used to authenticate the mobile. It is through this
that invalid or stolen equipment can be identified and the network will
refuse normal service, but will provide restricted (emergency) service.
Some systems keep a list of stolen mobiles - called the black list.
Gray list is mobiles that have some software or radio problem and need to be
recalled.public static final int CAUSE_UNKNOWN
MobileProvider.CAUSE_UNKNOWN
value
indicates the reason for state is not available or
is none of the above causes.public static final int PROVIDER_RESTRICTED_SERVICE
MobileProvider
state change for restricted network service.public static final int MOBILEPROVIDER_NETWORK_CHANGE
MobileProvider
network change.public static final int MOBILEPROVIDER_NO_NETWORK
MobileProvider
no network situation.Method Detail |
public MobileProvider getMobileProvider()
MobileProvider
associated with this event.
public int getMobileStateCause()
|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |