SoundChannel class

Inheritance
Implementers

Constructors

SoundChannel()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
loop bool
read-only
onComplete EventStream<Event>
read-only
paused bool
read / write
position num
read / write
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

Methods

addEventListener<T extends Event>(String eventType, EventListener<T> eventListener, {bool useCapture: false, int priority: 0}) StreamSubscription<T>
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
removeEventListener<T extends Event>(String eventType, EventListener<T> 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
stop() → void
toString() String
Returns a string representation of this object.
inherited

Operators

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