List of usage examples for android.media RemoteController seekTo
public boolean seekTo(long timeMs) throws IllegalArgumentException
From source file:com.bullmobi.message.services.media.MediaController2KitKat.java
/** * {@inheritDoc}//w ww.j a v a2 s . c o m */ @Override public void seekTo(long position) { RemoteController rc = mService.getRemoteController(); rc.seekTo(position); }
From source file:com.achep.acdisplay.services.media.MediaController2KitKat.java
/** * {@inheritDoc}/*from ww w. j a va2 s . c o m*/ */ @Override public void seekTo(long position) { if (mService == null) { Log.w(TAG, "Seeking a media on stopped controller."); return; } RemoteController rc = mService.getRemoteController(); rc.seekTo(position); }