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