getBundle

fun Boomerang.getBundle(key: String): Bundle?(source)

Retrieves an Android Bundle from the Boomerang with the given key.

This extension function is only available on the Android platform. It casts the Boomerang to AndroidBoomerang and uses the underlying Bundle.

Return

The Android Bundle, or null if not found

Parameters

key

The key to retrieve the value from