Partager via


BaseBundle.PutLongArray(String, Int64[]) Method

Definition

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

[Android.Runtime.Register("putLongArray", "(Ljava/lang/String;[J)V", "GetPutLongArray_Ljava_lang_String_arrayJHandler")]
public virtual void PutLongArray (string? key, long[]? value);
[<Android.Runtime.Register("putLongArray", "(Ljava/lang/String;[J)V", "GetPutLongArray_Ljava_lang_String_arrayJHandler")>]
abstract member PutLongArray : string * int64[] -> unit
override this.PutLongArray : string * int64[] -> unit

Parameters

key
String

a String, or null

value
Int64[]

a long array object, or null

Attributes

Remarks

Inserts a long array 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.BaseBundle.putLongArray(java.lang.String, long[]).

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