Files
VDownload/VDownload.Models/VideoStream.cs

28 lines
606 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Models
{
public abstract class VideoStream
{
#region PROPERTIES
public string Name { get; set; }
#endregion
#region PUBLIC METHODS
public override string ToString() => Name;
2024-03-03 03:14:07 +01:00
public abstract Task<VideoStreamDownloadResult> Download(string taskTemporaryDirectory, IProgress<double> onProgress, CancellationToken token, TimeSpan duration, TimeSpan trimStart, TimeSpan trimEnd);
#endregion
}
}