Sdílet prostřednictvím


Bundle.PutSize(String, Size) Method

Definition

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

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

Parameters

key
String

a String, or null

value
Size

a Size object, or null

Attributes

Remarks

Inserts a Size 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.putSize(java.lang.String, android.util.Size).

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