mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-04-18 12:51:23 +00:00
18 lines
484 B
Java
18 lines
484 B
Java
package org.schabi.newpipe.player.event;
|
|
|
|
|
|
import com.google.android.exoplayer2.PlaybackParameters;
|
|
|
|
import org.schabi.newpipe.extractor.stream.StreamInfo;
|
|
|
|
public interface PlayerEventListener {
|
|
void onPlaybackUpdate(int state, int repeatMode, boolean shuffled,
|
|
PlaybackParameters parameters);
|
|
|
|
void onProgressUpdate(int currentProgress, int duration, int bufferPercent);
|
|
|
|
void onMetadataUpdate(StreamInfo info);
|
|
|
|
void onServiceStopped();
|
|
}
|