ProofreaderOptions.InputType
Stay organized with collections
Save and categorize content based on your preferences.
Defines the type of input.
Constant Summary
int |
KEYBOARD
|
The input is from keyboard typing. |
int |
VOICE
|
The input is produced through converting voice
to text. |
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
Constants
public static final int
KEYBOARD
The input is from keyboard typing.
Constant Value: 1
public static final int
VOICE
The input is produced through converting voice to text.
Constant Value: 2
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-14 UTC.
[null,null,["Last updated 2025-05-14 UTC."],[],[],null,["# ProofreaderOptions.InputType\n\npublic static abstract @interface **ProofreaderOptions.InputType** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nDefines the type of input. \n\n### Constant Summary\n\n|-----|----------------------------------------------------------------------------------------------------------|---------------------------------------------------------|\n| int | [KEYBOARD](/android/reference/com/google/mlkit/genai/proofreading/ProofreaderOptions.InputType#KEYBOARD) | The input is from keyboard typing. |\n| int | [VOICE](/android/reference/com/google/mlkit/genai/proofreading/ProofreaderOptions.InputType#VOICE) | The input is produced through converting voice to text. |\n\n### Inherited Method Summary\n\nFrom interface java.lang.annotation.Annotation \n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| abstract [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c? extends [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html)\\\u003e | annotationType() |\n| abstract boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| abstract int | hashCode() |\n| abstract [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n\nConstants\n---------\n\n#### public static final int\n**KEYBOARD**\n\nThe input is from keyboard typing. \nConstant Value: 1 \n\n#### public static final int\n**VOICE**\n\nThe input is produced through converting voice to text. \nConstant Value: 2"]]