TranslateLanguage.Language
Stay organized with collections
Save and categorize content based on your preferences.
A language supported by the Translate API. The String value is the matching BCP 47 language tag.
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eTranslateLanguage.Language\u003c/code\u003e is an annotation that represents a language supported by the Translate API.\u003c/p\u003e\n"],["\u003cp\u003eThe annotation's String value corresponds to the language's BCP 47 language tag.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits methods from the \u003ccode\u003ejava.lang.annotation.Annotation\u003c/code\u003e interface for reflection and manipulation.\u003c/p\u003e\n"]]],["`TranslateLanguage.Language` is an annotation interface representing a language supported by the Translate API, identified by its BCP 47 language tag. It inherits methods from the `Annotation` interface: `annotationType()`, which returns the annotation's class; `equals(Object arg0)` for comparing objects; `hashCode()` for the object's hash code; and `toString()` for the string representation. These are core methods for every annotation in java.\n"],null,["# TranslateLanguage.Language\n\npublic static abstract @interface **TranslateLanguage.Language** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nA language supported by the Translate API. The String value is the matching [BCP 47 language tag](//tools.ietf.org/rfc/bcp/bcp47.txt). \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() |"]]