Added in API level 29
Summary:
Methods
| Inherited Methods
TextClassifierEvent.Builder
public
static
abstract
class
TextClassifierEvent.Builder
extends Object
| java.lang.Object | |
| ↳ | android.view.textclassifier.TextClassifierEvent.Builder<T extends android.view.textclassifier.TextClassifierEvent.Builder<T>> |
Builder to build a text classifier event.
Summary
Public methods | |
|---|---|
T
|
setActionIndices(int... actionIndices)
Sets the indices of the actions involved in this event. |
T
|
setEntityTypes(String... entityTypes)
Sets the entity types. |
T
|
setEventContext(TextClassificationContext eventContext)
Sets the event context. |
T
|
setEventIndex(int eventIndex)
Sets the index of this event in the series of |