TextBoundsInfoResult | API reference | Android Developers
public
final
class
TextBoundsInfoResult
extends Object
The object that holds the result of the
InputConnection.requestTextBoundsInfo(RectF,Executor,Consumer) call.
Summary
Constants | |
|---|---|
int |
CODE_CANCELLED
Result for |
int |
CODE_FAILED
Result for |
int |
CODE_SUCCESS
Result for |
int |
CODE_UNSUPPORTED
Result for |
Public constructors | |
|---|---|
TextBoundsInfoResult(int resultCode)
Create a |
|
TextBoundsInfoResult(int resultCode, TextBoundsInfo textBoundsInfo)
Create a |
|
Public methods | |
|---|---|
int
|
getResultCode()
Return the result code of the
|
TextBoundsInfo
|
getTextBoundsInfo()
Return the |
Inherited methods | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From class
| |||||||||||||||||||||||