BccmPlayerWeb class
A web implementation of the BccmPlayerPlatform of the BccmPlayer plugin.
- Inheritance
-
- Object
- PlatformInterface
- BccmPlayerInterface
- BccmPlayerWeb
Constructors
Properties
- appConfig ↔ AppConfig?
-
getter/setter pair
-
chromecastEventStream
→ Stream<
ChromecastEvent> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- npawConfig ↔ NpawConfig?
-
getter/setter pair
- playerEventStream → Stream
-
no setteroverride
- primaryController → BccmPlayerController
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stateNotifier → PlayerPluginStateNotifier
-
finalinherited
-
webVideoPlayers
↔ Map<
String, VideoJsPlayer> -
getter/setter pair
Methods
-
addPlaybackListener(
PlaybackListenerPigeon listener) → Future< void> -
override
-
disposePlayer(
String playerId) → Future< void> -
inherited
-
enterFullscreen(
String playerId) → Future< void> -
inherited
-
exitFullscreen(
String playerId) → void -
inherited
-
getChromecastState(
) → Future< ChromecastState?> -
override
-
getPlayerState(
{String? playerId}) → Future< PlayerStateSnapshot?> -
If
playerId
is null, this returns the primary player's state.inherited -
getPlayerTracks(
{String? playerId}) → Future< PlayerTracksSnapshot?> -
If
playerId
is null, this returns the primary player's state.inherited -
newPlayer(
{String? url}) → Future< String> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openCastDialog(
) → void -
override
-
openExpandedCastController(
) → void -
override
-
pause(
String playerId) → void -
override
-
play(
String playerId) → void -
override
-
queueMediaItem(
String playerId, MediaItem mediaItem) → Future< void> -
override
-
removePlaybackListener(
PlaybackListenerPigeon listener) → Future< void> -
inherited
-
replaceCurrentMediaItem(
String playerId, MediaItem mediaItem, {bool? playbackPositionFromPrimary, bool? autoplay = true}) → Future< void> -
override
-
seekTo(
String playerId, double positionMs) → Future< void> -
inherited
-
setAppConfig(
AppConfig? config) → void -
override
-
setMixWithOthers(
String playerId, bool mixWithOthers) → Future< void> -
inherited
-
setNpawConfig(
NpawConfig? config) → Future -
override
-
setPlaybackSpeed(
String playerId, double speed) → Future< void> -
inherited
-
setPlayerViewVisibility(
int viewId, bool visible) → void -
override
-
setPrimary(
String id) → Future< bool> -
override
-
setSelectedTrack(
String playerId, TrackType type, String? trackId) → Future< void> -
inherited
-
setup(
) → Future -
MUST be run first
override
-
stop(
String playerId, bool reset) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void