mirror of https://github.com/TeamNewPipe/NewPipe
14 lines
455 B
Java
14 lines
455 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();
|
|
}
|