- Inheritance
- Object
- EventDispatcher
- SoundChannel
- WebAudioApiSoundChannel
Constructors
- WebAudioApiSoundChannel(WebAudioApiSound webAudioApiSound, num startTime, num duration, bool loop, SoundTransform soundTransform)
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - loop → bool
-
read-only
- onComplete → EventStream<Event>
-
read-only, inherited
- paused → bool
-
read / write
- position → num
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - sound → Sound
-
read-only
- soundTransform → SoundTransform
-
read / write
- stopped → bool
-
read-only
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
addEventListener(
String eventType, EventListener eventListener, { bool useCapture: false, int priority: 0 }) → StreamSubscription<Event> -
Adds an event listener to receive events.
inherited -
dispatchEvent(
Event event) → void -
Dispatches the
event
to all listening subscribers.inherited -
dispatchEventRaw(
Event event, EventDispatcher target, EventPhase eventPhase) → void -
Do not use the dispatchEventRaw method unless you want to override the way how events are dispatched for display list object. Please use dispatchEvent instead.
inherited -
hasEventListener(
String eventType, { bool useCapture: false }) → bool -
Returns true if the EventDispatcher has event listeners. The
useCapture
paramenter defines if the event listeners should be registered for the capturing event phase or not.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
on<T extends Event>(
String eventType) → EventStream<T> -
Returns an event stream of type
eventType
.inherited -
pause(
) → void -
inherited
-
removeEventListener(
String eventType, EventListener eventListener, { bool useCapture: false }) → void -
Removes an event listener to stop receiving events.
inherited -
removeEventListeners(
String eventType) → void -
Removes all event listeners of a given event type.
inherited -
resume(
) → void -
inherited
-
stop(
) → void -
toString(
) → String -
Returns a string representation of this object.
inherited