ISession

interface ISession

An interaction session

Functions

getCalledDisplayName
Link copied to clipboard
abstract fun getCalledDisplayName(): String
String the original called display name associated to this call if any
getCallId
Link copied to clipboard
abstract fun getCallId(): String
String the session id.
getCallReference
Link copied to clipboard
abstract fun getCallReference(): String
String the session reference.
getCallSubject
Link copied to clipboard
abstract fun getCallSubject(): String
String the subject of the call if any
getCorrelatorData
Link copied to clipboard
abstract fun getCorrelatorData(): String
String the correlator data.
getGlobalCallId
Link copied to clipboard
abstract fun getGlobalCallId(): String
String the global call id.
getHuntingGroupName
Link copied to clipboard
abstract fun getHuntingGroupName(): String
String the hunting group name associated to this call if any
getLegId
Link copied to clipboard
abstract fun getLegId(): String
String the leg id.
getNumber
Link copied to clipboard
abstract fun getNumber(): String
String the caller number for incoming calls or the callee number for outgoing calls
getParticipants
Link copied to clipboard
abstract fun getParticipants(): Array<IRainbowContact>
Contact[] the participant to this session.
getStartTime
Link copied to clipboard
abstract fun getStartTime(): Long
long the call start time
getState
Link copied to clipboard
abstract fun getState(): MediaState
MediaState of this session.
getTime
Link copied to clipboard
abstract fun getTime(): Int
int of the time in second for the state.
getWebRTCCall
Link copied to clipboard
abstract fun getWebRTCCall(): WebRTCCall
associated Voip call if any.
isConference
Link copied to clipboard
abstract fun isConference(): Boolean
boolean to determine if the session is a conference or not (check the number of participants)
isHeldByDistant
Link copied to clipboard
abstract fun isHeldByDistant(): Boolean
boolean to know if the MediaState.