語言

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. (例如,編輯器視圖並未被排版。)

Java 文件 android.view.inputmethod.TextBoundsInfoResult.CODE_FAILED。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於