Added in API level 29
TextClassifierEvent.LanguageDetectionEvent.Builder
public
static
final
class
TextClassifierEvent.LanguageDetectionEvent.Builder
extends Builder<TextClassifierEvent.LanguageDetectionEvent.Builder>
java.lang.Object | ||
↳ | android.view.textclassifier.TextClassifierEvent.Builder<android.view.textclassifier.TextClassifierEvent.LanguageDetectionEvent.Builder> | |
↳ | android.view.textclassifier.TextClassifierEvent.LanguageDetectionEvent.Builder |
Builder class for LanguageDetectionEvent
.
Summary
Public constructors | |
---|---|
Builder(int eventType)
Creates a builder for building |
Public methods | |
---|---|
TextClassifierEvent.LanguageDetectionEvent
|
build()
Builds and returns a |
Inherited methods | |
---|---|
Public constructors
Builder
Added in API level 29
public Builder (int eventType)
Creates a builder for building TextSelectionEvent
s.
Public methods
build
Added in API level 29
public TextClassifierEvent.LanguageDetectionEvent build ()
Builds and returns a LanguageDetectionEvent
.
Returns | |
---|---|
TextClassifierEvent.LanguageDetectionEvent |
This value cannot be null . |