Intent.GetFloatExtra(String, Single) Method

Definition

Retrieve extended data from the intent.

[Android.Runtime.Register("getFloatExtra", "(Ljava/lang/String;F)F", "GetGetFloatExtra_Ljava_lang_String_FHandler")]
public virtual float GetFloatExtra (string name, float defaultValue);
abstract member GetFloatExtra : string * single -> single
override this.GetFloatExtra : string * single -> single

Parameters

name
String

The name of the desired item.

defaultValue
Single

the value to be returned if no value of the desired type is stored with the given name.

Returns

Single
Attributes

Remarks

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

See also

  • <xref:Android.Content.Intent.PutExtra(System.String%2c+System.Single)>