ConversationItem

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


Represents a conversation

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)

Public functions

equals

Added in 1.4.0-rc02
fun equals(other: Any?): Boolean

getActions

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

Returns the list of additional actions.

See also
addAction

getConversationCallbackDelegate

Added in 1.4.0-rc02
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-rc02
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

Added in 1.4.0-rc02
fun hashCode(): Int

isGroupConversation

Added in 1.3.0
fun isGroupConversation(): Boolean

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