Compartilhar via


TextBoundsInfoResult.TextBoundsInfo Property

Definition

Return the TextBoundsInfo provided by the editor.

public Android.Views.InputMethods.TextBoundsInfo? TextBoundsInfo { [Android.Runtime.Register("getTextBoundsInfo", "()Landroid/view/inputmethod/TextBoundsInfo;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getTextBoundsInfo", "()Landroid/view/inputmethod/TextBoundsInfo;", "", ApiSince=34)>]
member this.TextBoundsInfo : Android.Views.InputMethods.TextBoundsInfo

Property Value

Attributes

Remarks

Return the TextBoundsInfo provided by the editor. It is non-null if the resultCode is #CODE_SUCCESS. Otherwise, it can be null in the following conditions: <ul> <li>the editor doesn't support InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer).</li> <li>the editor doesn't have the text bounds information at the moment. (e.g. the editor view is not laid out yet.) </li> <li> the InputConnection is or become inactive during the request. </li> <ul/>

Java documentation for android.view.inputmethod.TextBoundsInfoResult.getTextBoundsInfo().

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