Package-level declarations

Types

Link copied to clipboard
actual class AttachedFile : IAttachment

Android specific AttachedFile

expect class AttachedFile : IAttachment
actual data class AttachedFile : IAttachment

Swift specific AttachedFile

Link copied to clipboard
class CFlow<T> : Flow<T>

This is a wrapper for Flow that can be used for Swift. It extends Flow and provides a watch method with which you can use Flow synchronously.

Link copied to clipboard
Link copied to clipboard
fun interface Closeable

Interface that may be used for close listener of CFlow

Link copied to clipboard
abstract class CommonSettings

General settings of library. Parameter values, authToken, baseHost, wsHost, storageHost must be taken from the widget settings.

Link copied to clipboard
typealias HttpClient = OkHttpClient
Link copied to clipboard
interface IAttachment

Interface of attached file.

Link copied to clipboard
interface IChat2Desk

Interface that may be used for connect to Chat2Desk, make and receive messages.

Link copied to clipboard
typealias LogLevel = io.ktor.client.plugins.logging.LogLevel
Link copied to clipboard
actual data class Settings : CommonSettings

General settings of library. Parameter values, authToken, baseHost, wsHost, storageHost must be taken from the widget settings.

expect class Settings : CommonSettings
actual data class Settings : CommonSettings

General settings of library. Parameter values, authToken, baseHost, wsHost, storageHost must be taken from the widget settings.

Functions

Link copied to clipboard

Create the library client. You must set the Android context Context, and Settings.

Create the library client. You must set the Settings.

Link copied to clipboard
suspend fun Chat2Desk.Companion.flushAll(context: Context)

Remove all library data like IChat2Desk.messages, IChat2Desk.clientPhone. After reset, you need to call IChat2Desk.start to start using the library.

Remove all library data like IChat2Desk.messages, IChat2Desk.clientPhone. After reset, you need to call IChat2Desk.start to start using the library.

Link copied to clipboard
fun <Error class: unknown class>.toByteArray(): ByteArray

Transform Swift NSData to Kotlin ByteArray

Link copied to clipboard

Wrapper for connection status

Link copied to clipboard

Wrapper for custom fields list

Link copied to clipboard

Wrapper for errors

Link copied to clipboard

Wrapper for message list

Link copied to clipboard

Wrapper for operator