@Override public int getCurrentPosition() { if (mMediaPlayer != null && mIsMediaReadyToBePlayed) { return (int) mMediaPlayer.getCurrentPosition(); } else { return -1; } }
public long getCurrentPosition() { if (isInPlaybackState()) return mMediaPlayer.getCurrentPosition(); return 0; }
public long getCurrentPosition() { if (mInitialized) return mPlayer.getCurrentPosition(); return 0; }