ITextClassificationSessionFactory.CreateTextClassificationSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.