public class ExtractedTextRequest extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ExtractedTextRequest> |
CREATOR
Used to make this class parcelable.
|
int |
flags
Additional request flags, having the same possible values as the
flags parameter of
InputConnection.getTextBeforeCursor() . |
int |
hintMaxChars
Hint for the maximum number of characters to return.
|
int |
hintMaxLines
Hint for the maximum number of lines to return.
|
int |
token
Arbitrary integer that can be supplied in the request, which will be
delivered back when reporting updates.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ExtractedTextRequest() |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
void |
writeToParcel(Parcel dest,
int flags)
Used to package this object into a
Parcel . |
public int token
public int flags
InputConnection.getTextBeforeCursor()
.public int hintMaxLines
public int hintMaxChars
public static final Parcelable.Creator<ExtractedTextRequest> CREATOR
public void writeToParcel(Parcel dest, int flags)
Parcel
.writeToParcel
in interface Parcelable
dest
- The Parcel
to be written.flags
- The flags used for parceling.public int describeContents()
Parcelable
describeContents
in interface Parcelable