Share via


ITextClassificationSessionFactory.CreateTextClassificationSession Method

Definition

Creates and returns a session-aware TextClassifier.

[Android.Runtime.Register("createTextClassificationSession", "(Landroid/view/textclassifier/TextClassificationContext;)Landroid/view/textclassifier/TextClassifier;", "GetCreateTextClassificationSession_Landroid_view_textclassifier_TextClassificationContext_Handler:Android.Views.TextClassifiers.ITextClassificationSessionFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)]
public Android.Views.TextClassifiers.ITextClassifier CreateTextClassificationSession (Android.Views.TextClassifiers.TextClassificationContext classificationContext);
[<Android.Runtime.Register("createTextClassificationSession", "(Landroid/view/textclassifier/TextClassificationContext;)Landroid/view/textclassifier/TextClassifier;", "GetCreateTextClassificationSession_Landroid_view_textclassifier_TextClassificationContext_Handler:Android.Views.TextClassifiers.ITextClassificationSessionFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)>]
abstract member CreateTextClassificationSession : Android.Views.TextClassifiers.TextClassificationContext -> Android.Views.TextClassifiers.ITextClassifier

Parameters

classificationContext
TextClassificationContext

the classification context

Returns

Attributes

Remarks

Creates and returns a session-aware TextClassifier.

Java documentation for android.view.textclassifier.TextClassificationSessionFactory.createTextClassificationSession(android.view.textclassifier.TextClassificationContext).

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