# SummarizerOptions

public abstract class **SummarizerOptions** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
Options for `https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/Summarizer`.

### Nested Class Summary

|---|---|---|---|
| class | [SummarizerOptions.Builder](https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.Builder) || Builder class for `https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions` objects. |
| @interface | [SummarizerOptions.InputType](https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.InputType) || Type of input text. |
| @interface | [SummarizerOptions.Language](https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.Language) || Languages supported. |
| @interface | [SummarizerOptions.OutputType](https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.OutputType) || Type of output format. |

### Public Method Summary

|---|---|
| static [SummarizerOptions.Builder](https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.Builder) | [builder](https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions#builder(android.content.Context))([Context](https://developer.android.com/reference/android/content/Context.html) context) Creates a new `https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.Builder`. |

### 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 static [SummarizerOptions.Builder](https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.Builder)
**builder** ([Context](https://developer.android.com/reference/android/content/Context.html) context)

Creates a new `https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.Builder`.