# Class AsyncMedia.PauseRequest

java.lang.Object
java.util.Observable
com.codename1.util.AsyncResource<AsyncMedia>
com.codename1.media.AsyncMedia.PauseRequest

Enclosing interface:
  `AsyncMedia`

public static class AsyncMedia.PauseRequest extends AsyncResource<AsyncMedia>

An async resource used to track the progress of a pauseAsync() request. It will resolve when the media has paused, or if an error occurs first.

##### See also

- #pauseAsync()

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from class AsyncResource

  `AsyncResource.AsyncExecutionException, AsyncResource.CancellationException`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PauseRequest()`

- ## Method Summary

  ### Methods inherited from class AsyncResource

  `addListener, all, all, asPromise, await, await, await, cancel, complete, error, except, except, get, get, get, isCancelled, isCancelled, isDone, isReady, onResult, ready, ready, waitFor`

  ### Methods inherited from class Observable

  `addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PauseRequest

    public PauseRequest()