# android.view.textclassifier

# android.view.textclassifier

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/view/textclassifier/package-summary "View this page in Java")

## Interfaces

|-------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|
| [TextClassificationSessionFactory](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassificationSessionFactory) | An interface for creating a session-aware TextClassifier.     |
| [TextClassifier](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassifier)                                     | Interface for providing text classification related features. |

## Classes

|---------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ConversationAction](https://developer.android.com/reference/kotlin/android/view/textclassifier/ConversationAction)                   | Represents the action suggested by a[TextClassifier](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassifier)on a given conversation.                                                                                        |
| [ConversationActions](https://developer.android.com/reference/kotlin/android/view/textclassifier/ConversationActions)                 | Represents a list of actions suggested by a[TextClassifier](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassifier)on a given conversation.                                                                                 |
| [SelectionEvent](https://developer.android.com/reference/kotlin/android/view/textclassifier/SelectionEvent)                           | A selection event.                                                                                                                                                                                                                                             |
| [TextClassification](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassification)                   | Information for generating a widget to handle classified text.                                                                                                                                                                                                 |
| [TextClassificationContext](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassificationContext)     | A representation of the context in which text classification would be performed.                                                                                                                                                                               |
| [TextClassificationManager](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassificationManager)     | Interface to the text classification service.                                                                                                                                                                                                                  |
| [TextClassificationSessionId](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassificationSessionId) | This class represents the id of a text classification session.                                                                                                                                                                                                 |
| [TextClassifierEvent](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassifierEvent)                 | This class represents events that are sent by components to the[TextClassifier](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextClassifier)to report something of note that relates to a feature powered by the TextClassifier. |
| [TextLanguage](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextLanguage)                               | Represents the result of language detection of a piece of text.                                                                                                                                                                                                |
| [TextLinks](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextLinks)                                     | A collection of links, representing subsequences of text and the entity types (phone number, address, url, etc) they may be.                                                                                                                                   |
| [TextSelection](https://developer.android.com/reference/kotlin/android/view/textclassifier/TextSelection)                             | Information about where text selection should be.                                                                                                                                                                                                              |