ConversationItem
@CarProtocol
@RequiresCarApi(value = 7)
class ConversationItem : Item
Represents a text-based conversation (e.g. IM/SMS messages).
Summary
Nested types |
|---|
class ConversationItem.BuilderA builder for |
Public functions |
|
|---|---|
Boolean |
|
(Mutable)List<Action!> |
Returns the list of additional actions. |
ConversationCallbackDelegate |
Returns host->client callbacks for this conversation |
CarIcon? |
getIcon()Returns a |
String |
getId()Returns a unique identifier for the conversation |
(Mutable)List<CarMessage!> |
Returns a list of messages for this |
Person |
getSelf()Returns a |
CarText |
getTitle()Returns the title of the conversation |
Int |
hashCode() |
Boolean |
Returns whether this conversation involves 3+ participants (a "group" conversation) |
Boolean |
Returns whether this item can be included in indexed lists. |
Public functions
getActions
fun getActions(): (Mutable)List<Action!>
Returns the list of additional actions.
| See also | |
|---|---|
addAction |
getConversationCallbackDelegate
fun getConversationCallbackDelegate(): ConversationCallbackDelegate
Returns host->client callbacks for this conversation
getIcon
fun getIcon(): CarIcon?
Returns a CarIcon for the conversation, or null if not set
getId
fun getId(): String
Returns a unique identifier for the conversation
| See also | |
|---|---|
setId |
getMessages
fun getMessages(): (Mutable)List<CarMessage!>
Returns a list of messages for this ConversationItem
isGroupConversation
fun isGroupConversation(): Boolean
Returns whether this conversation involves 3+ participants (a "group" conversation)
| See also | |
|---|---|
setGroupConversation |
isIndexable
@ExperimentalCarApi
fun isIndexable(): Boolean
Returns whether this item can be included in indexed lists.
| See also | |
|---|---|
setIndexable |