Created
April 11, 2013 16:00
-
-
Save billy-bacon/5364652 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void setMediaPlayer(final MediaPlayerControl player) { | |
Log.d(TAG, "setMediaPlayer called with " + player); | |
super.setMediaPlayer(new MediaPlayerControl() { | |
@Override | |
public void start() { | |
player.start(); | |
} | |
@Override | |
public void pause() { | |
//To change body of implemented methods use File | Settings | File Templates. | |
} | |
@Override | |
public int getDuration() { | |
return 0; //To change body of implemented methods use File | Settings | File Templates. | |
} | |
@Override | |
public int getCurrentPosition() { | |
return 0; //To change body of implemented methods use File | Settings | File Templates. | |
} | |
@Override | |
public void seekTo(int pos) { | |
//To change body of implemented methods use File | Settings | File Templates. | |
} | |
@Override | |
public boolean isPlaying() { | |
return false; //To change body of implemented methods use File | Settings | File Templates. | |
} | |
@Override | |
public int getBufferPercentage() { | |
return 0; //To change body of implemented methods use File | Settings | File Templates. | |
} | |
@Override | |
public boolean canPause() { | |
return false; //To change body of implemented methods use File | Settings | File Templates. | |
} | |
@Override | |
public boolean canSeekBackward() { | |
return false; //To change body of implemented methods use File | Settings | File Templates. | |
} | |
@Override | |
public boolean canSeekForward() { | |
return false; //To change body of implemented methods use File | Settings | File Templates. | |
} | |
}); //To change body of overridden methods use File | Settings | File Templates. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment