IJKPlayerController class
播放控制器
Constructors
- IJKPlayerController.new({required PlaySource source})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAndroid → bool
-
no setter
-
isPlaying
→ Future<
bool> -
是否正在播放中
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → PlaySource
-
final
- state ↔ VideoPlayerRtmpExtWidgetState
-
getter/setter pair
Methods
-
addListener(
VideoListenCallback listener) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onVideoReset(
) → Future< bool> - 重置
-
pause(
) → Future< void> - 暂停播放
-
play(
) → Future< void> - 开始播放
-
removeListener(
VideoListenCallback listener) → void -
resume(
) → Future< void> - 恢复播放.
-
setPlayManager(
PlayerFactory playerFactory) → Future< void> - 切换内核 only android
-
stop(
) → Future< void> - 结束播放
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited