ConversationItem


@CarProtocol
@RequiresCarApi(value = 7)
class ConversationItem : Item


Represents a text-based conversation (e.g. IM/SMS messages).

Summary

Nested types

A builder for ConversationItem

Public functions

Boolean
equals(other: Any?)
(Mutable)List<Action!>

Returns the list of additional actions.

ConversationCallbackDelegate

Returns host->client callbacks for this conversation

CarIcon?

Returns a CarIcon for the conversation, or null if not set

String

Returns a unique identifier for the conversation

(Mutable)List<CarMessage!>

Returns a list of messages for this ConversationItem

Person

Returns a Person for the conversation

CarText

Returns the title of the conversation

Int
Boolean

Returns whether this conversation involves 3+ participants (a "group" conversation)

Boolean

Returns whether this item can be included in indexed lists.

Public functions

equals

fun equals(other: Any?): Boolean

getActions

Added in 1.4.0
fun getActions(): (Mutable)List<Action!>

Returns the list of additional actions.

See also
addAction

getConversationCallbackDelegate

Added in 1.4.0
fun getConversationCallbackDelegate(): ConversationCallbackDelegate

Returns host->client callbacks for this conversation

getIcon

Added in 1.3.0
fun getIcon(): CarIcon?

Returns a CarIcon for the conversation, or null if not set

getId

Added in 1.3.0
fun getId(): String

Returns a unique identifier for the conversation

See also
setId

getMessages

Added in 1.3.0
fun getMessages(): (Mutable)List<CarMessage!>

Returns a list of messages for this ConversationItem

getSelf

Added in 1.4.0
fun getSelf(): Person

Returns a Person for the conversation

getTitle

Added in 1.3.0
fun getTitle(): CarText

Returns the title of the conversation

hashCode

fun hashCode(): Int

isGroupConversation

Added in 1.3.0
fun isGroupConversation(): Boolean

Returns whether this conversation involves 3+ participants (a "group" conversation)

isIndexable

Added in 1.7.0-beta03
@ExperimentalCarApi
fun isIndexable(): Boolean

Returns whether this item can be included in indexed lists.

See also
setIndexable