FlutterYyevaController class

Constructors

FlutterYyevaController({required VideoPlayMode mode, bool isLoop = false})

Properties

disposed bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isLoop bool
getter/setter pair
isPlaying bool
getter/setter pair
mode VideoPlayMode
getter/setter pair
onVideoCompleted ↔ dynamic Function(String)?
getter/setter pair
onVideoFailed ↔ dynamic Function(String)?
getter/setter pair
onVideoStart ↔ dynamic Function(String)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener({dynamic onVideoCompleted(String)?, dynamic onVideoStart(String)?, dynamic onVideoFailed(String)?}) → dynamic
添加监听
attachChannel(MethodChannel channel) → void
绑定channel
destroyPlayer() Future<bool?>
调用销毁
dispose() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<bool?>
暂停
play(String url) Future<bool?>
播放远端视频
playAssetFile(String path) Future<bool?>
播放远端视频
playNext() → dynamic
播放下一个
resume() Future<bool?>
恢复播放
stop() Future<bool?>
停止
toString() String
A string representation of this object.
inherited

Operators

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