Interface

ShouldPauseCallback

The callback type used in PausedComposition.resume.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
public fun interface ShouldPauseCallback

The callback type used in PausedComposition.resume.

Functions

shouldPause

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.