Table of Contents

Method ShowRewardedAd

Namespace
Titipi.MocaLib

ShowRewardedAd(Action<bool, int>)

Shows the highest-eCPM ready rewarded unit. In the Editor, always invokes the callback with (true, 0) so game flow can be tested without a real device. The callback receives (true, durationSeconds) when the user completes the ad, or (false, 0) otherwise.

public static void ShowRewardedAd(Action<bool, int> onClosed)

Parameters

onClosed Action<bool, int>