Join us for ⁠#Android11: The Beta Launch Show on June 3!
Added in API level 3

ParcelableSpan

interface ParcelableSpan : Parcelable
android.text.ParcelableSpan

A special kind of Parcelable for objects that will serve as text spans. This can only be used by code in the framework; it is not intended for applications to implement their own Parcelable spans.

Summary

Inherited constants

Public methods

abstract Int

Return a special type identifier for this span class.

Inherited functions

Public methods

getSpanTypeId

Added in API level 3
abstract fun getSpanTypeId(): Int

Return a special type identifier for this span class.