private void CancelBufferingTask() { _scheduledFuture?.Cancel(false); OnBufferingChanged(new BufferingChangedEventArgs(0, TimeSpan.Zero)); }
protected override void OnPause() { base.OnPause(); dataItemGeneratorFuture.Cancel(true /* mayInterruptIfRunning */); }
private void CancelPlayingHandler() { _scheduledFuture?.Cancel(false); }
public void Stop() { _iFuture.Cancel(false); }