ConversationActions
class ConversationActions : Parcelable
kotlin.Any | |
↳ | android.view.textclassifier.ConversationActions |
Represents a list of actions suggested by a TextClassifier
on a given conversation.
Summary
Nested classes | |
---|---|
Represents a message in the conversation. |
|
A request object for generating conversation action suggestions. |
Inherited constants | |
---|---|
Public constructors | |
---|---|
ConversationActions(conversationActions: MutableList<ConversationAction!>, id: String?) Constructs a |
Public methods | |
---|---|
Int | |
MutableList<ConversationAction!> |
Returns an immutable list of |
String? |
getId() Returns the id, if one exists, for this object. |
Unit |
writeToParcel(parcel: Parcel, flags: Int) |
Properties | |
---|---|
static Parcelable.Creator<ConversationActions!> |
Public constructors
ConversationActions
ConversationActions(
conversationActions: MutableList<ConversationAction!>,
id: String?)
Constructs a ConversationActions
object.
Parameters | |
---|---|
conversationActions |
MutableList<ConversationAction!>: This value cannot be null . |
id |
String?: This value may be null . |
Public methods
describeContents
fun describeContents(): Int
Return | |
---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
getConversationActions
fun getConversationActions(): MutableList<ConversationAction!>
Returns an immutable list of ConversationAction
objects, which are ordered from high confidence to low confidence.
Return | |
---|---|
MutableList<ConversationAction!> |
This value cannot be null . |
getId
fun getId(): String?
Returns the id, if one exists, for this object.
Return | |
---|---|
String? |
This value may be null . |
writeToParcel
fun writeToParcel(
parcel: Parcel,
flags: Int
): Unit
Parameters | |
---|---|
dest |
The Parcel in which the object should be written. This value cannot be null . |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |