mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix reference to deprecated ExoPlayer.retry() method in dev guide.
#minor-release PiperOrigin-RevId: 417959956
This commit is contained in:
parent
5e8d1eb7f3
commit
086688ed3c
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ Errors that cause playback to fail can be received by implementing
|
||||||
`onPlayerError(PlaybackException error)` in a registered
|
`onPlayerError(PlaybackException error)` in a registered
|
||||||
`Player.Listener`. When a failure occurs, this method will be called
|
`Player.Listener`. When a failure occurs, this method will be called
|
||||||
immediately before the playback state transitions to `Player.STATE_IDLE`.
|
immediately before the playback state transitions to `Player.STATE_IDLE`.
|
||||||
Failed or stopped playbacks can be retried by calling `ExoPlayer.retry`.
|
Failed or stopped playbacks can be retried by calling `ExoPlayer.prepare`.
|
||||||
|
|
||||||
Note that some [`Player`][] implementations pass instances of subclasses of
|
Note that some [`Player`][] implementations pass instances of subclasses of
|
||||||
`PlaybackException` to provide additional information about the failure. For
|
`PlaybackException` to provide additional information about the failure. For
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue