TextClassificationContext.Builder.SetWidgetVersion(String) Method

Definition

Sets an optional custom version string for the widget type.

[Android.Runtime.Register("setWidgetVersion", "(Ljava/lang/String;)Landroid/view/textclassifier/TextClassificationContext$Builder;", "", ApiSince=28)]
public Android.Views.TextClassifiers.TextClassificationContext.Builder? SetWidgetVersion(string? widgetVersion);
[<Android.Runtime.Register("setWidgetVersion", "(Ljava/lang/String;)Landroid/view/textclassifier/TextClassificationContext$Builder;", "", ApiSince=28)>]
member this.SetWidgetVersion : string -> Android.Views.TextClassifiers.TextClassificationContext.Builder

Parameters

widgetVersion
String

String: This value may be null.

Returns

this builder

Attributes

Remarks

Sets an optional custom version string for the widget type.

Android reference for android.view.textclassifier.TextClassificationContext.Builder.setWidgetVersion.

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