Events

interface Events

화상회의 이벤트 callback

Types

Link copied to clipboard
open class Adapter : EventsCallback

Functions

Link copied to clipboard
abstract fun onConnected(participants: List<RemoteParticipant>)

접속 완료

Link copied to clipboard
abstract fun onConnecting(progress: Float)

접속 진행 중

Link copied to clipboard
abstract fun onDisconnected(reason: DisconnectedReason)

접속 중단

Link copied to clipboard
abstract fun onError(code: Int, message: String, isFatal: Boolean)

오류 발생

Link copied to clipboard
abstract fun onLocalAudioPublished(audio: LocalAudio)

audio 게시됨

Link copied to clipboard
abstract fun onLocalAudioUnpublished(audio: LocalAudio)

audio 게시 취소됨

Link copied to clipboard
abstract fun onLocalVideoPublished(video: LocalVideo)

video 게시됨

Link copied to clipboard
abstract fun onLocalVideoUnpublished(video: LocalVideo)

video 게시 취소됨

Link copied to clipboard
abstract fun onParticipantEntered(participant: RemoteParticipant)
Link copied to clipboard
abstract fun onParticipantLeft(participant: RemoteParticipant)
Link copied to clipboard
abstract fun onRemoteAudioPublished(participant: RemoteParticipant, audio: RemoteAudio)

participantaudio를 게시함

Link copied to clipboard
abstract fun onRemoteAudioStateChanged(participant: RemoteParticipant, audio: RemoteAudio)

participantaudio의 상태를 변경함

Link copied to clipboard
abstract fun onRemoteAudioSubscribed(participant: RemoteParticipant, audio: RemoteAudio)

participantaudio가 (자동으로) 구독됨

Link copied to clipboard
abstract fun onRemoteAudioUnpublished(participant: RemoteParticipant, audio: RemoteAudio)

participantaudio를 게시 취소함

Link copied to clipboard
abstract fun onRemoteAudioUnsubscribed(participant: RemoteParticipant, audio: RemoteAudio)

participantaudio가 (자동으로) 구독 해제됨

Link copied to clipboard
abstract fun onRemoteVideoPublished(participant: RemoteParticipant, video: RemoteVideo)

participantvideo를 게시함

Link copied to clipboard
abstract fun onRemoteVideoStateChanged(participant: RemoteParticipant, video: RemoteVideo)

participantvideo의 상태를 변경함

Link copied to clipboard
abstract fun onRemoteVideoUnpublished(participant: RemoteParticipant, video: RemoteVideo)

participantvideo를 게시 취소함

Link copied to clipboard
abstract fun onStat(stat: QualityStat)

5초 주기로 해당 Room 에서의 상태정보 stat을 수신

Link copied to clipboard
abstract fun onUserMessage(senderId: ParticipantId, message: String, type: String)

senderId 에게 구분 typemessage를 수신

Inheritors

Link copied to clipboard