TextClassificationManager.SetTextClassificationSessionFactory Método

Definición

Establece un textClassificationSessionFactory que se usará para crear textClassifiers compatibles con la sesión.

[Android.Runtime.Register("setTextClassificationSessionFactory", "(Landroid/view/textclassifier/TextClassificationSessionFactory;)V", "", ApiSince=28)]
public void SetTextClassificationSessionFactory(Android.Views.TextClassifiers.ITextClassificationSessionFactory? factory);
[<Android.Runtime.Register("setTextClassificationSessionFactory", "(Landroid/view/textclassifier/TextClassificationSessionFactory;)V", "", ApiSince=28)>]
member this.SetTextClassificationSessionFactory : Android.Views.TextClassifiers.ITextClassificationSessionFactory -> unit

Parámetros

factory
ITextClassificationSessionFactory

TextClassificationSessionFactory: el generador de sesiones textClassification. Si es null, se usará el generador predeterminado.

Atributos

Comentarios

Establece un textClassificationSessionFactory que se usará para crear textClassifiers compatibles con la sesión.

Referencia de Android para android.view.textclassifier.TextClassificationManager.setTextClassificationSessionFactory.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a