Class Overview
Description of what an input method would like from an application when
extract text from its input editor.
Summary
Fields |
public
int |
flags |
Additional request flags, having the same possible values as the
flags parameter of InputConnection.getTextBeforeCursor(). |
public
int |
hintMaxChars |
Hint for the maximum number of characters to return. |
public
int |
hintMaxLines |
Hint for the maximum number of lines to return. |
public
int |
token |
Arbitrary integer that can be supplied in the request, which will be
delivered back when reporting updates. |
Public Methods |
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.
|
[Expand]
Inherited Methods |
From class java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Is called before the object's memory is being reclaimed by the VM.
|
final
Class<? extends Object>
|
getClass()
Returns the unique instance of Class which represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
|
From interface android.os.Parcelable
abstract
int
|
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
abstract
void
|
writeToParcel(Parcel dest, int flags)
Flatten this object in to a Parcel.
|
|
Constants
Used to make this class parcelable.
Fields
public
int
hintMaxChars
Hint for the maximum number of characters to return.
public
int
hintMaxLines
Hint for the maximum number of lines to return.
public
int
token
Arbitrary integer that can be supplied in the request, which will be
delivered back when reporting updates.
Public Constructors
public
ExtractedTextRequest
()
Public Methods
public
int
describeContents
()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
Returns
- a bitmask indicating the set of special object types marshalled
by the Parcelable.
public
void
writeToParcel
(Parcel dest, int flags)
Used to package this object into a Parcel.
Parameters
dest
| The Parcel to be written. |
flags
| The flags used for parceling.
|