Android.Views.ViewPropertyAnimator.SetDuration Method
Sets the duration for the underlying animator that animates the requested properties.

Syntax

[Android.Runtime.Register("setDuration", "(J)Landroid/view/ViewPropertyAnimator;", "GetSetDuration_JHandler")]
public virtual ViewPropertyAnimator SetDuration (long duration)

Parameters

duration
The length of ensuing property animations, in milliseconds. The value cannot be negative.

Returns

Documentation for this section has not yet been entered.

Remarks

Sets the duration for the underlying animator that animates the requested properties. By default, the animator uses the default value for ValueAnimator. Calling this method will cause the declared value to be used instead.

[Android Documentation]

Requirements

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