TextBoundsInfoResultCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum TextBoundsInfoResultCode
type TextBoundsInfoResultCode =
- Inheritance
-
TextBoundsInfoResultCode
Fields
| Name | Value | Description |
|---|---|---|
| Unsupported | 0 | Result for InputConnection.requestTextBoundsInfo(RectF,Executor,Consumer) when the editor doesn't implement the method. Android reference for 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. |
| Success | 1 | Result for InputConnection.requestTextBoundsInfo(RectF,Executor,Consumer) when the editor successfully returns a TextBoundsInfo. Android reference for 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. |
| Failed | 2 | 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.) Android reference for 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. |
| Cancelled | 3 | 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. Android reference for 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. |