mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
Add @OptIn annotations to dev guide snippets
These cover developer journeys that we don't plan to stabilise in 1.0.0 PiperOrigin-RevId: 438812300
This commit is contained in:
parent
9fca474027
commit
7a08f73ee4
1 changed files with 0 additions and 2 deletions
|
|
@ -88,8 +88,6 @@ public void onPlayerError(PlaybackException error) {
|
|||
if (cause instanceof HttpDataSourceException) {
|
||||
// An HTTP error occurred.
|
||||
HttpDataSourceException httpError = (HttpDataSourceException) cause;
|
||||
// This is the request for which the error occurred.
|
||||
DataSpec requestDataSpec = httpError.dataSpec;
|
||||
// It's possible to find out more about the error both by casting and by
|
||||
// querying the cause.
|
||||
if (httpError instanceof HttpDataSource.InvalidResponseCodeException) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue