ProgressIndicatorModel

open class ProgressIndicatorModel(conversationEntry: ConversationEntry, entries: List<ConversationEntry> = when (conversationEntry.entryType) { ConversationEntryType.QueuePosition -> listOf(conversationEntry) else -> emptyList() }) : ChatFeedEntry.TypingIndicatorModel

A progress indicator that represents either response activity or the user's position in a routing queue.

This extends TypingIndicatorModel to also cover queue position events. Use isTypingIndicatorEntry to distinguish between response activity and queue position scenarios when rendering custom UI.

Parameters

conversationEntry

The underlying conversation entry (typing indicator or queue position event).

entries

The list of active indicator entries. For queue position events, this defaults to a list containing only the queue position entry itself.

Constructors

Link copied to clipboard
constructor(conversationEntry: ConversationEntry, entries: List<ConversationEntry> = when (conversationEntry.entryType) { ConversationEntryType.QueuePosition -> listOf(conversationEntry) else -> emptyList() })

Properties

Link copied to clipboard
open override val contentType: String

Identifies the type of content this entry represents. For conversation entries this matches the ConversationEntryType name; for synthetic entries it matches an internal type name. Useful for filtering or logging entry types.

Link copied to clipboard
open override val conversationId: UUID
Link copied to clipboard
Link copied to clipboard
open override val entryId: String
Link copied to clipboard
open override val entryType: ConversationEntryType
Link copied to clipboard
open override val error: NetworkError?
Link copied to clipboard
open override val identifier: String
Link copied to clipboard

true if at least one remote participant is actively typing.

Link copied to clipboard

true if this progress indicator represents a typing event rather than a queue position update.

Link copied to clipboard
open override val keyId: String

A stable identifier for this entry within the feed, suitable for use as a list item key in Compose lazy lists or RecyclerView adapters.

Link copied to clipboard
open override val modality: Modality?
Link copied to clipboard

The remote participants who are currently typing, with their display names resolved.

Link copied to clipboard
open override val payload: EntryPayload
Link copied to clipboard
open override val sender: Participant
Link copied to clipboard
open override val senderDisplayName: String
Link copied to clipboard
open override val status: ConversationEntryStatus
Link copied to clipboard
open override val timestamp: Long

The epoch timestamp (in milliseconds) when this entry was created or received.