TextClassifierEvent.Builder.SetEventContext(TextClassificationContext) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Establece el contexto de evento.
[Android.Runtime.Register("setEventContext", "(Landroid/view/textclassifier/TextClassificationContext;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetEventContext_Landroid_view_textclassifier_TextClassificationContext_Handler", ApiSince=29)]
public virtual Java.Lang.Object SetEventContext(Android.Views.TextClassifiers.TextClassificationContext? eventContext);
[<Android.Runtime.Register("setEventContext", "(Landroid/view/textclassifier/TextClassificationContext;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetEventContext_Landroid_view_textclassifier_TextClassificationContext_Handler", ApiSince=29)>]
abstract member SetEventContext : Android.Views.TextClassifiers.TextClassificationContext -> Java.Lang.Object
override this.SetEventContext : Android.Views.TextClassifiers.TextClassificationContext -> Java.Lang.Object
Parámetros
- eventContext
- TextClassificationContext
TextClassificationContext: este valor puede ser NULL.
Devoluciones
Este valor no puede ser nulo.
- Atributos
Comentarios
Establece el contexto de evento.
Referencia de Android para android.view.textclassifier.TextClassifierEvent.Builder.setEventContext.
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.