FlutterAliPlayerMediaLoader class

Constructors

FlutterAliPlayerMediaLoader()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
onCancel OnCancel?
getter/setter pair
onCompletion OnCompletion?
getter/setter pair
onError OnError?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel(String url) → void
取消加载
load(String url, String duration) → void
开始加载文件
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause(String url) → void
暂停加载
resume(String url) → void
恢复加载
setOnLoadStatusListener(OnCompletion? onCompletion, OnCancel? onCancel, OnError? onError) → void
监听预加载相关回调 onCompletion: 完成回调 onCancel: 取消回调 onError: 错误回调
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

eventChannel EventChannel
getter/setter pair
methodChannel MethodChannel
getter/setter pair