# ProofreadingResult

public abstract class **ProofreadingResult** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
Results from the proofreading inference.

### Public Method Summary

|---|---|
| abstract ImmutableList\<[ProofreadingSuggestion](https://developers.google.com/android/reference/com/google/mlkit/genai/proofreading/ProofreadingSuggestion)\> | [getResults](https://developers.google.com/android/reference/com/google/mlkit/genai/proofreading/ProofreadingResult#getResults())() Gets a list of unique proofreading suggestions. |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public abstract ImmutableList\<[ProofreadingSuggestion](https://developers.google.com/android/reference/com/google/mlkit/genai/proofreading/ProofreadingSuggestion)\>
**getResults** ()

Gets a list of unique proofreading suggestions.

The list is guaranteed to be non-empty and the suggested results are sorted in
descending order of confidence.