Skip to content

Commit 06cf511

Browse files
committed
PlayerHolder: improve interface docstrings
1 parent 26050d8 commit 06cf511

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

app/src/main/java/org/schabi/newpipe/player/helper/PlayerHolder.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ private Context getCommonContext() {
120120
return App.getInstance();
121121
}
122122

123+
/**
124+
* Connect to (and if needed start) the {@link PlayerService}
125+
* and bind {@link PlayerServiceConnection} to it.
126+
* If the service is already started, only set the listener.
127+
* @param playAfterConnect If this holder’s service was already started,
128+
* start playing immediately
129+
* @param newListener set this listener
130+
* */
123131
public void startService(final boolean playAfterConnect,
124132
final PlayerServiceExtendedEventListener newListener) {
125133
if (DEBUG) {

0 commit comments

Comments
 (0)