BunnyVideoPlayerEventApi class abstract
Flutter-side event API. Every callback carries the originating player's
playerId so the Dart BunnyVideoController registry can route events
to the right controller without ambiguity.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
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
-
onBufferEnd(
int playerId) → void -
onBufferStart(
int playerId) → void -
onComplete(
int playerId) → void -
onDownloadProgress(
DownloadProgress progress) → void -
onError(
ErrorInfo error) → void -
onFullscreenToggleRequested(
int playerId) → void - Fires when the user taps the native fullscreen button. The host app (Flutter) owns the actual orientation/immersive-chrome flip — the plugin never launches its own fullscreen Activity or modal, which is what makes transitions seamless (no player reinit, no buffer restart). Host is expected to toggle its own fullscreen state on receipt.
-
onPause(
int playerId) → void -
onPipEntered(
int playerId) → void -
onPipExited(
int playerId) → void -
onPlay(
int playerId) → void -
onQualityChanged(
int playerId, VideoQuality quality) → void -
onStateChanged(
VideoState state) → void -
onTokenExpired(
int playerId) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
setup(
BunnyVideoPlayerEventApi? api, {BinaryMessenger? binaryMessenger}) → void
Constants
-
pigeonChannelCodec
→ const MessageCodec<
Object?>