Share via


TextClassificationContext.Builder(String, String) Constructor

Definition

Initializes a new builder for text classification context objects.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=28)]
public Builder (string packageName, string widgetType);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=28)>]
new Android.Views.TextClassifiers.TextClassificationContext.Builder : string * string -> Android.Views.TextClassifiers.TextClassificationContext.Builder

Parameters

packageName
String

the name of the calling package

widgetType
String

the type of widget e.g. TextClassifier#WIDGET_TYPE_TEXTVIEW

Attributes

Remarks

Initializes a new builder for text classification context objects.

Java documentation for android.view.textclassifier.TextClassificationContext.Builder.TextClassificationContext$Builder(java.lang.String, java.lang.String).

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