Beispiel #1
0
    // Offerwall

    public void OnShowOfferwall()
    {
        // Check whether an offerwall is available

        if (!Enhance.IsOfferwallReady())
        {
            return;
        }

        // The offerwall is ready, show it

        Enhance.ShowOfferwall();
    }
Beispiel #2
0
    // Offerwall

    public void OnShowOfferwall()
    {
        // Check whether an offerwall is available

        if (!Enhance.IsOfferwallReady())
        {
            writeLog("Offerwall is not ready");
            return;
        }

        // The offerwall is ready, show it

        Enhance.ShowOfferwall();
        writeLog("Showing offerwall");
    }
Beispiel #3
0
 /**
  * Check if an offerwall is ready
  *
  * @return true if an offerwall is ready, false if not
  */
 public static bool IsOfferwallReady(string placement)
 {
     return(Enhance.IsOfferwallReady(placement));
 }