Share via


TextBoundsInfoResult Constructors

Definition

Overloads

TextBoundsInfoResult(TextBoundsInfoResultCode)

Create a TextBoundsInfoResult object with no TextBoundsInfo.

TextBoundsInfoResult(TextBoundsInfoResultCode, TextBoundsInfo)

Create a TextBoundsInfoResult object.

TextBoundsInfoResult(TextBoundsInfoResultCode)

Create a TextBoundsInfoResult object with no TextBoundsInfo.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=34)]
public TextBoundsInfoResult (Android.Views.InputMethods.TextBoundsInfoResultCode resultCode);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=34)>]
new Android.Views.InputMethods.TextBoundsInfoResult : Android.Views.InputMethods.TextBoundsInfoResultCode -> Android.Views.InputMethods.TextBoundsInfoResult

Parameters

resultCode
TextBoundsInfoResultCode

the result code of the InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer) call.

Attributes

Remarks

Create a TextBoundsInfoResult object with no TextBoundsInfo. The given resultCode can't be #CODE_SUCCESS.

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

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

TextBoundsInfoResult(TextBoundsInfoResultCode, TextBoundsInfo)

Create a TextBoundsInfoResult object.

[Android.Runtime.Register(".ctor", "(ILandroid/view/inputmethod/TextBoundsInfo;)V", "", ApiSince=34)]
public TextBoundsInfoResult (Android.Views.InputMethods.TextBoundsInfoResultCode resultCode, Android.Views.InputMethods.TextBoundsInfo? textBoundsInfo);
[<Android.Runtime.Register(".ctor", "(ILandroid/view/inputmethod/TextBoundsInfo;)V", "", ApiSince=34)>]
new Android.Views.InputMethods.TextBoundsInfoResult : Android.Views.InputMethods.TextBoundsInfoResultCode * Android.Views.InputMethods.TextBoundsInfo -> Android.Views.InputMethods.TextBoundsInfoResult

Parameters

resultCode
TextBoundsInfoResultCode

the result code of the InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer) call.

textBoundsInfo
TextBoundsInfo

the returned TextBoundsInfo of the InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer) call. It can't be null if the resultCode is #CODE_SUCCESS.

Attributes

Remarks

Create a TextBoundsInfoResult object.

Java documentation for android.view.inputmethod.TextBoundsInfoResult.TextBoundsInfoResult(int, android.view.inputmethod.TextBoundsInfo).

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