Language

FloatProperty Constructors

Definition

Overloads

Name Description
FloatProperty(String)

Creates a property for single-precision floating-point values with the specified name.

FloatProperty(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

FloatProperty(String)

Creates a property for single-precision floating-point values with the specified name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)]
public FloatProperty(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)>]
new Android.Util.FloatProperty : string -> Android.Util.FloatProperty

Parameters

name
String

The identifying name of the property.

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

FloatProperty(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected FloatProperty(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Util.FloatProperty : nativeint * Android.Runtime.JniHandleOwnership -> Android.Util.FloatProperty

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies how the runtime handles the JNI reference, including its release and peer registration.

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