TTVideoEnginePreload 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 Methods
-
addTaskWithURLItem(
TTVideoEnginePreloaderURLItem item) → Future< void> -
addTaskWithVidItem(
TTVideoEnginePreloaderVidItem item) → Future< void> -
cancelAllTask(
) → Future< void> -
cancelTaskByKey(
String key) → Future< void> -
cancelTaskByVid(
String vid) → Future< void> -
clearAllCaches(
) → Future< void> -
registMethodChannelCallHandler(
) → void -
setMasterPlaylistPreloaderCallback(
{List< TTMasterPreloadURLInfo> ? onMasterM3U8PlaylistSelectPreloadUrls(TTMasterPlaylist playlist)?}) → Future<void> -
setMediaDataLoaderDelegate(
TTVideoEngineMediaDataLoaderDelegate delegate) → Future< void>
Constants
- TTVideoEnginePreloadPriorityDefault → const int
- Default priority, will enque task from the back.
- TTVideoEnginePreloadPriorityHigh → const int
- High priority, will enque task from the front.
- TTVideoEnginePreloadPriorityHighest → const int
- Highest priority, will enque task from the front ,and only be canceled by the key.
- TTVideoEnginePreloadPriorityIDLE → const int
- Default priority, will exec when no other play/preload task