PersistableBundle.PutPersistableBundle(String, PersistableBundle) Method

Definition

Inserts a PersistableBundle value into the mapping of this Bundle, replacing any existing value for the given key.

[Android.Runtime.Register("putPersistableBundle", "(Ljava/lang/String;Landroid/os/PersistableBundle;)V", "")]
public void PutPersistableBundle (string? key, Android.OS.PersistableBundle? value);
[<Android.Runtime.Register("putPersistableBundle", "(Ljava/lang/String;Landroid/os/PersistableBundle;)V", "")>]
member this.PutPersistableBundle : string * Android.OS.PersistableBundle -> unit

Parameters

key
String

a String, or null

value
PersistableBundle

a Bundle object, or null

Attributes

Remarks

Inserts a PersistableBundle value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null.

Java documentation for android.os.PersistableBundle.putPersistableBundle(java.lang.String, android.os.PersistableBundle).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to