RewardedVideoListener

Interface implemented by Objects that will handle SASRewardedVideoManager video lifecycle events

Functions

Link copied to clipboard
abstract fun onRewardedVideoAdClicked(@NonNull rewardedVideoManager: SASRewardedVideoManager)
Called when the rewarded video is clicked, leading to opening the URL passed in parameter
Link copied to clipboard
abstract fun onRewardedVideoAdClosed(@NonNull rewardedVideoManager: SASRewardedVideoManager)
Called when a rewarded video is closed.
Link copied to clipboard
abstract fun onRewardedVideoAdFailedToLoad(@NonNull rewardedVideoManager: SASRewardedVideoManager, @NonNull exception: Exception)
Called when a rewarded video has failed to load.
Link copied to clipboard
abstract fun onRewardedVideoAdFailedToShow(@NonNull rewardedVideoManager: SASRewardedVideoManager, @NonNull exception: Exception)
Called when there is an error during video playback.
Link copied to clipboard
abstract fun onRewardedVideoAdLoaded(@NonNull rewardedVideoManager: SASRewardedVideoManager, @NonNull adElement: SASAdElement)
Called when the rewarded video ad was successfully loaded showRewardedVideo to show the video.
Link copied to clipboard
abstract fun onRewardedVideoAdShown(@NonNull rewardedVideoManager: SASRewardedVideoManager)
Called when a rewarded video has been successfully shown.
Link copied to clipboard
abstract fun onRewardedVideoEndCardDisplayed(@NonNull rewardedVideoManager: SASRewardedVideoManager, @NonNull endCardView: ViewGroup)
Called when the rewarded video displayed an HTML end card.
Link copied to clipboard
abstract fun onRewardedVideoEvent(@NonNull rewardedVideoManager: SASRewardedVideoManager, videoEvent: Int)
Called when the rewarded video fired a video event
Link copied to clipboard
abstract fun onRewardReceived(@NonNull rewardedVideoManager: SASRewardedVideoManager, @NonNull reward: SASReward)
Called when a rewarded video is completed and the user should be rewarded.