mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-07-30 15:53:12 +00:00
PlayerHolder: improve interface docstrings
This commit is contained in:
parent
26050d808e
commit
06cf511188
@ -120,6 +120,14 @@ public final class PlayerHolder {
|
|||||||
return App.getInstance();
|
return App.getInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Connect to (and if needed start) the {@link PlayerService}
|
||||||
|
* and bind {@link PlayerServiceConnection} to it.
|
||||||
|
* If the service is already started, only set the listener.
|
||||||
|
* @param playAfterConnect If this holder’s service was already started,
|
||||||
|
* start playing immediately
|
||||||
|
* @param newListener set this listener
|
||||||
|
* */
|
||||||
public void startService(final boolean playAfterConnect,
|
public void startService(final boolean playAfterConnect,
|
||||||
final PlayerServiceExtendedEventListener newListener) {
|
final PlayerServiceExtendedEventListener newListener) {
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user