<div class='type'>Interface</div>


<a id='references'></a>



<h2 id="overload-1">Overload 1</h2>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
public fun interface ShouldPauseCallback
```


The callback type used in `PausedComposition.resume`.


## Functions



<hr class="docs-overload-divider">


<h2 id="shouldpause">shouldPause</h2>

```kotlin
public fun shouldPause(): Boolean
```


Called to determine if a resumed `PausedComposition` should pause.

#### Returns

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