stop
Description​
Stops the playback of the current song, and moves the playback position back to the start. If a dedicated playback range is selected, it will move the playback position to the start of this range, not the whole song.
- JavaScript
- C#
- Kotlin
stop(): void
void Stop()
fun stop(): Unit
Examples​
- JavaScript
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.stop();
var api = new AlphaTabApi<MyControl>(...);
api.Stop();
val api = AlphaTabApi<MyControl>(...)
api.stop()