firebase::admob::rewarded_video::Listener

This is an abstract class.

#include <rewarded_video.h>

A listener class that developers can extend and pass to SetListener to be notified of rewards and changes to the presentation state.

Summary

Inheritance

Direct Known Subclasses:firebase::admob::rewarded_video::PollableRewardListener

Constructors and Destructors

~Listener()

Public functions

OnPresentationStateChanged(PresentationState state)=0
virtual void
Invoked when the presentation state of the ad changes.
OnRewarded(RewardItem reward)=0
virtual void
Invoked when the user should be given a reward for watching an ad.

Public functions

OnPresentationStateChanged

virtual void OnPresentationStateChanged(
  PresentationState state
)=0

Invoked when the presentation state of the ad changes.

Details
Parameters
state
The new presentation state.

OnRewarded

virtual void OnRewarded(
  RewardItem reward
)=0

Invoked when the user should be given a reward for watching an ad.

Details
Parameters
reward
The user's reward.

~Listener

virtual  ~Listener()

Send feedback about...

Need help? Visit our support page.