TextClassifierEvent.Builder.SetModelName(String) Method

Definition

Sets the model name string.

[Android.Runtime.Register("setModelName", "(Ljava/lang/String;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetModelName_Ljava_lang_String_Handler", ApiSince=29)]
public virtual Java.Lang.Object SetModelName(string? modelVersion);
[<Android.Runtime.Register("setModelName", "(Ljava/lang/String;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetModelName_Ljava_lang_String_Handler", ApiSince=29)>]
abstract member SetModelName : string -> Java.Lang.Object
override this.SetModelName : string -> Java.Lang.Object

Parameters

modelVersion
String

String: This value may be null.

Returns

This value cannot be null.

Attributes

Remarks

Sets the model name string.

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

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