TextClassifierEvent.Builder.SetActionIndices(Int32[]) Method

Definition

Sets the indices of the actions involved in this event.

[Android.Runtime.Register("setActionIndices", "([I)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetActionIndices_arrayIHandler", ApiSince=29)]
public virtual Java.Lang.Object SetActionIndices(params int[] actionIndices);
[<Android.Runtime.Register("setActionIndices", "([I)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetActionIndices_arrayIHandler", ApiSince=29)>]
abstract member SetActionIndices : int[] -> Java.Lang.Object
override this.SetActionIndices : int[] -> Java.Lang.Object

Parameters

actionIndices
Int32[]

int: This value cannot be null.

Returns

This value cannot be null.

Attributes

Remarks

Sets the indices of the actions involved in this event. Actions are usually returned by the text classifier in priority order with the most preferred action at index 0. These indices give an indication of the position of the actions that are being reported. E.g.

See also:

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

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