TextBoundsInfoResult Constructors   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| TextBoundsInfoResult(TextBoundsInfoResultCode) | Create a  | 
| TextBoundsInfoResult(TextBoundsInfoResultCode, TextBoundsInfo) | Create a  | 
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.TextBoundsInfoResultParameters
- 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.TextBoundsInfoResultParameters
- 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.
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.