Sdílet prostřednictvím


ValueAnimator.GetAnimatedValue(String) Method

Definition

The most recent value calculated by this ValueAnimator for propertyName.

[Android.Runtime.Register("getAnimatedValue", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetAnimatedValue_Ljava_lang_String_Handler")]
public virtual Java.Lang.Object? GetAnimatedValue (string? propertyName);
[<Android.Runtime.Register("getAnimatedValue", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetAnimatedValue_Ljava_lang_String_Handler")>]
abstract member GetAnimatedValue : string -> Java.Lang.Object
override this.GetAnimatedValue : string -> Java.Lang.Object

Parameters

propertyName
String

Returns

animatedValue The value most recently calculated for the named property by this ValueAnimator.

Attributes

Remarks

The most recent value calculated by this ValueAnimator for propertyName. The main purpose for this read-only property is to retrieve the value from the ValueAnimator during a call to AnimatorUpdateListener#onAnimationUpdate(ValueAnimator), which is called during each animation frame, immediately after the value is calculated.

Java documentation for android.animation.ValueAnimator.getAnimatedValue(java.lang.String).

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