BetterPlayerPlaylistController class
Controller used to manage playlist player.
Constructors
-
BetterPlayerPlaylistController(List<
BetterPlayerDataSource> _betterPlayerDataSourceList, {BetterPlayerConfiguration betterPlayerConfiguration = const BetterPlayerConfiguration(), BetterPlayerPlaylistConfiguration betterPlayerPlaylistConfiguration = const BetterPlayerPlaylistConfiguration()})
Properties
- betterPlayerConfiguration → BetterPlayerConfiguration
-
final
- betterPlayerController → BetterPlayerController?
-
Get BetterPlayerController instance
no setter
- betterPlayerPlaylistConfiguration → BetterPlayerPlaylistConfiguration
-
Playlist configuration of Better Player
final
- currentDataSourceIndex → int
-
Get index of currently played source, based on
_betterPlayerDataSourceList
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Cleanup BetterPlayerPlaylistController
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setupDataSource(
int index) → void -
Setup data source with index based on
_betterPlayerDataSourceList
provided in constructor. Index must -
setupDataSourceList(
List< BetterPlayerDataSource> dataSourceList) → void - Setup new data source list. Pauses currently played video and init new data source list. Previous data source list will be removed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited