Stay organized with collections
Save and categorize content based on your preferences.
android.view.textclassifier
Interfaces
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.view.textclassifier\n===========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/view/textclassifier/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|\n| [TextClassificationSessionFactory](/reference/kotlin/android/view/textclassifier/TextClassificationSessionFactory) | An interface for creating a session-aware TextClassifier. |\n| [TextClassifier](/reference/kotlin/android/view/textclassifier/TextClassifier) | Interface for providing text classification related features. |\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ConversationAction](/reference/kotlin/android/view/textclassifier/ConversationAction) | Represents the action suggested by a [TextClassifier](/reference/kotlin/android/view/textclassifier/TextClassifier) on a given conversation. |\n| [ConversationActions](/reference/kotlin/android/view/textclassifier/ConversationActions) | Represents a list of actions suggested by a [TextClassifier](/reference/kotlin/android/view/textclassifier/TextClassifier) on a given conversation. |\n| [SelectionEvent](/reference/kotlin/android/view/textclassifier/SelectionEvent) | A selection event. |\n| [TextClassification](/reference/kotlin/android/view/textclassifier/TextClassification) | Information for generating a widget to handle classified text. |\n| [TextClassificationContext](/reference/kotlin/android/view/textclassifier/TextClassificationContext) | A representation of the context in which text classification would be performed. |\n| [TextClassificationManager](/reference/kotlin/android/view/textclassifier/TextClassificationManager) | Interface to the text classification service. |\n| [TextClassificationSessionId](/reference/kotlin/android/view/textclassifier/TextClassificationSessionId) | This class represents the id of a text classification session. |\n| [TextClassifierEvent](/reference/kotlin/android/view/textclassifier/TextClassifierEvent) | This class represents events that are sent by components to the [TextClassifier](/reference/kotlin/android/view/textclassifier/TextClassifier) to report something of note that relates to a feature powered by the TextClassifier. |\n| [TextLanguage](/reference/kotlin/android/view/textclassifier/TextLanguage) | Represents the result of language detection of a piece of text. |\n| [TextLinks](/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. |\n| [TextSelection](/reference/kotlin/android/view/textclassifier/TextSelection) | Information about where text selection should be. |"]]