Add throws to avoid interface clash

This commit is contained in:
Martin Fietz 2018-01-14 18:42:50 +01:00
parent e56e3868da
commit 99f01bdc90

View File

@ -30,7 +30,7 @@ public interface IPlayer {
void pause();
void prepare() throws IllegalStateException;
void prepare() throws IllegalStateException, IOException;
void prepareAsync();
@ -44,7 +44,7 @@ public interface IPlayer {
void setScreenOnWhilePlaying(boolean screenOn);
void setDataSource(String path) throws IllegalStateException,
void setDataSource(String path) throws IllegalStateException, IOException,
IllegalArgumentException, SecurityException;
void setDisplay(SurfaceHolder sh);