TTVideoEngineDownloadTaskManager class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- onComplete ↔ void Function(TTVideoEngineDownloadTask task, TTError? error)?
-
getter/setter pair
- onProgress ↔ void Function(TTVideoEngineDownloadTask task, double progress)?
-
getter/setter pair
- onResume ↔ void Function(TTVideoEngineDownloadTask task, int fileOffset, int expectedTotalBytes)?
-
getter/setter pair
- onStateChanged ↔ void Function(TTVideoEngineDownloadTask task, TTVideoEngineDownloadState state)?
-
getter/setter pair
Static Methods
-
enableHlsProxy(
bool enable) → Future< void> -
loadAllTask(
) → Future< List< TTVideoEngineDownloadTask> > -
removeAllTask(
) → Future< void> -
removeTask(
TTVideoEngineDownloadTask task) → Future< void> -
resumeAllTask(
) → Future< void> -
resumeTask(
TTVideoEngineDownloadTask task) → Future< void> -
setDownloadDirectory(
String dir) → Future< void> -
setLimitFreeDiskCount(
int count) → Future< void> -
setLimitFreeDiskSize(
int size) → Future< void> -
setMaxDownloadOperationCount(
int count) → Future< void> -
setupMethodCallHandler(
) → void -
suspendAllTask(
) → Future< void> -
suspendTask(
TTVideoEngineDownloadTask task) → Future< void>