Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Methods](https://developer.android.com/reference/android/animation/Animator.AnimatorPauseListener#pubmethods)

# Animator.AnimatorPauseListener

*** ** * ** ***

` public static interface Animator.AnimatorPauseListener `   
` `

|---|
| android.animation.Animator.AnimatorPauseListener |

Known indirect subclasses [AnimatorListenerAdapter](https://developer.android.com/reference/android/animation/AnimatorListenerAdapter) [AnimatorListenerAdapter](https://developer.android.com/reference/android/animation/AnimatorListenerAdapter) This adapter class provides empty implementations of the methods from `https://developer.android.com/reference/android/animation/Animator.AnimatorListener`.   

*** ** * ** ***

A pause listener receives notifications from an animation when the animation is `https://developer.android.com/reference/android/animation/Animator#pause()` or `https://developer.android.com/reference/android/animation/Animator#resume()`.
**See also:**

- `https://developer.android.com/reference/android/animation/Animator#addPauseListener(android.animation.Animator.AnimatorPauseListener)`

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/animation/Animator.AnimatorPauseListener#onAnimationPause(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) ` <br /> Notifies that the animation was paused. |
| ` abstract void` | ` https://developer.android.com/reference/android/animation/Animator.AnimatorPauseListener#onAnimationResume(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) ` <br /> Notifies that the animation was resumed, after being previously paused. |

## Public methods

### onAnimationPause

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void onAnimationPause (Animator animation)
```

<br />

Notifies that the animation was paused.

<br />

<br />

| Parameters ||
|---|---|
| `animation` | `Animator`: The animaton being paused. This value cannot be `null`. <br /> |

**See also:**

- `https://developer.android.com/reference/android/animation/Animator#pause()`

### onAnimationResume

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void onAnimationResume (Animator animation)
```

<br />

Notifies that the animation was resumed, after being previously paused.

<br />

<br />

| Parameters ||
|---|---|
| `animation` | `Animator`: The animation being resumed. This value cannot be `null`. <br /> |

**See also:**

- `https://developer.android.com/reference/android/animation/Animator#resume()`