Added in API level 26

android.view.textclassifier

Interfaces

TextClassificationSessionFactory An interface for creating a session-aware TextClassifier. 
TextClassifier Interface for providing text classification related features. 

Classes

ConversationAction Represents the action suggested by a TextClassifier on a given conversation. 
ConversationAction.Builder Builder class to construct ConversationAction
ConversationActions Represents a list of actions suggested by a TextClassifier on a given conversation. 
ConversationActions.Message Represents a message in the conversation. 
ConversationActions.Message.Builder Builder class to construct a Message 
ConversationActions.Request A request object for generating conversation action suggestions. 
ConversationActions.Request.Builder Builder object to construct the Request object. 
SelectionEvent A selection event. 
TextClassification Information for generating a widget to handle classified text. 
TextClassification.Builder Builder for building TextClassification objects. 
TextClassification.Request A request object for generating TextClassification. 
TextClassification.Request.Builder A builder for building TextClassification requests. 
TextClassificationContext A representation of the context in which text classification would be performed. 
TextClassificationContext.Builder A builder for building a TextClassification context. 
TextClassificationManager Interface to the text classification service. 
TextClassificationSessionId This class represents the id of a text classification session. 
TextClassifier.EntityConfig Configuration object for specifying what entity types to identify. 
TextClassifier.EntityConfig.Builder Builder class to construct the EntityConfig object. 
TextClassifierEvent This class represents events that are sent by components to the TextClassifier to report something of note that relates to a feature powered by the TextClassifier. 
TextClassifierEvent.Builder<T extends Builder<T>> Builder to build a text classifier event. 
TextClassifierEvent.ConversationActionsEvent This class represents events that are related to the conversation actions feature. 
TextClassifierEvent.ConversationActionsEvent.Builder Builder class for ConversationActionsEvent
TextClassifierEvent.LanguageDetectionEvent This class represents events that are related to the language detection feature. 
TextClassifierEvent.LanguageDetectionEvent.Builder Builder class for LanguageDetectionEvent
TextClassifierEvent.TextLinkifyEvent This class represents events that are related to the smart linkify feature. 
TextClassifierEvent.TextLinkifyEvent.Builder Builder class for TextLinkifyEvent
TextClassifierEvent.TextSelectionEvent This class represents events that are related to the smart text selection feature. 
TextClassifierEvent.TextSelectionEvent.Builder Builder class for TextSelectionEvent
TextLanguage Represents the result of language detection of a piece of text. 
TextLanguage.Builder Builder used to build TextLanguage objects. 
TextLanguage.Request A request object for detecting the language of a piece of text. 
TextLanguage.Request.Builder A builder for building TextLanguage requests. 
TextLinks A collection of links, representing subsequences of text and the entity types (phone number, address, url, etc) they may be. 
TextLinks.Builder A builder to construct a TextLinks instance. 
TextLinks.Request A request object for generating TextLinks. 
TextLinks.Request.Builder A builder for building TextLinks requests. 
TextLinks.TextLink A link, identifying a substring of text and possible entity types for it. 
TextLinks.TextLinkSpan A ClickableSpan for a TextLink. 
TextSelection Information about where text selection should be. 
TextSelection.Builder Builder used to build TextSelection objects. 
TextSelection.Request A request object for generating TextSelection. 
TextSelection.Request.Builder A builder for building TextSelection requests.