# ProofreaderOptions.InputType

public static abstract @interface **ProofreaderOptions.InputType** implements [Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html) Defines the type of input.

### Constant Summary

|---|---|---|
| int | [KEYBOARD](https://developers.google.com/android/reference/com/google/mlkit/genai/proofreading/ProofreaderOptions.InputType#KEYBOARD) | The input is from keyboard typing. |
| int | [VOICE](https://developers.google.com/android/reference/com/google/mlkit/genai/proofreading/ProofreaderOptions.InputType#VOICE) | The input is produced through converting voice to text. |

### Inherited Method Summary

From interface java.lang.annotation.Annotation

|---|---|
| abstract [Class](https://developer.android.com/reference/java/lang/Class.html)\<? extends [Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)\> | annotationType() |
| abstract boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| abstract int | hashCode() |
| abstract [String](https://developer.android.com/reference/java/lang/String.html) | 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