MetronomeWeb class
A web implementation of the MetronomePlatform of the Metronome plugin.
- Inheritance
-
- Object
- PlatformInterface
- MetronomePlatform
- MetronomeWeb
Constructors
- MetronomeWeb()
- Constructs a MetronomeWeb
Properties
- eventTickChannel → EventChannel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy(
) → Future< void> -
inherited
-
getBPM(
) → Future< int> -
override
-
getVolume(
) → Future< int?> -
override
-
init(
String mainPath, {int bpm = 120, int volume = 50, bool enableSession = true, bool enableTickCallback = false}) → Future< void> -
override
-
isPlaying(
) → Future< bool?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onListenTick(
dynamic onEvent) → void -
override
-
pause(
) → Future< void> -
override
-
play(
int bpm) → Future< void> -
override
-
saveAudioAssetsToLocal(
String mainPath) → Future< void> -
inherited
-
setAudioAssets(
String mainPath) → Future< void> -
override
-
setAudioFile(
String mainPath) → Future< void> -
override
-
setBPM(
int bpm) → Future< void> -
override
-
setVolume(
int volume) → Future< void> -
override
-
stop(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void