Package com.twilio.conversations

Types

AggregatedDeliveryReceipt
Link copied to clipboard
open class AggregatedDeliveryReceipt
Contains aggregated information about a Message's delivery statuses across all participants of a Conversation.
Attributes
Link copied to clipboard
open class Attributes
Attributes representation, can be set to Conversation, User, Participant or Message.
CallbackListener
Link copied to clipboard
interface CallbackListener<T>
Listener interface for a generic listener object.
CancellationToken
Link copied to clipboard
interface CancellationToken
Interface for cancelling a network request.
Conversation
Link copied to clipboard
interface Conversation
Container for conversation object.
ConversationLimits
Link copied to clipboard
data class ConversationLimits(mediaAttachmentsCountLimit: Int, mediaAttachmentSizeLimitInMb: Int, mediaAttachmentsTotalSizeLimitInMb: Int, emailBodiesAllowedContentTypes: List<String>, emailHistoriesAllowedContentTypes: List<String>)

Limits for attachments per each message in a conversation.

ConversationListener
Link copied to clipboard
interface ConversationListener
Listener interface to report conversation operations such as participant join/leave and messages add/delete/update.
ConversationsClient
Link copied to clipboard
interface ConversationsClient
Conversations client - main entry point for the Conversations SDK.
ConversationsClientListener
Link copied to clipboard
interface ConversationsClientListener
This interface defines ConversationsClient callback methods.
ConversationsException
Link copied to clipboard
class ConversationsException(errorInfo: ErrorInfo, cause: Throwable?) : Exception

Exception class that contains ErrorInfo object with error details.

DetailedDeliveryReceipt
Link copied to clipboard
open class DetailedDeliveryReceipt
Contains detailed information about a Message's delivery statuses to one of participants
ErrorInfo
Link copied to clipboard
data class ErrorInfo(reason: ErrorReason, status: Int, code: Int, message: String)

Representation of a Conversations Error object.

ErrorReason
Link copied to clipboard
enum ErrorReason : Enum<ErrorReason>

Human readable error reason.

ListenerException
Link copied to clipboard
class ListenerException : RuntimeException

ListenerException is thrown when exception occurred in app code that implements one of the Twilio Conversations SDK listeners, i.e in implementation of ConversationsClientListener, ConversationListener, StatusListener, CallbackListener, MediaUploadListener etc.

Media
Link copied to clipboard
interface Media

A Media represents media information of a Message in a Conversation.

MediaCategory
Link copied to clipboard
enum MediaCategory : Enum<MediaCategory>

Attachment category

MediaUploadListener
Link copied to clipboard
interface MediaUploadListener

Listener interface for media uploading progress reporting.

Message
Link copied to clipboard
interface Message
Representation of a Conversations Message object.
NotificationPayload
Link copied to clipboard
open class NotificationPayload
Helper accessor for notification data payload bundle as received from Twilio Notifications.
Participant
Link copied to clipboard
interface Participant
Representation of a Conversation Participant object.
StatusListener
Link copied to clipboard
interface StatusListener
Interface for a generic listener object.
User
Link copied to clipboard
interface User
User info object