AssetsAudioPlayerGroup class
- Available extensions
Constructors
- AssetsAudioPlayerGroup.new({bool showNotification = _DEFAULT_SHOW_NOTIFICATION, required PlayerGroupMetasCallback updateNotification, bool notificationStopEnabled = _DEFAULT_NOTIFICATION_STOP_ENABLED, PlayerGroupCallback? onNotificationOpened, PlayerGroupCallback? onNotificationPlay, PlayerGroupCallback? onNotificationPause, PlayerGroupCallback? onNotificationStop, bool respectSilentMode = _DEFAULT_RESPECT_SILENT_MODE, PlayInBackground playInBackground = _DEFAULT_PLAY_IN_BACKGROUND})
Properties
-
audios
→ List<
Audio> -
no setter
-
audiosWithPlayers
→ Map<
Audio, AssetsAudioPlayerPlus> -
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<
AssetsAudioPlayerPlus> -
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