/// <inheritdoc /> public void SkipNext() { OnInteracting(); VisualMarker marker = VisualMarkers .Where(m => m.IsSeekable && m.Time > Position && m.Time < MaxPosition) .OrderBy(m => m.Time).FirstOrDefault(); OnSkipNext(marker); }
/// <inheritdoc /> public void SkipPrevious() { OnInteracting(); VisualMarker marker = VisualMarkers .Where(m => m.IsSeekable && m.Time.Add(SkipPreviousThreshold) < Position && m.Time < MaxPosition) .OrderByDescending(m => m.Time).FirstOrDefault(); OnSkipPrevious(marker); }