TextClassifierEvent.Builder.SetEventContext(TextClassificationContext) Method

Definition

Sets the event context.

[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

Parameters

eventContext
TextClassificationContext

TextClassificationContext: This value may be null.

Returns

This value cannot be null.

Attributes

Remarks

Sets the event context.

Android reference for android.view.textclassifier.TextClassifierEvent.Builder.setEventContext.

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