Beispiel #1
0
    // Special Offer

    public void OnShowSpecialOffer()
    {
        // Check whether a special offer is available

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

        // The special offer is ready, display it

        Enhance.ShowSpecialOffer();
    }
Beispiel #2
0
    // Special Offer

    public void OnShowSpecialOffer()
    {
        // Check whether a special offer is available

        if (!Enhance.IsSpecialOfferReady())
        {
            writeLog("Special offer is not ready");
            return;
        }

        // The special offer is ready, display it

        Enhance.ShowSpecialOffer();
        writeLog("Showing special offer");
    }
Beispiel #3
0
 /**
  * Check if a special offer is ready
  *
  * @return true if a special offer is ready, false if not
  */
 public static bool IsSpecialOfferReady(string placement)
 {
     return(Enhance.IsSpecialOfferReady(placement));
 }