getParcelableExtraCompat

inline fun <reified T : Parcelable> Intent.getParcelableExtraCompat(key: String?): T?(source)

Retrieves a Parcelable extra from an Intent in a backward-compatible way.