FileDocCategorySizeDatePackage
ExtractedTextRequest.javaAPI DocAndroid 5.1 API2630Thu Mar 12 22:22:10 GMT 2015android.view.inputmethod

ExtractedTextRequest

public class ExtractedTextRequest extends Object implements android.os.Parcelable
Description of what an input method would like from an application when extract text from its input editor.

Fields Summary
public int
token
Arbitrary integer that can be supplied in the request, which will be delivered back when reporting updates.
public int
flags
Additional request flags, having the same possible values as the flags parameter of {@link InputConnection#getTextBeforeCursor InputConnection.getTextBeforeCursor()}.
public int
hintMaxLines
Hint for the maximum number of lines to return.
public int
hintMaxChars
Hint for the maximum number of characters to return.
public static final Parcelable.Creator
CREATOR
Used to make this class parcelable.
Constructors Summary
Methods Summary
public intdescribeContents()


       
        return 0;
    
public voidwriteToParcel(android.os.Parcel dest, int flags)
Used to package this object into a {@link Parcel}.

param
dest The {@link Parcel} to be written.
param
flags The flags used for parceling.

        dest.writeInt(token);
        dest.writeInt(this.flags);
        dest.writeInt(hintMaxLines);
        dest.writeInt(hintMaxChars);