Skip to main content
Version: 3.3.1

Event Subscription Options

Minimum Requirements:
  • Appodeal SDK 3.0.1+ UPM distribution
note

To further respond to your ad's behavior and track different Appodeal SDK events, you can either use our standard callbacks implementation (Interstitial, Rewarded Video, Banner, MREC, Consent Manager) or subscribe only to the necessary ones.

Compared to standard callback implementation, our new logic is simpler and more user-friendly.

You can use one of the three options below to subscribe to the desired event:

public void SomeMethod()
{
AppodealCallbacks.RewardedVideo.OnFinished += (sender, args) => { };
}
public void SomeMethod()
{
AppodealCallbacks.RewardedVideo.OnFinished += (sender, args) => OnRewardedVideoFinished(args.Amount, args.Currency);
}

private void OnRewardedVideoFinished(double amount, string currency) { }
public void SomeMethod()
{
AppodealCallbacks.RewardedVideo.OnFinished += OnRewardedVideoFinished;
}

private void OnRewardedVideoFinished(object sender, RewardedVideoFinishedEventArgs e) { }