mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Document getAvailableCommands in BasePlayer
PiperOrigin-RevId: 386207381
This commit is contained in:
parent
ab416f41ac
commit
e2f1285ada
1 changed files with 6 additions and 0 deletions
|
|
@ -314,6 +314,12 @@ public abstract class BasePlayer implements Player {
|
||||||
: timeline.getWindow(getCurrentWindowIndex(), window).getDurationMs();
|
: timeline.getWindow(getCurrentWindowIndex(), window).getDurationMs();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the {@link Commands} available in the player.
|
||||||
|
*
|
||||||
|
* @param permanentAvailableCommands The commands permanently available in the player.
|
||||||
|
* @return The available {@link Commands}.
|
||||||
|
*/
|
||||||
protected Commands getAvailableCommands(Commands permanentAvailableCommands) {
|
protected Commands getAvailableCommands(Commands permanentAvailableCommands) {
|
||||||
return new Commands.Builder()
|
return new Commands.Builder()
|
||||||
.addAll(permanentAvailableCommands)
|
.addAll(permanentAvailableCommands)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue