RewriterOptions.OutputType
Stay organized with collections
Save and categorize content based on your preferences.
Specifies the style of output for rewriting.
Constant Summary
int |
ELABORATE
|
Elaborates the input text. |
int |
EMOJIFY
|
Inserts appropriate emojis in the input
text. |
int |
FRIENDLY
|
Makes the input text more friendly. |
int |
PROFESSIONAL
|
Makes the input text more professional. |
int |
REPHRASE
|
Rephrases the input text. |
int |
SHORTEN
|
Shortens the input 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
ELABORATE
Elaborates the input text.
Constant Value: 1
public static final int
EMOJIFY
Inserts appropriate emojis in the input text.
Constant Value: 2
public static final int
FRIENDLY
Makes the input text more friendly.
Constant Value: 4
public static final int
PROFESSIONAL
Makes the input text more professional.
Constant Value: 5
public static final int
REPHRASE
Rephrases the input text.
Constant Value: 6
public static final int
SHORTEN
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,["# RewriterOptions.OutputType\n\npublic static abstract @interface **RewriterOptions.OutputType** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nSpecifies the style of output for rewriting. \n\n### Constant Summary\n\n|-----|-------------------------------------------------------------------------------------------------------------|-----------------------------------------------|\n| int | [ELABORATE](/android/reference/com/google/mlkit/genai/rewriting/RewriterOptions.OutputType#ELABORATE) | Elaborates the input text. |\n| int | [EMOJIFY](/android/reference/com/google/mlkit/genai/rewriting/RewriterOptions.OutputType#EMOJIFY) | Inserts appropriate emojis in the input text. |\n| int | [FRIENDLY](/android/reference/com/google/mlkit/genai/rewriting/RewriterOptions.OutputType#FRIENDLY) | Makes the input text more friendly. |\n| int | [PROFESSIONAL](/android/reference/com/google/mlkit/genai/rewriting/RewriterOptions.OutputType#PROFESSIONAL) | Makes the input text more professional. |\n| int | [REPHRASE](/android/reference/com/google/mlkit/genai/rewriting/RewriterOptions.OutputType#REPHRASE) | Rephrases the input text. |\n| int | [SHORTEN](/android/reference/com/google/mlkit/genai/rewriting/RewriterOptions.OutputType#SHORTEN) | Shortens the input 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**ELABORATE**\n\nElaborates the input text. \nConstant Value: 1 \n\n#### public static final int\n**EMOJIFY**\n\nInserts appropriate emojis in the input text. \nConstant Value: 2 \n\n#### public static final int\n**FRIENDLY**\n\nMakes the input text more friendly. \nConstant Value: 4 \n\n#### public static final int\n**PROFESSIONAL**\n\nMakes the input text more professional. \nConstant Value: 5 \n\n#### public static final int\n**REPHRASE**\n\nRephrases the input text. \nConstant Value: 6 \n\n#### public static final int\n**SHORTEN**\n\nShortens the input text. \nConstant Value: 3"]]