playPause
Description​
Toggles between play/pause depending on the current player state. if the player was playing, it will pause. If it is paused, it will initiate a play.
Signatures​
function playPause()JavaScript |
alphaTab('playPause')jQuery |
void PlayPause().net |
fun playPause(): UnitAndroid |
Parameters​
None
Returns​
Examples​
- JavaScript
- jQuery
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.playPause();
$('#alphaTab').alphaTab('playPause');
var api = new AlphaTabApi<MyControl>(...);
api.PlayPause();
val api = AlphaTabApi<MyControl>(...)
api.playPause()