ShouldPauseCallback


The callback type used in PausedComposition.resume.

Summary

Public functions

Boolean

Called to determine if a resumed PausedComposition should pause.

Cmn

Public functions

shouldPause

fun shouldPause(): Boolean

Called to determine if a resumed PausedComposition should pause.

Returns
Boolean

Return true to indicate that the composition should pause. Otherwise the composition will continue normally.