TextClassifierEvent.Builder.SetScores(Single[]) Method

Definition

Sets the scores of the suggestions.

[Android.Runtime.Register("setScores", "([F)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetScores_arrayFHandler", ApiSince=29)]
public virtual Java.Lang.Object SetScores(params float[] scores);
[<Android.Runtime.Register("setScores", "([F)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetScores_arrayFHandler", ApiSince=29)>]
abstract member SetScores : single[] -> Java.Lang.Object
override this.SetScores : single[] -> Java.Lang.Object

Parameters

scores
Single[]

float: This value cannot be null.

Returns

This value cannot be null.

Attributes

Remarks

Sets the scores of the suggestions.

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

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