Added in API level Baklava
NoWritingToolsSpan
class NoWritingToolsSpan : ParcelableSpan
kotlin.Any | |
↳ | android.text.style.NoWritingToolsSpan |
A span that signals to IMEs that writing tools should not modify the text.
For example, a text field may contain a mix of user input text and quoted text. The app can apply NoWritingToolsSpan
to the quoted text so that the IME knows that writing tools should only rewrite the user input text, and not modify the quoted text.
Summary
Public constructors | |
---|---|
Creates a |
Public methods | |
---|---|
Int | |
Int | |
String |
toString() |
Unit |
writeToParcel(dest: Parcel, flags: Int) Flatten this object in to a Parcel. |
Properties | |
---|---|
static Parcelable.Creator<NoWritingToolsSpan!> |
Public constructors
Public methods
describeContents
Added in API level Baklava
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 |
toString
Added in API level Baklava
fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |
writeToParcel
Added in API level Baklava
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
Parameters | |
---|---|
dest |
Parcel: This value cannot be null . |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |