AdInterstitialState

class AdInterstitialState(val advertisement: Advertisement, scope: CoroutineScope)

State of an AdPlacementType.INTERSTITIAL ad.

Constructors

Link copied to clipboard
constructor(advertisement: Advertisement, scope: CoroutineScope)

Creates an AdInterstitialState instance.

Properties

Link copied to clipboard

The Advertisement that is being displayed.

Link copied to clipboard
val isPresented: StateFlow<Boolean>

Indicates if the Advertisement is currently being presented.

Functions

Link copied to clipboard
fun hide()

A method for hiding AdPlacementType.INTERSTITIAL ad.

Link copied to clipboard

A method for displaying AdPlacementType.INTERSTITIAL ad.