Share via


TextBoundsInfoResult.CodeFailed Field

Definition

Caution

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

Result for InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer) when the request failed.

[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

Field Value

Value = 2
Attributes

Remarks

Result for InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer) when the request failed. This result code is returned when the editor can't provide a valid TextBoundsInfo. (e.g. The editor view is not laid out.)

Java documentation for android.view.inputmethod.TextBoundsInfoResult.CODE_FAILED.

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