Freigeben über


BaseBundle.PutLong(String, Int64) Method

Definition

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

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

Parameters

key
String

a String, or null

value
Int64

a long

Attributes

Remarks

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

Java documentation for android.os.BaseBundle.putLong(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