LoadedSound class

A sound loaded from some kind of source.

Inheritance

Properties

cursor Duration
getter/setter pair
duration Duration
no setter
hashCode int
The hash code for this object.
no setterinherited
isLooped bool
Whether the playback should be started again automatically loopDelay ms after sound is ended.
getter/setter pair
isPlaying bool
no setterinherited
loopDelay Duration
The current loop delay, even when looping is disabled.
getter/setter pair
pitch double
A double greater than 0. Changes both the pitch and the speed. Changing only one requires complex audio proccessing algorithms.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
volume double
A double greater than 0 (values greater than 1 may behave differently from platform to platform).
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
Stops the sound, but keeps it's position.
inherited
play() → void
Starts the sound. Played from the beginning if was paused.
inherited
resume() → void
Starts the sound. Continues if was paused.
inherited
stop() → void
Stops the sound and resets it's position.
inherited
toString() String
A string representation of this object.
inherited

Operators

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