Fix reference to deprecated ExoPlayer.retry() method in dev guide.

#minor-release

PiperOrigin-RevId: 417959956
This commit is contained in:
ibaker 2021-12-23 09:08:04 +00:00 committed by tonihei
parent 5e8d1eb7f3
commit 086688ed3c

View File

@ -71,7 +71,7 @@ Errors that cause playback to fail can be received by implementing
`onPlayerError(PlaybackException error)` in a registered
`Player.Listener`. When a failure occurs, this method will be called
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
`PlaybackException` to provide additional information about the failure. For