consumeExtra

open override fun <T> consumeExtra(key: Any): T

Retrieves the value of the extra with the given key, unless no such extra exists. Once the value of the extra is retrieved, the extra is removed. Use getExtra to prevent the extra from being removed.

See also