BlVideoPlayerState enum

Inheritance

Constructors

BlVideoPlayerState()
const

Values

idle → const BlVideoPlayerState

视频初始状态 或者是调用了 reset()

prepareInitialized → const BlVideoPlayerState

准备初始化播放器

initialized → const BlVideoPlayerState

播放器初始化完成

playing → const BlVideoPlayerState

正在播放中

paused → const BlVideoPlayerState

暂停

stop → const BlVideoPlayerState

停止播放 播放器会停留在当前画面 play() pause()无效 必须调用setDataSource() 重新初始化播放器才可以

completed → const BlVideoPlayerState

播放完成 可以使用 play()方法重新播放当前视频, 如果isLooping == true 这个状态也会被回调,然后继续为playing状态继续播放

error → const BlVideoPlayerState

播放出现错误

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<BlVideoPlayerState>
A constant List of the values in this enum, in order of their declaration.