語言

TextClassifierEvent.Builder.SetEventContext(TextClassificationContext) 方法

定義

設定事件情境。

[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

參數

eventContext
TextClassificationContext

TextClassificationContext:此值可能是空值。

傳回

這個值不可能為零值。

屬性

備註

設定事件情境。

Android 參考資料。android.view.textclassifier.TextClassifierEvent.Builder.setEventContext

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於