Constructor and Description |
---|
Listener() |
Modifier and Type | Method and Description |
---|---|
void |
onCallConferenceExtended(ImsCall call,
ImsCall newCall)
Called when the call is extended to the conference call.
|
void |
onCallConferenceExtendFailed(ImsCall call,
ImsReasonInfo reasonInfo)
Called when the conference extension is failed.
|
void |
onCallConferenceExtendReceived(ImsCall call,
ImsCall newCall)
Called when the conference extension is received from the remote user.
|
void |
onCallConferenceStateUpdated(ImsCall call,
ImsConferenceState state)
Called when the conference state is updated.
|
void |
onCallError(ImsCall call,
ImsReasonInfo reasonInfo)
Called when an error occurs.
|
void |
onCallHandover(ImsCall imsCall,
int srcAccessTech,
int targetAccessTech,
ImsReasonInfo reasonInfo)
Called when handover occurs from one access technology to another.
|
void |
onCallHandoverFailed(ImsCall imsCall,
int srcAccessTech,
int targetAccessTech,
ImsReasonInfo reasonInfo)
Called when handover from one access technology to another fails.
|
void |
onCallHeld(ImsCall call)
Called when the call is in hold.
|
void |
onCallHoldFailed(ImsCall call,
ImsReasonInfo reasonInfo)
Called when the call hold is failed.
|
void |
onCallHoldReceived(ImsCall call)
Called when the call hold is received from the remote user.
|
void |
onCallInviteParticipantsRequestDelivered(ImsCall call)
Called when the invitation request of the participants is delivered to
the conference server.
|
void |
onCallInviteParticipantsRequestFailed(ImsCall call,
ImsReasonInfo reasonInfo)
Called when the invitation request of the participants is failed.
|
void |
onCallMerged(ImsCall call,
ImsCall peerCall,
boolean swapCalls)
Called when the call is in call.
|
void |
onCallMergeFailed(ImsCall call,
ImsReasonInfo reasonInfo)
Called when the call merge is failed.
|
void |
onCallProgressing(ImsCall call)
Called when a request is sent out to initiate a new call
and 1xx response is received from the network.
|
void |
onCallRemoveParticipantsRequestDelivered(ImsCall call)
Called when the removal request of the participants is delivered to
the conference server.
|
void |
onCallRemoveParticipantsRequestFailed(ImsCall call,
ImsReasonInfo reasonInfo)
Called when the removal request of the participants is failed.
|
void |
onCallResumed(ImsCall call)
Called when the call is in call.
|
void |
onCallResumeFailed(ImsCall call,
ImsReasonInfo reasonInfo)
Called when the call resume is failed.
|
void |
onCallResumeReceived(ImsCall call)
Called when the call resume is received from the remote user.
|
void |
onCallSessionTtyModeReceived(ImsCall call,
int mode)
Called when TTY mode of remote party changed
|
void |
onCallStarted(ImsCall call)
Called when the call is established.
|
void |
onCallStartFailed(ImsCall call,
ImsReasonInfo reasonInfo)
Called when the call setup is failed.
|
void |
onCallStateChanged(ImsCall call)
Called when an event occurs and the corresponding callback is not
overridden.
|
void |
onCallStateChanged(ImsCall call,
int state)
Called when the call moves the hold state to the conversation state.
|
void |
onCallSuppServiceReceived(ImsCall call,
ImsSuppServiceNotification suppServiceInfo)
Called when the call supp service is received
The default implementation calls
onCallStateChanged(com.android.ims.ImsCall) . |
void |
onCallTerminated(ImsCall call,
ImsReasonInfo reasonInfo)
Called when the call is terminated.
|
void |
onCallUpdated(ImsCall call)
Called when the call is updated (except for hold/unhold).
|
void |
onCallUpdateFailed(ImsCall call,
ImsReasonInfo reasonInfo)
Called when the call update is failed.
|
void |
onCallUpdateReceived(ImsCall call)
Called when the call update is received from the remote user.
|
void |
onCallUssdMessageReceived(ImsCall call,
int mode,
String ussdMessage)
Called when the USSD message is received from the network.
|
void |
onConferenceParticipantsStateChanged(ImsCall call,
List<ConferenceParticipant> participants)
Called when the state of IMS conference participant(s) has changed.
|
void |
onMultipartyStateChanged(ImsCall imsCall,
boolean isMultiParty)
Notifies of a change to the multiparty state for this
ImsCall . |
public void onCallProgressing(ImsCall call)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callpublic void onCallStarted(ImsCall call)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callpublic void onCallStartFailed(ImsCall call, ImsReasonInfo reasonInfo)
onCallError(com.android.ims.ImsCall, com.android.ims.ImsReasonInfo)
.call
- the call object that carries out the IMS callreasonInfo
- detailed reason of the call setup failurepublic void onCallTerminated(ImsCall call, ImsReasonInfo reasonInfo)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callreasonInfo
- detailed reason of the call terminationpublic void onCallHeld(ImsCall call)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callpublic void onCallHoldFailed(ImsCall call, ImsReasonInfo reasonInfo)
onCallError(com.android.ims.ImsCall, com.android.ims.ImsReasonInfo)
.call
- the call object that carries out the IMS callreasonInfo
- detailed reason of the call hold failurepublic void onCallHoldReceived(ImsCall call)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callpublic void onCallResumed(ImsCall call)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callpublic void onCallResumeFailed(ImsCall call, ImsReasonInfo reasonInfo)
onCallError(com.android.ims.ImsCall, com.android.ims.ImsReasonInfo)
.call
- the call object that carries out the IMS callreasonInfo
- detailed reason of the call resume failurepublic void onCallResumeReceived(ImsCall call)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callpublic void onCallMerged(ImsCall call, ImsCall peerCall, boolean swapCalls)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the active IMS callpeerCall
- the call object that carries out the held IMS callswapCalls
- true
if the foreground and background calls should be swapped
now that the merge has completed.public void onCallMergeFailed(ImsCall call, ImsReasonInfo reasonInfo)
onCallError(com.android.ims.ImsCall, com.android.ims.ImsReasonInfo)
.call
- the call object that carries out the IMS callreasonInfo
- detailed reason of the call merge failurepublic void onCallUpdated(ImsCall call)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callpublic void onCallUpdateFailed(ImsCall call, ImsReasonInfo reasonInfo)
onCallError(com.android.ims.ImsCall, com.android.ims.ImsReasonInfo)
.call
- the call object that carries out the IMS callreasonInfo
- detailed reason of the call update failurepublic void onCallUpdateReceived(ImsCall call)
call
- the call object that carries out the IMS callpublic void onCallConferenceExtended(ImsCall call, ImsCall newCall)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callnewCall
- the call object that is extended to the conference from the active callpublic void onCallConferenceExtendFailed(ImsCall call, ImsReasonInfo reasonInfo)
onCallError(com.android.ims.ImsCall, com.android.ims.ImsReasonInfo)
.call
- the call object that carries out the IMS callreasonInfo
- detailed reason of the conference extension failurepublic void onCallConferenceExtendReceived(ImsCall call, ImsCall newCall)
call
- the call object that carries out the IMS callnewCall
- the call object that is extended to the conference from the active callpublic void onCallInviteParticipantsRequestDelivered(ImsCall call)
call
- the call object that carries out the IMS callpublic void onCallInviteParticipantsRequestFailed(ImsCall call, ImsReasonInfo reasonInfo)
call
- the call object that carries out the IMS callreasonInfo
- detailed reason of the conference invitation failurepublic void onCallRemoveParticipantsRequestDelivered(ImsCall call)
call
- the call object that carries out the IMS callpublic void onCallRemoveParticipantsRequestFailed(ImsCall call, ImsReasonInfo reasonInfo)
call
- the call object that carries out the IMS callreasonInfo
- detailed reason of the conference removal failurepublic void onCallConferenceStateUpdated(ImsCall call, ImsConferenceState state)
call
- the call object that carries out the IMS callstate
- state of the participant who is participated in the conference callpublic void onConferenceParticipantsStateChanged(ImsCall call, List<ConferenceParticipant> participants)
call
- the call object that carries out the IMS call.participants
- the participant(s) and their new state information.public void onCallUssdMessageReceived(ImsCall call, int mode, String ussdMessage)
mode
- mode of the USSD message (REQUEST / NOTIFY)ussdMessage
- USSD messagepublic void onCallError(ImsCall call, ImsReasonInfo reasonInfo)
onCallError(com.android.ims.ImsCall, com.android.ims.ImsReasonInfo)
.call
- the call object that carries out the IMS callreasonInfo
- detailed reason of this errorImsReasonInfo
public void onCallStateChanged(ImsCall call)
onCallError(com.android.ims.ImsCall, com.android.ims.ImsReasonInfo)
.call
- the call object that carries out the IMS callpublic void onCallStateChanged(ImsCall call, int state)
call
- the call object that carries out the IMS callstate
- the detailed state of call state changes;
Refer to CALL_STATE_* in ImsCall
public void onCallSuppServiceReceived(ImsCall call, ImsSuppServiceNotification suppServiceInfo)
onCallStateChanged(com.android.ims.ImsCall)
.call
- the call object that carries out the IMS callpublic void onCallSessionTtyModeReceived(ImsCall call, int mode)
call
- the call object that carries out the IMS callmode
- TTY mode of remote partypublic void onCallHandover(ImsCall imsCall, int srcAccessTech, int targetAccessTech, ImsReasonInfo reasonInfo)
imsCall
- ImsCall objectsrcAccessTech
- original access technologytargetAccessTech
- new access technologyreasonInfo
- public void onCallHandoverFailed(ImsCall imsCall, int srcAccessTech, int targetAccessTech, ImsReasonInfo reasonInfo)
imsCall
- call that failed the handover.srcAccessTech
- original access technologytargetAccessTech
- new access technologyreasonInfo
- public void onMultipartyStateChanged(ImsCall imsCall, boolean isMultiParty)
ImsCall
.imsCall
- The IMS call.isMultiParty
- true
if the call became multiparty, false
otherwise.