AppOpenConfig

constructor(showOnColdStart: Boolean = false, minBackgroundDuration: Duration = 4.seconds, cooldownBetweenShows: Duration = Duration.ZERO, preloadOnStart: Boolean = true, coldStartTimeout: Duration = 5.seconds)(source)

Parameters

showOnColdStart

Attempt to show an app-open ad during start. The load must complete within coldStartTimeout or the cold-start show is skipped — on most devices the first frame wins, so leave this off unless a splash screen covers it.

minBackgroundDuration

Minimum time the app must have been backgrounded before a foreground show.

cooldownBetweenShows

Minimum time between two coordinator-driven shows. Duration.ZERO disables the check.

preloadOnStart

Preload an ad when start is called, without showing it. Useful for apps that do not want a cold-start show but want the ad ready for the next foreground event.

coldStartTimeout

Maximum time allowed for the cold-start load before skipping the show. Default 5s.