Pause

Pauses playback.

bool Pause(Error *err = nullptr)
Since
Added since version v4.4.0.

After calling Play to play a URL resource, you can call this method to pause playback. If you need to stop playback, call the Stop method.

Timing

This method must be called after Play.

Parameters

err
Output parameter, status or error information. See Error.

Return Values

  • true: Playback paused successfully.
  • false: Failed to pause playback.