sdk (5 of 5)
no.kindly.chatsdk.chat.sdk.data.entity.settings
WelcomePageDataSDK
data class
@Serializable
data class WelcomePageDataSDK(val image: String?, val type: String?, val header: Map<String, String>?, val text: Map<String, String>?, val startButton: Map<String, String>?)Member | Declaration | Description |
|---|---|---|
WelcomePageDataSDK | constructor(image: String?, type: String?, header: Map<String, String>?, text: Map<String, String>?, startButton: Map<String, String>?) | |
header | val header: Map<String, String>? | |
image | val image: String? | |
startButton | @SerialName(value = "start_button") val startButton: Map<String, String>? | |
text | val text: Map<String, String>? | |
type | val type: String? | |
no.kindly.chatsdk.chat.sdk.data.mapper
toButtonData
function
fun toButtonData(item: ButtonSDK): ButtonDataSDKtoFileAttachment
function
fun AttachmentResponse.toFileAttachment(): FileAttachmenttoInitialData
function
fun toInitialData(connectionResponse: ConnectionResponse): ConnectiondDatatoListButtonData
function
fun toListButtonData(list: List<ButtonSDK>): List<ButtonDataSDK>toListButtonSDK
function
fun toListButtonSDK(list: List<ButtonDataSDK>): List<ButtonSDK>toMessageData
function
fun toMessageData(data: MessageSDK): MessageDatatoSDKMessage
function
fun toSDKMessage(data: MessageData): MessageDataSDKno.kindly.chatsdk.chat.sdk.data.store.entity
SystemDialogueCategoryType
enum
enum SystemDialogueCategoryType : Enum<SystemDialogueCategoryType>Member | Declaration | Description |
|---|---|---|
TAKEOVER | TAKEOVER | |
UNKNOWN | UNKNOWN | |
entries | val entries: EnumEntries<SystemDialogueCategoryType> | Returns a representation of an immutable list of all enum entries, in the order they're declared. This method may be used to iterate over the enum entries. |
rawValue | val rawValue: String | |
valueOf | fun valueOf(value: String): SystemDialogueCategoryType | Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) Throws - kotlin.IllegalArgumentException: if this enum type has no constant with the specified name |
values | fun values(): Array<SystemDialogueCategoryType> | Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants. |
SystemDialogueCategoryType.Companion
object
object CompanionMember | Declaration | Description |
|---|---|---|
fromString | fun fromString(value: String?): SystemDialogueCategoryType | |
SystemDialogueMessageType
enum
enum SystemDialogueMessageType : Enum<SystemDialogueMessageType>Member | Declaration | Description |
|---|---|---|
REQUEST | REQUEST | |
START | START | |
END | END | |
CANCEL | CANCEL | |
LIVE_TRANSLATION_START | LIVE_TRANSLATION_START | |
LIVE_TRANSLATION_END | LIVE_TRANSLATION_END | |
COMPLIANCE | COMPLIANCE | |
UNKNOWN | UNKNOWN | |
entries | val entries: EnumEntries<SystemDialogueMessageType> | Returns a representation of an immutable list of all enum entries, in the order they're declared. This method may be used to iterate over the enum entries. |
rawValue | val rawValue: String | |
valueOf | fun valueOf(value: String): SystemDialogueMessageType | Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) Throws - kotlin.IllegalArgumentException: if this enum type has no constant with the specified name |
values | fun values(): Array<SystemDialogueMessageType> | Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants. |
SystemDialogueMessageType.Companion
object
object CompanionMember | Declaration | Description |
|---|---|---|
fromString | fun fromString(value: String?): SystemDialogueMessageType | |
no.kindly.chatsdk.chat.sdk.domain
HandoverState
enum
enum HandoverState : Enum<HandoverState>Member | Declaration | Description |
|---|---|---|
NONE | NONE | |
REQUESTED | REQUESTED | |
STARTED | STARTED | |
ENDED | ENDED | |
entries | val entries: EnumEntries<HandoverState> | Returns a representation of an immutable list of all enum entries, in the order they're declared. This method may be used to iterate over the enum entries. |
valueOf | fun valueOf(value: String): HandoverState | Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) Throws - kotlin.IllegalArgumentException: if this enum type has no constant with the specified name |
values | fun values(): Array<HandoverState> | Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants. |
KindlyConnectionState
enum
enum KindlyConnectionState : Enum<KindlyConnectionState>Member | Declaration | Description |
|---|---|---|
NONE | NONE | |
DISCONNECTED | DISCONNECTED | |
DISCONNECTING | DISCONNECTING | |
CONNECTING | CONNECTING | |
CONNECTED | CONNECTED | |
FAILED | FAILED | |
entries | val entries: EnumEntries<KindlyConnectionState> | Returns a representation of an immutable list of all enum entries, in the order they're declared. This method may be used to iterate over the enum entries. |
valueOf | fun valueOf(value: String): KindlyConnectionState | Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) Throws - kotlin.IllegalArgumentException: if this enum type has no constant with the specified name |
values | fun values(): Array<KindlyConnectionState> | Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants. |