public long getCurrentPosition ( ) { try { return mPlayer . getCurrentPosition ( ) ; } catch ( Exception e ) { Log . e ( TAG , e . getMessage ( ) ) ; return - 1 ; } }
Returns the current position of the media in milliseconds if applicable