Share via


TextBoundsInfoResult.CodeCancelled 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 is cancelled.

[Android.Runtime.Register("CODE_CANCELLED", 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 CodeCancelled = 3;
[<Android.Runtime.Register("CODE_CANCELLED", 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 CodeCancelled : Android.Views.InputMethods.TextBoundsInfoResultCode

Field Value

Value = 3
Attributes

Remarks

Result for InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer) when the request is cancelled. This happens when the InputConnection is or becomes invalidated while requesting the TextBoundsInfo, for example because a new InputConnection was started, or due to InputMethodManager#invalidateInput.

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

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