setPaused

abstract suspend fun setPaused(paused: Boolean): Boolean

Pauses without discarding.

Return

false when the platform cannot pause, in which case the engine emulates a pause with stop and accepts the restart cost. Saying false honestly is better than pretending.