Added in API level 3

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 Parcel.

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 InputConnection.getTextBeforeCursor().

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

Added in API level 3
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

Added in API level 3
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

Added in API level 3
static val CREATOR: Parcelable.Creator<ExtractedTextRequest!>

Used to make this class parcelable.

flags

Added in API level 3
var flags: Int

Additional request flags, having the same possible values as the flags parameter of InputConnection.getTextBeforeCursor().

hintMaxChars

Added in API level 3
var hintMaxChars: Int

Hint for the maximum number of characters to return.

hintMaxLines

Added in API level 3
var hintMaxLines: Int

Hint for the maximum number of lines to return.

token

Added in API level 3
var token: Int

Arbitrary integer that can be supplied in the request, which will be delivered back when reporting updates.