| Modifier and Type | Class and Description |
|---|---|
class |
Translate.Detections.Detect |
class |
Translate.Detections.List |
| Constructor and Description |
|---|
Detections() |
| Modifier and Type | Method and Description |
|---|---|
Translate.Detections.Detect |
detect(DetectLanguageRequest content)
Detects the language of text within a request.
|
Translate.Detections.List |
list(List<String> q)
Detects the language of text within a request.
|
public Translate.Detections.Detect detect(DetectLanguageRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the DetectLanguageRequestIOExceptionpublic Translate.Detections.List list(List<String> q) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.q - The input text upon which to perform language detection. Repeat this
parameter to perform language
detection on multiple text inputs.IOExceptionCopyright © 2011–2020 Google. All rights reserved.