persistableBundleOf

Returns a new empty PersistableBundle.


Deprecated

This method does not provide type safety at compile time. Use the platform `PersistableBundle` class directly instead.

Returns a new PersistableBundle with the given key/value pairs as elements.

Supported value types are Int, Long, Double, Boolean, and String and arrays of these types.

Throws

When a value is not a supported type of PersistableBundle.