Package com.streamwide.smartms.lib.core.api_ktx.call.events

Types

Link copied to clipboard
class ActiveCameraChangeEvents(    val eventType: String,     var call: STWVCall,     var oldCamera: STWCamera?,     var newCamera: STWCamera) : VoipEvents

Data class to be used to handle the change of video capture source

Link copied to clipboard
class AudibleCallChangedEvent(val sessionId: String?, val panning: Int) : VoipEvents

Event sent to handle the change of the audible call of a given session. The event holds the sessionId of the audible call (or null when there is no more audio), and the corresponding STWPanning.

Link copied to clipboard
annotation class AudioEventType
Link copied to clipboard
class AudioOutPutChanged(val eventType: String, var newAudioOutput: Int) : VoipEvents

Data class to be used to handle the change of audio output

Link copied to clipboard
annotation class CallStateEventsType
Link copied to clipboard
class CellularCallEvent(val eventType: String) : VoipEvents

Event sent to handle the change of cellular Call State The states handled are Started, Ended and Missed each states is defined by the @param eventType described in CellularCallEventsType

Link copied to clipboard
annotation class CellularCallEventsType
Link copied to clipboard
class ControlledSessionChanged(val sessionId: String) : FloorEvent

Event to be received when the active PTT session , or the session which will be controlled will be changed. sessionId the identifier of the new controlled PTT session

Link copied to clipboard
class EmergencyChangedEvent(val isEmergencySession: Boolean, val sessionId: String) : SessionUpdatedEvent
Link copied to clipboard
class ExternalCameraPlugEvents(val eventType: String, var camera: STWExternalCamera?) : VoipEvents

Data class to be used to handle the plug/unplug of an external camera

Link copied to clipboard
open class FloorControlStatus(    val sessionId: String,     val floorState: Int,     val eventType: String) : FloorEvent

Event to be received when the floor state is changed. The floorState can be one of the values described in STWPTTCall.STWVCallFloorState the eventType can be one of the values described in PttFloorState

Link copied to clipboard
open class FloorEvent(val eventType: String, val sessionId: String) : VoipSessionEvents
Link copied to clipboard
class FloorOwnerUpdated(val sessionId: String, val floorOwnerName: String) : FloorEvent

Event to be received when the floor owner name is changed. This can happen for external users connected to a PTT session

Link copied to clipboard
enum FloorRevokeReason : Enum<FloorRevokeReason>
Link copied to clipboard
interface IDenyToTransmitChangesFromCug
Link copied to clipboard
class LargeGroupEvent(val isLargeGroup: Boolean, val sessionId: String) : SessionUpdatedEvent
Link copied to clipboard
object MediaCallEvent
Link copied to clipboard
open class ParticipantEvents(    val eventType: String,     val sessionId: String,     val voipParticipant: VoipParticipant) : ParticipantStateEvents

Events sent to handle the change of VoipParticipant State . The possible states are joined, left, refused, reached, on hold, resumed, connected, reconnecting and invited For the state ParticipantStateEventsType.VOIP_CALL_PARTICIPANT_INVITED the event is ParticipantInvitedEvents type Each states is defined by the @param eventType describe in ParticipantStateEventsType class The Event contain the session Identifier as String type and the voipParticipant as type VoipParticipant

Link copied to clipboard
class ParticipantInvitedEvents(    val eventType: String,     val sessionId: String,     val voipParticipants: List<VoipParticipant>,     val oldSessionId: String?) : ParticipantStateEvents

The Event contain the session Identifier as String type , the voipParticipant as type VoipParticipant and the old Session id as String

Link copied to clipboard
class ParticipantLeftEvent(    val eventType: String,     val sessionId: String,     val voipParticipant: VoipParticipant,     val participantState: Int) : ParticipantEvents
Link copied to clipboard
class ParticipantListUpdated(val sessionId: String, val participantMap: Map<Int, List<VoipParticipant>?>) : VoipSessionEvents

Event sent to handle the change of the participant list of a given session The event holds the sessionId of the call and a Map of STWParticipantState with the list of participants represented VoipParticipant

Link copied to clipboard
abstract class ParticipantStateEvents(val eventType: String, val sessionId: String) : VoipSessionEvents
Link copied to clipboard
annotation class ParticipantStateEventsType
Link copied to clipboard
annotation class ParticipantUpdateEventType
Link copied to clipboard
annotation class PttFloorState
Link copied to clipboard
sealed class ReceivedCallEvent : VoipEvents
Link copied to clipboard
open class SessionStateEvents(val eventType: String, val sessionId: String) : VoipSessionEvents

Events sent to handle the change of Session State . The possible states are Started , Calling, In call, Connected,Reconnecting, Resumed, On Hold, Stopped and Closed Each states is defined by the @param eventType described in CallStateEventsType class The Event contains the session Identifier as String type

Link copied to clipboard
class SessionStoppedEvent(    val sessionId: String,     val reason: Int,     val callType: Int) : SessionStateEvents
Link copied to clipboard
open class SessionUpdatedEvent(val eventType: String, val sessionId: String) : VoipSessionEvents
Link copied to clipboard
annotation class SessionUpdatedEventType
Link copied to clipboard
class TransferEvent(    val eventType: String,     val sessionId: String,     val transferTo: VoipParticipant) : VoipSessionEvents
Link copied to clipboard
annotation class TransferEventType
Link copied to clipboard
class TransferFeature(val enabled: Boolean) : STWEvent
Link copied to clipboard
class VisitorChannelDeleted(val deleteCount: Any? = null, val eventType: String) : VoipEvents
Link copied to clipboard
annotation class VisitorChannelEventsType
Link copied to clipboard
class VisitorChannelInserted(val channelItem: Any? = null, val eventType: String) : VoipEvents
Link copied to clipboard
class VisitorChannelItemDeleted(val eventType: String) : VoipEvents
Link copied to clipboard
class VisitorChannelItemInserted(val groupId: Long, val eventType: String) : VoipEvents
Link copied to clipboard
open class VoipEvents(val eventType: String) : STWEvent
Link copied to clipboard
sealed class VoIPFeatureChanges : FeatureEvents

This class is used to represent changes to VoIP features.

Link copied to clipboard
Link copied to clipboard
open class VoipSessionEvents(val eventType: String, val sessionId: String) : VoipEvents