次の方法で共有


AssistStructure.ViewNode.GetTextLineBaselines Method

Definition

Return per-line baselines into the text returned by #getText().

[Android.Runtime.Register("getTextLineBaselines", "()[I", "GetGetTextLineBaselinesHandler", ApiSince=23)]
public virtual int[] GetTextLineBaselines ();
[<Android.Runtime.Register("getTextLineBaselines", "()[I", "GetGetTextLineBaselinesHandler", ApiSince=23)>]
abstract member GetTextLineBaselines : unit -> int[]
override this.GetTextLineBaselines : unit -> int[]

Returns

Int32[]
Attributes

Remarks

Return per-line baselines into the text returned by #getText(). Each entry in the array is a formatted line of text, and the value it contains is the baseline where that text appears in the view. May return null if there is no line information.

It's only relevant when the AssistStructure is used for assist purposes, not for autofill purposes.

Java documentation for android.app.assist.AssistStructure.ViewNode.getTextLineBaselines().

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