Android.Animation.ValueAnimator.SetDuration Method
Sets the length of the animation.

Syntax

[Android.Runtime.Register("setDuration", "(J)Landroid/animation/Animator;", "GetSetDuration_JHandler")]
public override Animator SetDuration (long duration)

Parameters

duration
The length of the animation, in milliseconds. This value cannot be negative.

Returns

Documentation for this section has not yet been entered.

Remarks

Sets the length of the animation. The default duration is 300 milliseconds.

[Android Documentation]

Requirements

Namespace: Android.Animation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11