Added in API level 26
TextClassifier
public
interface
TextClassifier
| android.view.textclassifier.TextClassifier |
Interface for providing text classification related features.
The TextClassifier may be used to understand the meaning of text, as well as generating predicted next actions based on the text.
NOTE: Unless otherwise stated, methods of this interface are blocking operations. Call on a worker thread.
Summary
Nested classes | |
|---|---|
class |
TextClassifier.EntityConfig
Configuration object for specifying what entity types to identify. |
Constants | |
|---|---|
String |
EXTRA_FROM_TEXT_CLASSIFIER
Extra that is included on activity intents coming from a TextClassifier when it suggests actions to its caller. |