FlutterVideoPlayerEventHandler class
Constructors
- FlutterVideoPlayerEventHandler({dynamic onInitialized()?, dynamic onVideoProgress(double position, double duration, double bufferedStart, double bufferedEnd)?, dynamic onVideoPlayEnd()?, dynamic onVideoPlayPaused()?, dynamic onVideoInterruptionBegan()?, dynamic onVideoInterruptionEnded()?, dynamic onVideoPipCloseClicked()?, dynamic onVideoPipFullScreenClicked()?})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onInitialized → dynamic Function()?
-
视频初始化
final
- onVideoInterruptionBegan → dynamic Function()?
-
视频被打断
final
- onVideoInterruptionEnded → dynamic Function()?
-
视频被打断后恢复
final
- onVideoPipCloseClicked → dynamic Function()?
-
点击视频画中画关闭按钮
final
- onVideoPipFullScreenClicked → dynamic Function()?
-
点击视频画中画全屏按钮
final
- onVideoPlayEnd → dynamic Function()?
-
视频播放结束
final
- onVideoPlayPaused → dynamic Function()?
-
视频暂停
final
- onVideoProgress → dynamic Function(double position, double duration, double bufferedStart, double bufferedEnd)?
-
视频进度监听
final
- 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