Sdílet prostřednictvím


Animator.Pause Method

Definition

Pauses a running animation.

[Android.Runtime.Register("pause", "()V", "GetPauseHandler")]
public virtual void Pause ();
[<Android.Runtime.Register("pause", "()V", "GetPauseHandler")>]
abstract member Pause : unit -> unit
override this.Pause : unit -> unit
Attributes

Remarks

Pauses a running animation. This method should only be called on the same thread on which the animation was started. If the animation has not yet been #isStarted() started or has since ended, then the call is ignored. Paused animations can be resumed by calling #resume().

Java documentation for android.animation.Animator.pause().

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

See also