AudioServiceBackground class Null safety

This class is deprecated. Use the stream subjects in BaseAudioHandler instead.

Annotations
  • @Deprecated("Use stream subjects in BaseAudioHandler instead.")

Constructors

AudioServiceBackground()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

queue List<MediaItem>?
Deprecated. Use AudioHandler.queue instead.
@Deprecated("Use AudioHandler.queue instead."), read-only
state PlaybackState
Deprecated. Use AudioHandler.playbackState instead.
@Deprecated("Use AudioHandler.playbackState instead."), read-only

Static Methods

androidForceEnableMediaButtons() Future<void>
Deprecated. Use AudioService.androidForceEnableMediaButtons instead.
@Deprecated("Use AudioService.androidForceEnableMediaButtons instead.")
notifyChildrenChanged([String parentMediaId = AudioService.browsableRootId]) Future<void>
Deprecated. Use AudioHandler.subscribeToChildren instead.
@Deprecated("Use AudioHandler.subscribeToChildren instead.")
run(BackgroundAudioTask taskBuilder()) Future<void>
Deprecated. Use AudioService.init instead.
@Deprecated("Use AudioService.init instead")
sendCustomEvent(dynamic event) → void
Deprecated. Use BaseAudioHandler.customEvent instead.
@Deprecated("Use BaseAudioHandler.customEvent instead.")
setMediaItem(MediaItem mediaItem) Future<void>
Deprecated. Use BaseAudioHandler.mediaItem instead.
@Deprecated("Use BaseAudioHandler.mediaItem instead.")
setQueue(List<MediaItem> queue, {bool preloadArtwork = false}) Future<void>
Deprecated. Use BaseAudioHandler.queue instead.
@Deprecated("Use BaseAudioHandler.queue instead.")
setState({List<MediaControl>? controls, List<MediaAction>? systemActions, AudioProcessingState? processingState, bool? playing, Duration? position, Duration? bufferedPosition, double? speed, DateTime? updateTime, List<int>? androidCompactActions, AudioServiceRepeatMode? repeatMode, AudioServiceShuffleMode? shuffleMode}) Future<void>
Deprecated. Use BaseAudioHandler.playbackState instead.
@Deprecated("Use BaseAudioHandler.playbackState instead.")