ExtractedTextRequest
  public
  
  
  
  class
  ExtractedTextRequest
  
    extends Object
  
  
  
  
  
      implements
      
        Parcelable
      
  
  
| java.lang.Object | |
| ↳ | 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 | 
|---|
| Fields | |
|---|---|
| 
    public
    static
    final
    Creator<ExtractedTextRequest> | CREATORUsed to make this class parcelable. | 
| 
    public
    
    
    int | flagsAdditional request flags, having the same possible values as the
 flags parameter of  | 
| 
    public
    
    
    int | hintMaxCharsHint for the maximum number of characters to return. | 
| 
    public
    
    
    int | hintMaxLinesHint for the maximum number of lines to return. | 
| 
    public
    
    
    int | tokenArbitrary integer that can be supplied in the request, which will be delivered back when reporting updates. | 
| Public constructors | |
|---|---|
| 
      ExtractedTextRequest()
       | |
| Public methods | |
|---|---|
| 
        
        
        
        
        
        int | 
      describeContents()
      Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. | 
| 
        
        
        
        
        
        void | 
      writeToParcel(Parcel dest, int flags)
      Used to package this object into a  | 
| Inherited methods | |
|---|---|
Fields
CREATOR
public static final Creator<ExtractedTextRequest> CREATOR
Used to make this class parcelable.
flags
public int flags
Additional request flags, having the same possible values as the
 flags parameter of InputConnection.getTextBeforeCursor().
hintMaxChars
public int hintMaxChars
Hint for the maximum number of characters to return.
hintMaxLines
public int hintMaxLines
Hint for the maximum number of lines to return.
token
public int token
Arbitrary integer that can be supplied in the request, which will be delivered back when reporting updates.
Public constructors
ExtractedTextRequest
public ExtractedTextRequest ()
Public methods
describeContents
public int describeContents ()
Describe the kinds of special objects contained in this Parcelable
 instance's marshaled representation. For example, if the object will
 include a file descriptor in the output of writeToParcel(android.os.Parcel, int),
 the return value of this method must include the
 CONTENTS_FILE_DESCRIPTOR bit.
| Returns | |
|---|---|
| int | a bitmask indicating the set of special object types marshaled
 by this Parcelable object instance.
 Value is either 0orCONTENTS_FILE_DESCRIPTOR | 
writeToParcel
public void writeToParcel (Parcel dest, int flags)
Used to package this object into a Parcel.
| Parameters | |
|---|---|
| dest | Parcel: TheParcelto be written. | 
| flags | int: The flags used for parceling. | 
