Example #1
0
    //---------------------------------------------------------------------------------------------------------------
    public void Show(Action callbackWatched, Action callbackNotWatched, AdsType type = DefaultPlacementID)
    {
        onAdsWatchedCallback    = callbackWatched;
        onAdsNotWatchedCallback = callbackNotWatched;
        if (!IsAvailable(type))
        {
            return;
        }

        AdsDummy.Show(type.GetDesc(), new AdsDummy.ShowOptions()
        {
            resultCallback = OnAdsWatched
        });
    }
Example #2
0
 //---------------------------------------------------------------------------------------------------------------
 public bool IsAvailable(AdsType type = DefaultPlacementID)
 {
     return(AdsDummy.IsReady(type.GetDesc()));
 }