Udostępnij za pośrednictwem


ITextClassifier.DetectLanguage(TextLanguage+Request) Method

Definition

Detects the language of the text in the given request.

[Android.Runtime.Register("detectLanguage", "(Landroid/view/textclassifier/TextLanguage$Request;)Landroid/view/textclassifier/TextLanguage;", "GetDetectLanguage_Landroid_view_textclassifier_TextLanguage_Request_Handler:Android.Views.TextClassifiers.ITextClassifier, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public virtual Android.Views.TextClassifiers.TextLanguage DetectLanguage (Android.Views.TextClassifiers.TextLanguage.Request request);
[<Android.Runtime.Register("detectLanguage", "(Landroid/view/textclassifier/TextLanguage$Request;)Landroid/view/textclassifier/TextLanguage;", "GetDetectLanguage_Landroid_view_textclassifier_TextLanguage_Request_Handler:Android.Views.TextClassifiers.ITextClassifier, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member DetectLanguage : Android.Views.TextClassifiers.TextLanguage.Request -> Android.Views.TextClassifiers.TextLanguage
override this.DetectLanguage : Android.Views.TextClassifiers.TextLanguage.Request -> Android.Views.TextClassifiers.TextLanguage

Parameters

request
TextLanguage.Request

the TextLanguage request.

Returns

the TextLanguage result.

Attributes

Remarks

Java documentation for android.view.textclassifier.TextClassifier.detectLanguage(android.view.textclassifier.Request).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to