Package-level declarations
Functions
Link copied to clipboard
fun AdLoader.Builder.forNativeAdWithTracking(adUnitId: String, placement: String? = null, adListener: AdListener? = null, onPaidEventListener: OnPaidEventListener? = null, onNativeAdLoaded: (NativeAd) -> Unit = {}): AdLoader.Builder
Configures RevenueCat ad-event tracking for native ads on this AdLoader.Builder.
Link copied to clipboard
fun AdView.loadAndTrackAd(adRequest: AdRequest, placement: String? = null, adListener: AdListener? = null, onPaidEventListener: OnPaidEventListener? = null)
Sets up RevenueCat ad-event tracking for this AdView and loads the ad.
Link copied to clipboard
fun AdTracker.loadAndTrackAppOpenAd(context: Context, adUnitId: String, adRequest: AdRequest, placement: String? = null, loadCallback: AppOpenAd.AppOpenAdLoadCallback? = null, fullScreenContentCallback: FullScreenContentCallback? = null, onPaidEventListener: OnPaidEventListener? = null)
Loads an AppOpenAd and automatically tracks RevenueCat ad events.
Link copied to clipboard
fun AdTracker.loadAndTrackBannerAd(adView: AdView, adRequest: AdRequest, placement: String? = null, adListener: AdListener? = null, onPaidEventListener: OnPaidEventListener? = null)
Sets up RevenueCat ad-event tracking for the given AdView and loads the ad.
Link copied to clipboard
fun AdTracker.loadAndTrackInterstitialAd(context: Context, adUnitId: String, adRequest: AdRequest, placement: String? = null, loadCallback: InterstitialAdLoadCallback? = null, fullScreenContentCallback: FullScreenContentCallback? = null, onPaidEventListener: OnPaidEventListener? = null)
Loads an InterstitialAd and automatically tracks RevenueCat ad events.
Link copied to clipboard
fun AdTracker.loadAndTrackRewardedAd(context: Context, adUnitId: String, adRequest: AdRequest, placement: String? = null, loadCallback: RewardedAdLoadCallback? = null, fullScreenContentCallback: FullScreenContentCallback? = null, onPaidEventListener: OnPaidEventListener? = null)
Loads a RewardedAd and automatically tracks RevenueCat ad events.
Link copied to clipboard
fun AdTracker.loadAndTrackRewardedInterstitialAd(context: Context, adUnitId: String, adRequest: AdRequest, placement: String? = null, loadCallback: RewardedInterstitialAdLoadCallback? = null, fullScreenContentCallback: FullScreenContentCallback? = null, onPaidEventListener: OnPaidEventListener? = null)
Loads a RewardedInterstitialAd and automatically tracks RevenueCat ad events.