1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-07-23 12:22:58 +00:00

PlayerHolder: improve interface docstrings

This commit is contained in:
Profpatsch 2025-01-01 14:28:37 +01:00
parent 26050d808e
commit 06cf511188

View File

@ -120,6 +120,14 @@ public final class PlayerHolder {
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 holders service was already started,
* start playing immediately
* @param newListener set this listener
* */
public void startService(final boolean playAfterConnect,
final PlayerServiceExtendedEventListener newListener) {
if (DEBUG) {