mirror of https://github.com/TeamNewPipe/NewPipe
18 lines
334 B
Java
18 lines
334 B
Java
package org.schabi.newpipe.player;
|
|
|
|
import android.os.Binder;
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
|
class PlayerServiceBinder extends Binder {
|
|
private final Player player;
|
|
|
|
PlayerServiceBinder(@NonNull final Player player) {
|
|
this.player = player;
|
|
}
|
|
|
|
Player getPlayerInstance() {
|
|
return player;
|
|
}
|
|
}
|