|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A call related 'Send Info' activity object.
Field Summary |
Fields inherited from interface org.csapi.jr.se.Activity |
ACTIVE_STATE, IDLE_STATE, INVALID_STATE |
Method Summary | |
void |
abortActionReq()
This asynchronous method aborts a user interaction operation, for example, a sendInfoReq(), from the specified call leg. |
void |
addCallRelatedSendInfoListener(org.csapi.jr.se.ui.CallRelatedSendInfoListener callRelatedSendInfoListener)
Adds a CallRelatedSendInfoListener which is interested in events generated by the CallRelatedSendInfo. |
org.csapi.jr.se.ui.UICall |
getUICall()
Returns a reference to the UICall responsible for creation of the CallRelatedSendInfo. |
void |
removeCallRelatedSendInfoListener(org.csapi.jr.se.ui.CallRelatedSendInfoListener callRelatedSendInfoListener)
Removes a CallRelatedSendInfoListener which is no longer interested events generated by the CallRelatedSendInfo. |
void |
sendInfoReq(org.csapi.jr.se.ui.UIInfo info,
java.lang.String language,
org.csapi.jr.se.ui.UIVariableInfo[] variableInfo,
int repeatIndicator,
int responseRequested)
This asynchronous method plays an announcement or sends other information to the user. |
Methods inherited from interface org.csapi.jr.se.Activity |
addActivityStateChangeListener, getState, removeActivityStateChangeListener |
Method Detail |
public org.csapi.jr.se.ui.UICall getUICall()
public void addCallRelatedSendInfoListener(org.csapi.jr.se.ui.CallRelatedSendInfoListener callRelatedSendInfoListener)
callRelatedSendInfoListener
- Reference to the CallRelatedSendInfoListener
which is to be added as a listener.public void removeCallRelatedSendInfoListener(org.csapi.jr.se.ui.CallRelatedSendInfoListener callRelatedSendInfoListener)
callRelatedSendInfoListener
- Reference to the CallRelatedSendInfoListener
which is to be removed as a listener.public void sendInfoReq(org.csapi.jr.se.ui.UIInfo info, java.lang.String language, org.csapi.jr.se.ui.UIVariableInfo[] variableInfo, int repeatIndicator, int responseRequested) throws PlatformException, java.lang.IllegalStateException, CommonException, InvalidNetworkStateException, IllegalIdException
info
- Specifies the information to send to the user.language
- Specifies the language of the information to be send to the uservariableInfo
- Defines the variable part of the information to send to the userrepeatIndicator
- Defines how many times the information shall be sent to
the end-user.responseRequested
- Specifies if a response is required from the call user
interaction service, and any action the service should take
PlatformException
- if the implementation
detected an internal (for example, communication) error
java.lang.IllegalStateException
- if the JR API
object is not in a state suitable for the invocation
CommonException
- defines the structure
of the exception class which is applicable to all methods
InvalidNetworkStateException
- if the sequence of
method calls is allowed by the gateway but the underlying protocol can
not support it
IllegalIdException
- if an information id
specified is invalidpublic void abortActionReq() throws PlatformException, java.lang.IllegalStateException, CommonException
PlatformException
- if the implementation
detected an internal (for example, communication) error
java.lang.IllegalStateException
- if the JR API
object is not in a state suitable for the invocation
CommonException
- defines the structure
of the exception class which is applicable to all methods
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |