pause

fun pause(): Boolean

Pauses video playback.

Ensure the player is valid before calling this method, otherwise it will throw an IllegalStateException.

Return

true if the video pauses successfully; false otherwise.