次の方法で共有


Bundle.PutSparseParcelableArray(String, SparseArray) Method

Definition

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

[Android.Runtime.Register("putSparseParcelableArray", "(Ljava/lang/String;Landroid/util/SparseArray;)V", "")]
public void PutSparseParcelableArray (string? key, Android.Util.SparseArray? value);
[<Android.Runtime.Register("putSparseParcelableArray", "(Ljava/lang/String;Landroid/util/SparseArray;)V", "")>]
member this.PutSparseParcelableArray : string * Android.Util.SparseArray -> unit

Parameters

key
String

a String, or null

value
SparseArray

a SparseArray of Parcelable objects, or null

Attributes

Remarks

Inserts a SparceArray of Parcelable values 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.Bundle.putSparseParcelableArray(java.lang.String, android.util.SparseArray<? extends android.os.Parcelable>).

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