Added in API level 37.2
Builder
class Builder
| kotlin.Any | |
| ↳ | android.app.personalcontext.hint.MessagesHint.Builder |
Builder used to create a MessagesHint.
Summary
| Public constructors | |
|---|---|
|
Constructs an instance of |
|
| Public methods | |
|---|---|
| MessagesHint |
build()Returns the built |
| MessagesHint.Builder |
setChatMessages(chatMessages: MutableList<ChatMessageData!>)Sets a list of |
Public constructors
Builder
Added in API level 37.2
Builder(packageName: String)
Constructs an instance of Builder.
| Parameters | |
|---|---|
packageName |
String: the package name of the application the messages are from. This value cannot be null. |
Public methods
build
Added in API level 37.2
fun build(): MessagesHint
Returns the built MessagesHint.
| Return | |
|---|---|
MessagesHint |
This value cannot be null. |
setChatMessages
Added in API level 37.2
fun setChatMessages(chatMessages: MutableList<ChatMessageData!>): MessagesHint.Builder
Sets a list of ChatMessageData objects.
| Parameters | |
|---|---|
chatMessages |
MutableList<ChatMessageData!>: This value cannot be null. |
| Return | |
|---|---|
MessagesHint.Builder |
This value cannot be null. |