Companion

object Companion

Types

Link copied to clipboard
data class EventTransferBegun(val id: String, val name: String)

Event information for EVENT_TRANSFER_BEGUN

Link copied to clipboard
data class EventTransferEnded(val id: String, val name: String)

Event information for EVENT_TRANSFER_ENDED

Link copied to clipboard
data class EventTransferProgress(    val id: String,     val name: String,     val size: Number,     val remBytes: Number,     val percentage: Number)

Event information for EVENT_TRANSFER_PROGRESS

Properties

Link copied to clipboard
const val EVENT_CONTACT_JOINED: String

Fired when a contact joined the conversation

Link copied to clipboard
const val EVENT_CONTACT_LEFT: String

Fired when a contact left the conversation

Link copied to clipboard
const val EVENT_HANGUP: String

Fired when a publish or subscribe is terminated

Link copied to clipboard
const val EVENT_JOIN: String
Link copied to clipboard
const val EVENT_MESSAGE: String

Fired when a message is received from contact in the conversation

Link copied to clipboard
const val EVENT_NEW_MEDIA_AVAILABLE: String

Fired when a new media is available in the conversation. Usage: conversation.on(EVENT_NEW_MEDIA_AVAILABLE) { val sender = it\[0\] as Contact.html ; val cloudMediaInfo = it\[1\] as CloudMediaInfo }

Link copied to clipboard
const val EVENT_STREAM_ADDED: String

Fired when a stream is added

Link copied to clipboard
const val EVENT_STREAM_LIST_CHANGED: String

Fired when stream list has changed

Link copied to clipboard
const val EVENT_STREAM_REMOVED: String

Fired when a stream is removed

Link copied to clipboard
const val EVENT_TRANSFER_BEGUN: String

Fired when a transfer begun (push data). Usage: conversation.on(EVENT_TRANSFER_BEGUN) { val event = it\[0\] as EventTransferBegun }

Link copied to clipboard
const val EVENT_TRANSFER_ENDED: String

Fired when a transfer ended (push data). Usage: conversation.on(EVENT_TRANSFER_ENDED) { val event = it\[0\] as EventTransferEnded }

Link copied to clipboard
const val EVENT_TRANSFER_PROGRESS: String

Fired with progress status during a transfer (push data). Usage: conversation.on(EVENT_TRANSFER_PROGRESS) { val event = it\[0\] as EventTransferProgress }