Companion

object Companion

Properties

Link copied to clipboard
const val EVENT_CONNECT: String
Link copied to clipboard
const val EVENT_CONTACT_DATA: String

Fired when data is received from a contact Usage: session.on(Session.EVENT_CONTACT_DATA) { val message = it\[0\] as Session.DataMessage.html }

Link copied to clipboard
const val EVENT_CONTACT_LIST_UPDATE: String

Fired when the contact list has been updated. The contact list is updated when a contact leaves a group, joins a group or if its user data changed

Link copied to clipboard
const val EVENT_CONTACT_MESSAGE: String

Fired when a message is received from a contact

Link copied to clipboard
const val EVENT_DISCONNECT: String

Fired on disconnection with CCS server

Link copied to clipboard
const val EVENT_ERROR: String

Fired when an error is detected on connection with CCS server

Link copied to clipboard
const val EVENT_FILE_TRANSFER_INVITATION: String

Fired when a file transfer invitation is received Usage: session.on(Session.EVENT_FILE_TRANSFER_INVITATION) { val receivedFileTransferInvitation = it\[0\] as ReceivedFileTransferInvitation }

Link copied to clipboard
const val EVENT_RECONNECTION: String

Fired when connectivity to the network has been recovered