TextClassificationManager.CreateTextClassificationSession(TextClassificationContext) 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.
Call this method to start a text classification session with the given context.
[Android.Runtime.Register("createTextClassificationSession", "(Landroid/view/textclassifier/TextClassificationContext;)Landroid/view/textclassifier/TextClassifier;", "", 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;", "", ApiSince=28)>]
member this.CreateTextClassificationSession : Android.Views.TextClassifiers.TextClassificationContext -> Android.Views.TextClassifiers.ITextClassifier
Parameters
- classificationContext
- TextClassificationContext
The context in which classification would occur
Returns
An instance to perform classification in the given context
- Attributes
Remarks
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.