Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9be84e49
authored
Mar 25, 2021
by
kimvde
Committed by
Oliver Woodman
Apr 01, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Document execution of unavailable command
PiperOrigin-RevId: 365044658
parent
e4200465
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
RELEASENOTES.md
library/common/src/main/java/com/google/android/exoplayer2/Player.java
RELEASENOTES.md
View file @
9be84e49
...
@@ -13,6 +13,8 @@
...
@@ -13,6 +13,8 @@
`onPositionDiscontinuity(int)`
callback
`onPositionDiscontinuity(int)`
callback
(
[
#6163
](
https://github.com/google/ExoPlayer/issues/6163
)
,
(
[
#6163
](
https://github.com/google/ExoPlayer/issues/6163
)
,
[
#4768
](
https://github.com/google/ExoPlayer/issues/4768
)
).
[
#4768
](
https://github.com/google/ExoPlayer/issues/4768
)
).
*
Add
`isCommandAvailable`
method and
`onAvailableCommandsChanged`
listener to query the commands that can be executed on the player.
*
UI:
*
UI:
*
Add builder for
`PlayerNotificationManager`
.
*
Add builder for
`PlayerNotificationManager`
.
*
Add group setting to
`PlayerNotificationManager`
.
*
Add group setting to
`PlayerNotificationManager`
.
...
...
library/common/src/main/java/com/google/android/exoplayer2/Player.java
View file @
9be84e49
...
@@ -1447,7 +1447,8 @@ public interface Player {
...
@@ -1447,7 +1447,8 @@ public interface Player {
* <p>This method does not execute the command.
* <p>This method does not execute the command.
*
*
* <p>Executing a command that is not available (for example, calling {@link #next()} if {@link
* <p>Executing a command that is not available (for example, calling {@link #next()} if {@link
* #COMMAND_SEEK_TO_NEXT_MEDIA_ITEM} is unavailable) is a no-op.
* #COMMAND_SEEK_TO_NEXT_MEDIA_ITEM} is unavailable) will neither throw an exception nor generate
* a {@link #getPlayerError()} player error}.
*
*
* <p>{@link #COMMAND_SEEK_TO_NEXT_MEDIA_ITEM} and {@link #COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM}
* <p>{@link #COMMAND_SEEK_TO_NEXT_MEDIA_ITEM} and {@link #COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM}
* are unavailable if there is no such {@link MediaItem}.
* are unavailable if there is no such {@link MediaItem}.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment