ExtractedTextRequest
open class ExtractedTextRequest : Parcelable
| kotlin.Any | |
| ↳ | android.view.inputmethod.ExtractedTextRequest |
Description of what an input method would like from an application when extract text from its input editor.
Summary
| Inherited constants | |
|---|---|
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| open Int | |
| open Unit |
writeToParcel(dest: Parcel, flags: Int)Used to package this object into a |
| Properties | |
|---|---|
| static Parcelable.Creator<ExtractedTextRequest!> |
Used to make this class parcelable. |
| Int |
Additional request flags, having the same possible values as the flags parameter of |
| Int |
Hint for the maximum number of characters to return. |
| Int |
Hint for the maximum number of lines to return. |
| Int |
Arbitrary integer that can be supplied in the request, which will be delivered back when reporting updates. |
Public constructors
ExtractedTextRequest
ExtractedTextRequest()
Public methods
describeContents
open fun describeContents(): Int
| Return | |
|---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
writeToParcel
open fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Used to package this object into a Parcel.
| Parameters | |
|---|---|
dest |
Parcel: The Parcel to be written. |
flags |
Int: The flags used for parceling. |
Properties
CREATOR
static val CREATOR: Parcelable.Creator<ExtractedTextRequest!>
Used to make this class parcelable.
flags
var flags: Int
Additional request flags, having the same possible values as the flags parameter of InputConnection.getTextBeforeCursor().
hintMaxChars
var hintMaxChars: Int
Hint for the maximum number of characters to return.
hintMaxLines
var hintMaxLines: Int
Hint for the maximum number of lines to return.
token
var token: Int
Arbitrary integer that can be supplied in the request, which will be delivered back when reporting updates.