다음을 통해 공유


Bundle.PutShortArray(String, Int16[]) Method

Definition

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

[Android.Runtime.Register("putShortArray", "(Ljava/lang/String;[S)V", "")]
public void PutShortArray (string? key, short[]? value);
[<Android.Runtime.Register("putShortArray", "(Ljava/lang/String;[S)V", "")>]
member this.PutShortArray : string * int16[] -> unit

Parameters

key
String

a String, or null

value
Int16[]

a short array object, or null

Attributes

Remarks

Inserts a short 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.Bundle.putShortArray(java.lang.String, short[]).

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