2019-12-29 22:15:01 +01:00
|
|
|
package org.schabi.newpipe.player.event;
|
|
|
|
|
2022-03-13 06:22:47 +01:00
|
|
|
import com.google.android.exoplayer2.PlaybackException;
|
2019-12-29 22:15:01 +01:00
|
|
|
|
|
|
|
public interface PlayerServiceEventListener extends PlayerEventListener {
|
2022-04-08 09:35:14 +02:00
|
|
|
void onViewCreated();
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
void onFullscreenStateChanged(boolean fullscreen);
|
|
|
|
|
2020-01-16 12:20:22 +01:00
|
|
|
void onScreenRotationButtonClicked();
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
void onMoreOptionsLongClicked();
|
|
|
|
|
2022-03-13 06:22:47 +01:00
|
|
|
void onPlayerError(PlaybackException error, boolean isCatchableException);
|
2019-12-29 22:15:01 +01:00
|
|
|
|
2020-02-29 00:57:54 +01:00
|
|
|
void hideSystemUiIfNeeded();
|
2020-07-14 19:21:32 +02:00
|
|
|
}
|