RewardedAdapterListener

This is SDK internal listener for Rewarded ad. Provides callbacks for various events that occur during the rewarded ad lifecycle, including loading, display, interaction, reward handling, and error management.

Functions

Link copied to clipboard
abstract fun onAdClicked(@NonNull adapter: GfpRewardedAdAdapter)
Called when the rewarded ad is clicked.
Link copied to clipboard
abstract fun onAdClosed(@NonNull adapter: GfpRewardedAdAdapter)
Called when the rewarded ad is closed.
Link copied to clipboard
abstract fun onAdCompleted(@NonNull adapter: GfpRewardedAdAdapter, @NonNull rewardItem: GfpRewardItem)
Called when the rewarded ad is completed.
Link copied to clipboard
abstract fun onAdFailedToLoad(@NonNull adapter: GfpRewardedAdAdapter, @NonNull error: GfpError)
Called when the rewarded ad fails to load.
Link copied to clipboard
abstract fun onAdFailedToShow(@NonNull adapter: GfpRewardedAdAdapter, @NonNull error: GfpError)
Called when the rewarded ad fails to show.
Link copied to clipboard
abstract fun onAdLoaded(@NonNull adapter: GfpRewardedAdAdapter)
Called when the rewarded ad is successfully loaded and ready to be displayed.
Link copied to clipboard
abstract fun onAdStarted(@NonNull adapter: GfpRewardedAdAdapter)
Called when the rewarded ad starts displaying.