共用方式為


TextBoundsInfoResult.CodeFailed 欄位

定義

警告

This constant will be removed in the future version. Use Android.Views.InputMethods.TextBoundsInfoResultCode enum directly instead of this field.

InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer)要求失敗時的結果。

[Android.Runtime.Register("CODE_FAILED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.TextBoundsInfoResultCode enum directly instead of this field.", true)]
public const Android.Views.InputMethods.TextBoundsInfoResultCode CodeFailed = 2;
[<Android.Runtime.Register("CODE_FAILED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.TextBoundsInfoResultCode enum directly instead of this field.", true)>]
val mutable CodeFailed : Android.Views.InputMethods.TextBoundsInfoResultCode

欄位值

Value = 2
屬性

備註

InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer)要求失敗時的結果。 當編輯器無法提供有效的 TextBoundsInfo時,會傳回此結果碼。 (例如未配置編輯器檢視。

android.view.inputmethod.TextBoundsInfoResult.CODE_FAILEDJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於