public void UnPause() { if (PlayState == PlaybackControllerPlayState.Paused) { UnPauseInternal(); Application.CurrentInstance.ReportPlaybackProgress(CurrentPlayableItemId.ToString(), CurrentFilePositionTicks, false); } }
public void Seek(long position) { var playstate = PlayState; if (playstate == PlaybackControllerPlayState.Playing || playstate == PlaybackControllerPlayState.Paused) { SeekInternal(position); Application.CurrentInstance.ReportPlaybackProgress(CurrentPlayableItemId.ToString(), position, playstate == PlaybackControllerPlayState.Paused); } }