Udostępnij za pośrednictwem


FloatProperty.SetValue(Object, Single) Method

Definition

A type-specific variant of #set(Object, Float) that is faster when dealing with fields of type float.

[Android.Runtime.Register("setValue", "(Ljava/lang/Object;F)V", "GetSetValue_Ljava_lang_Object_FHandler", ApiSince=24)]
public abstract void SetValue (Java.Lang.Object? object, float value);
[<Android.Runtime.Register("setValue", "(Ljava/lang/Object;F)V", "GetSetValue_Ljava_lang_Object_FHandler", ApiSince=24)>]
abstract member SetValue : Java.Lang.Object * single -> unit

Parameters

object
Object
value
Single
Attributes

Remarks

A type-specific variant of #set(Object, Float) that is faster when dealing with fields of type float.

Java documentation for android.util.FloatProperty.setValue(T, 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