AssetsAudioPlayerGroup class

Available extensions

Constructors

AssetsAudioPlayerGroup({bool showNotification = _defaultShowNotification, required PlayerGroupMetasCallback updateNotification, bool notificationStopEnabled = _defaultNotificationStopEnabled, PlayerGroupCallback? onNotificationOpened, PlayerGroupCallback? onNotificationPlay, PlayerGroupCallback? onNotificationPause, PlayerGroupCallback? onNotificationStop, bool respectSilentMode = _defaultRespectSilentMode, PlayInBackground playInBackground = _defaultPlayInBackground})

Properties

audios → List<Audio>
no setter
audiosWithPlayers → Map<Audio, AssetsAudioPlayer>
no setter
hashCode → int
The hash code for this object.
no setterinherited
isPlaying → ValueStream<bool>
no setter
notificationStopEnabled → bool
final
onErrorDo ↔ AssetsAudioPlayerGroupErrorHandler?
getter/setter pair
onNotificationOpened → PlayerGroupCallback?
final
onNotificationPause → PlayerGroupCallback?
final
onNotificationPlay → PlayerGroupCallback?
final
onNotificationStop → PlayerGroupCallback?
final
players → List<AssetsAudioPlayer>
no setter
playInBackground → PlayInBackground
final
playingAudios → List<PlayingAudio>
no setter
respectSilentMode → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showNotification → bool
final
updateNotification → PlayerGroupMetasCallback
final

Methods

add(Audio audio, {LoopMode loopMode = LoopMode.none, double? volume, Duration? seek, double? playSpeed}) → Future<void>
addAll(List<Audio> audios) → Future<void>
builderIsPlaying({Key? key, required PlayingWidgetBuilder builder}) → PlayerGroupBuilder

Available on AssetsAudioPlayerGroup, provided by the AssetAudioPlayerGroupBuilder extension

changeNotificationForGroup(AssetsAudioPlayerGroup playerGroup, {required NotificationSettings notificationSettings, Metas? metas, bool? display, String? firstPlayerId, bool isPlaying = true}) → Future<void>
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → Future<void>
play() → Future<void>
playOrPause() → Future<void>
removeAudio(Audio audio) → Future<void>
stop() → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited