TextBoundsInfoResult 构造函数

定义

重载

TextBoundsInfoResult(TextBoundsInfoResultCode)

创建 TextBoundsInfoResult 不带 TextBoundsInfo. 的对象。

TextBoundsInfoResult(TextBoundsInfoResultCode, TextBoundsInfo)

创建 TextBoundsInfoResult 对象。

TextBoundsInfoResult(TextBoundsInfoResultCode)

创建 TextBoundsInfoResult 不带 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

参数

resultCode
TextBoundsInfoResultCode

调用的结果代码 InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer)

属性

注解

创建 TextBoundsInfoResult 不带 TextBoundsInfo. 的对象。 给定resultCode不能。#CODE_SUCCESS

适用于 . 的 android.view.inputmethod.TextBoundsInfoResult.TextBoundsInfoResult(int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

TextBoundsInfoResult(TextBoundsInfoResultCode, TextBoundsInfo)

创建 TextBoundsInfoResult 对象。

[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

参数

resultCode
TextBoundsInfoResultCode

调用的结果代码 InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer)

textBoundsInfo
TextBoundsInfo

返回 TextBoundsInfoInputConnection#requestTextBoundsInfo(RectF, Executor, Consumer) 调用。 如果为 #CODE_SUCCESSnull,则不能为 resultCode null。

属性

注解

创建 TextBoundsInfoResult 对象。

适用于 . 的 android.view.inputmethod.TextBoundsInfoResult.TextBoundsInfoResult(int, android.view.inputmethod.TextBoundsInfo)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于