stop

fun stop()

Stop playing all remaining and incoming events. To play events, you must restart the player by calling play.

See also

to pause the player

to clean up the player