public class ImsCall.ImsCallSessionListenerProxy extends ImsCallSession.Listener
Constructor and Description |
---|
ImsCallSessionListenerProxy() |
Modifier and Type | Method and Description |
---|---|
void |
callSessionConferenceExtended(ImsCallSession session,
ImsCallSession newSession,
ImsCallProfile profile)
Called when the session is extended to the conference session.
|
void |
callSessionConferenceExtendFailed(ImsCallSession session,
ImsReasonInfo reasonInfo)
Called when the conference extension is failed.
|
void |
callSessionConferenceExtendReceived(ImsCallSession session,
ImsCallSession newSession,
ImsCallProfile profile)
Called when the conference extension is received from the remote user.
|
void |
callSessionConferenceStateUpdated(ImsCallSession session,
ImsConferenceState state)
Called when the conference state is updated.
|
void |
callSessionHandover(ImsCallSession session,
int srcAccessTech,
int targetAccessTech,
ImsReasonInfo reasonInfo)
Called when session access technology changes
|
void |
callSessionHandoverFailed(ImsCallSession session,
int srcAccessTech,
int targetAccessTech,
ImsReasonInfo reasonInfo)
Called when session access technology change fails
|
void |
callSessionHeld(ImsCallSession session,
ImsCallProfile profile)
Called when the session is in hold.
|
void |
callSessionHoldFailed(ImsCallSession session,
ImsReasonInfo reasonInfo)
Called when the session hold is failed.
|
void |
callSessionHoldReceived(ImsCallSession session,
ImsCallProfile profile)
Called when the session hold is received from the remote user.
|
void |
callSessionInviteParticipantsRequestDelivered(ImsCallSession session)
Called when the invitation request of the participants is delivered to the conference
server.
|
void |
callSessionInviteParticipantsRequestFailed(ImsCallSession session,
ImsReasonInfo reasonInfo)
Called when the invitation request of the participants is failed.
|
void |
callSessionMergeComplete(ImsCallSession newSession)
We received a callback from ImsCallSession that merge completed.
|
void |
callSessionMergeFailed(ImsCallSession session,
ImsReasonInfo reasonInfo)
Called when the session merge has failed.
|
void |
callSessionMergeStarted(ImsCallSession session,
ImsCallSession newSession,
ImsCallProfile profile)
Called when the session merge has been started.
|
void |
callSessionMultipartyStateChanged(ImsCallSession session,
boolean isMultiParty)
Notifies of a change to the multiparty state for this
ImsCallSession . |
void |
callSessionProgressing(ImsCallSession session,
ImsStreamMediaProfile profile)
Called when a request is sent out to initiate a new session
and 1xx response is received from the network.
|
void |
callSessionRemoveParticipantsRequestDelivered(ImsCallSession session)
Called when the removal request of the participants is delivered to the conference
server.
|
void |
callSessionRemoveParticipantsRequestFailed(ImsCallSession session,
ImsReasonInfo reasonInfo)
Called when the removal request of the participants is failed.
|
void |
callSessionResumed(ImsCallSession session,
ImsCallProfile profile)
Called when the session resume is done.
|
void |
callSessionResumeFailed(ImsCallSession session,
ImsReasonInfo reasonInfo)
Called when the session resume is failed.
|
void |
callSessionResumeReceived(ImsCallSession session,
ImsCallProfile profile)
Called when the session resume is received from the remote user.
|
void |
callSessionStarted(ImsCallSession session,
ImsCallProfile profile)
Called when the session is established.
|
void |
callSessionStartFailed(ImsCallSession session,
ImsReasonInfo reasonInfo)
Called when the session establishment is failed.
|
void |
callSessionSuppServiceReceived(ImsCallSession session,
ImsSuppServiceNotification suppServiceInfo)
Called when the session supplementary service is received
|
void |
callSessionTerminated(ImsCallSession session,
ImsReasonInfo reasonInfo)
Called when the session is terminated.
|
void |
callSessionTtyModeReceived(ImsCallSession session,
int mode)
Called when TTY mode of remote party changed
|
void |
callSessionUpdated(ImsCallSession session,
ImsCallProfile profile)
Called when the session is updated (except for hold/unhold).
|
void |
callSessionUpdateFailed(ImsCallSession session,
ImsReasonInfo reasonInfo)
Called when the session update is failed.
|
void |
callSessionUpdateReceived(ImsCallSession session,
ImsCallProfile profile)
Called when the session update is received from the remote user.
|
void |
callSessionUssdMessageReceived(ImsCallSession session,
int mode,
String ussdMessage)
Called when the USSD message is received from the network.
|
public void callSessionProgressing(ImsCallSession session, ImsStreamMediaProfile profile)
ImsCallSession.Listener
callSessionProgressing
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionStarted(ImsCallSession session, ImsCallProfile profile)
ImsCallSession.Listener
callSessionStarted
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionStartFailed(ImsCallSession session, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionStartFailed
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionreasonInfo
- detailed reason of the session establishment failurepublic void callSessionTerminated(ImsCallSession session, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionTerminated
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionreasonInfo
- detailed reason of the session terminationpublic void callSessionHeld(ImsCallSession session, ImsCallProfile profile)
ImsCallSession.Listener
callSessionHeld
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionHoldFailed(ImsCallSession session, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionHoldFailed
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionreasonInfo
- detailed reason of the session hold failurepublic void callSessionHoldReceived(ImsCallSession session, ImsCallProfile profile)
ImsCallSession.Listener
callSessionHoldReceived
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionResumed(ImsCallSession session, ImsCallProfile profile)
ImsCallSession.Listener
callSessionResumed
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionResumeFailed(ImsCallSession session, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionResumeFailed
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionreasonInfo
- detailed reason of the session resume failurepublic void callSessionResumeReceived(ImsCallSession session, ImsCallProfile profile)
ImsCallSession.Listener
callSessionResumeReceived
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionMergeStarted(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile)
ImsCallSession.Listener
newSession
represents the session which has been initiated to the IMS conference server for the
new merged conference.callSessionMergeStarted
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionnewSession
- the session object that is merged with an active & hold sessionpublic void callSessionMergeComplete(ImsCallSession newSession)
callSessionMergeComplete
in class ImsCallSession.Listener
newSession
- - this session can have 2 values based on the below scenarios
Conference Scenarios :
Case 1 - 3 way success case
Case 2 - 3 way success case but held call fails to merge
Case 3 - 3 way success case but active call fails to merge
case 4 - 4 way success case, where merge is initiated on the foreground single-party
call and the conference (mergeHost) is the background call.
case 5 - 4 way success case, where merge is initiated on the foreground conference
call (mergeHost) and the single party call is in the background.
Conference Result:
session : new session after conference
newSession = new session for case 1, 2, 3.
Should be considered as mTransientConferencession
newSession = Active conference session for case 5 will be null
mergehost was foreground call
mTransientConferencession will be null
newSession = Active conference session for case 4 will be null
mergeHost was background call
mTransientConferencession will be nullpublic void callSessionMergeFailed(ImsCallSession session, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionMergeFailed
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionreasonInfo
- detailed reason of the call merge failurepublic void callSessionUpdated(ImsCallSession session, ImsCallProfile profile)
ImsCallSession.Listener
callSessionUpdated
in class ImsCallSession.Listener
public void callSessionUpdateFailed(ImsCallSession session, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionUpdateFailed
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionreasonInfo
- detailed reason of the session update failurepublic void callSessionUpdateReceived(ImsCallSession session, ImsCallProfile profile)
ImsCallSession.Listener
callSessionUpdateReceived
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionConferenceExtended(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile)
ImsCallSession.Listener
callSessionConferenceExtended
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionnewSession
- the session object that is extended to the conference
from the active sessionpublic void callSessionConferenceExtendFailed(ImsCallSession session, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionConferenceExtendFailed
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionreasonInfo
- detailed reason of the conference extension failurepublic void callSessionConferenceExtendReceived(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile)
ImsCallSession.Listener
callSessionConferenceExtendReceived
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionInviteParticipantsRequestDelivered(ImsCallSession session)
ImsCallSession.Listener
callSessionInviteParticipantsRequestDelivered
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionInviteParticipantsRequestFailed(ImsCallSession session, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionInviteParticipantsRequestFailed
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionreasonInfo
- detailed reason of the conference invitation failurepublic void callSessionRemoveParticipantsRequestDelivered(ImsCallSession session)
ImsCallSession.Listener
callSessionRemoveParticipantsRequestDelivered
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionRemoveParticipantsRequestFailed(ImsCallSession session, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionRemoveParticipantsRequestFailed
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionreasonInfo
- detailed reason of the conference removal failurepublic void callSessionConferenceStateUpdated(ImsCallSession session, ImsConferenceState state)
ImsCallSession.Listener
callSessionConferenceStateUpdated
in class ImsCallSession.Listener
session
- the session object that carries out the IMS sessionpublic void callSessionUssdMessageReceived(ImsCallSession session, int mode, String ussdMessage)
ImsCallSession.Listener
callSessionUssdMessageReceived
in class ImsCallSession.Listener
mode
- mode of the USSD message (REQUEST / NOTIFY)ussdMessage
- USSD messagepublic void callSessionTtyModeReceived(ImsCallSession session, int mode)
ImsCallSession.Listener
callSessionTtyModeReceived
in class ImsCallSession.Listener
session
- IMS session objectmode
- TTY mode of remote partypublic void callSessionMultipartyStateChanged(ImsCallSession session, boolean isMultiParty)
ImsCallSession
.callSessionMultipartyStateChanged
in class ImsCallSession.Listener
session
- The call session.isMultiParty
- true
if the session became multiparty, false
otherwise.public void callSessionHandover(ImsCallSession session, int srcAccessTech, int targetAccessTech, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionHandover
in class ImsCallSession.Listener
session
- IMS session objectsrcAccessTech
- original access technologytargetAccessTech
- new access technologypublic void callSessionHandoverFailed(ImsCallSession session, int srcAccessTech, int targetAccessTech, ImsReasonInfo reasonInfo)
ImsCallSession.Listener
callSessionHandoverFailed
in class ImsCallSession.Listener
session
- IMS session objectsrcAccessTech
- original access technologytargetAccessTech
- new access technologyreasonInfo
- handover failure reasonpublic void callSessionSuppServiceReceived(ImsCallSession session, ImsSuppServiceNotification suppServiceInfo)
ImsCallSession.Listener
callSessionSuppServiceReceived
in class ImsCallSession.Listener
session
- the session object that carries out the IMS session