ConcatenatingAudioSource class
A concatenating audio source that plays multiple audio sources one after the other
- Inheritance
-
- Object
- AudioSource
- ConcatenatingAudioSource
Constructors
-
ConcatenatingAudioSource.new({required List<
AudioSource> children, bool useLazyPreparation = true}) - Creates a concatenating audio source
Properties
-
children
→ List<
AudioSource> -
The child audio sources
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique identifier for this audio source
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useLazyPreparation → bool
-
Whether to use lazy preparation
final
Methods
-
add(
AudioSource audioSource) → Future< void> - Adds a child audio source
-
insert(
int index, AudioSource audioSource) → Future< void> - Inserts a child audio source at the given index
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAt(
int index) → Future< void> - Removes the child audio source at the given index
-
toMap(
) → Map< String, dynamic> -
Converts this audio source to a map for platform channel
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited