Package-level declarations
Functions
Link copied to clipboard
Loads and displays a Banner Ad using a Composable.
expect fun BannerAd(adUnitId: String = AdUnitId.BANNER_DEFAULT, adSize: AdSize = AdSize.FULL_BANNER, onLoad: () -> Unit = {})
Loads and displays a Banner Ad using a Composable.
Link copied to clipboard
Link copied to clipboard
fun InterstitialAd(loadedAd: InterstitialAdHandler, onDismissed: () -> Unit = {}, onShown: () -> Unit = {}, onImpression: () -> Unit = {}, onClick: () -> Unit = {}, onFailure: (Exception) -> Unit = {})
Displays a pre-loaded Interstitial Ad using a Composable.
fun InterstitialAd(activity: Any?, adUnitId: String = AdUnitId.INTERSTITIAL_DEFAULT, onDismissed: () -> Unit = {}, onShown: () -> Unit = {}, onImpression: () -> Unit = {}, onClick: () -> Unit = {}, onFailure: (Exception) -> Unit = {}, onLoad: () -> Unit = {})
Loads and displays an Interstitial Ad using a Composable.
Link copied to clipboard
fun rememberBannerAd(activity: Any?, adUnitId: String = AdUnitId.BANNER_DEFAULT, adSize: AdSize = AdSize.FULL_BANNER): MutableState<BannerAdHandler>
Link copied to clipboard
Link copied to clipboard
fun rememberInterstitialAd(activity: Any?, adUnitId: String = AdUnitId.INTERSTITIAL_DEFAULT, onLoad: () -> Unit = {}, onFailure: (Exception) -> Unit = {}): MutableState<InterstitialAdHandler>
Link copied to clipboard
fun rememberRewardedAd(activity: Any?, adUnitId: String = AdUnitId.REWARDED_DEFAULT, onLoad: () -> Unit = {}, onFailure: (Exception) -> Unit = {}): MutableState<RewardedAdHandler>
Link copied to clipboard
fun rememberRewardedInterstitialAd(activity: Any?, adUnitId: String = AdUnitId.REWARDED_INTERSTITIAL_DEFAULT, onLoad: () -> Unit = {}, onFailure: (Exception) -> Unit = {}): MutableState<RewardedInterstitialAdHandler>
Link copied to clipboard
fun RewardedAd(loadedAd: RewardedAdHandler, onRewardEarned: () -> Unit, onDismissed: () -> Unit = {}, onShown: () -> Unit = {}, onImpression: () -> Unit = {}, onClick: () -> Unit = {}, onFailure: (Exception) -> Unit = {})
Displays a pre-loaded Rewarded Ad using a Composable.
fun RewardedAd(activity: Any?, adUnitId: String = AdUnitId.REWARDED_DEFAULT, onRewardEarned: () -> Unit, onDismissed: () -> Unit = {}, onShown: () -> Unit = {}, onImpression: () -> Unit = {}, onClick: () -> Unit = {}, onFailure: (Exception) -> Unit = {}, onLoad: () -> Unit = {})
Loads and displays a Rewarded Ad using a Composable.
Link copied to clipboard
fun RewardedInterstitialAd(loadedAd: RewardedInterstitialAdHandler, onRewardEarned: () -> Unit, onDismissed: () -> Unit = {}, onShown: () -> Unit = {}, onImpression: () -> Unit = {}, onClick: () -> Unit = {}, onFailure: (Exception) -> Unit = {})
Displays a pre-loaded Rewarded Interstitial Ad using a Composable.
fun RewardedInterstitialAd(activity: Any?, adUnitId: String = AdUnitId.REWARDED_INTERSTITIAL_DEFAULT, onRewardEarned: () -> Unit, onDismissed: () -> Unit = {}, onShown: () -> Unit = {}, onImpression: () -> Unit = {}, onClick: () -> Unit = {}, onFailure: (Exception) -> Unit = {}, onLoad: () -> Unit = {})
Loads and displays a Rewarded Interstitial Ad using a Composable.