AudioServiceBackground class
This class is deprecated. Use the stream subjects in BaseAudioHandler instead.
- Annotations
-
- @Deprecated("Use stream subjects in BaseAudioHandler instead.")
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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.
no setter
- state → PlaybackState
-
Deprecated. Use AudioHandler.playbackState instead.
no setter
Static Methods
-
androidForceEnableMediaButtons(
) → Future< void> - Deprecated. Use AudioService.androidForceEnableMediaButtons instead.
-
notifyChildrenChanged(
[String parentMediaId = AudioService.browsableRootId]) → Future< void> - Deprecated. Use AudioHandler.subscribeToChildren instead.
-
run(
BackgroundAudioTask taskBuilder()) → Future< void> - Deprecated. Use AudioService.init instead.
-
sendCustomEvent(
dynamic event) → void - Deprecated. Use BaseAudioHandler.customEvent instead.
-
setMediaItem(
MediaItem mediaItem) → Future< void> - Deprecated. Use BaseAudioHandler.mediaItem instead.
-
setQueue(
List< MediaItem> queue, {bool preloadArtwork = false}) → Future<void> - 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.