Bundle.PutFloat(String, Single) Method

Definition

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

[Android.Runtime.Register("putFloat", "(Ljava/lang/String;F)V", "")]
public void PutFloat (string? key, float value);
[<Android.Runtime.Register("putFloat", "(Ljava/lang/String;F)V", "")>]
member this.PutFloat : string * single -> unit

Parameters

key
String

a String, or null

value
Single

a float

Attributes

Remarks

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

Java documentation for android.os.Bundle.putFloat(java.lang.String, float).

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