1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-26 15:13:20 +00:00
NewPipe/app/src/main/java/org/schabi/newpipe/player/PlayerServiceBinder.java

18 lines
334 B
Java
Raw Normal View History

package org.schabi.newpipe.player;
import android.os.Binder;
2019-10-04 12:59:08 +00:00
import androidx.annotation.NonNull;
class PlayerServiceBinder extends Binder {
2021-01-08 17:35:33 +00:00
private final Player player;
2021-01-08 17:35:33 +00:00
PlayerServiceBinder(@NonNull final Player player) {
this.player = player;
}
2021-01-08 17:35:33 +00:00
Player getPlayerInstance() {
return player;
}
}