public void OpenFlow(TrialpayEvent tpEvent, string flowId)
 {
     Console.WriteLine("OpenFlow " + tpEvent.GetName() + " flow " + flowId);
 }
 // print announcements
 public void DidOpenEvent(TrialpayEvent tpEvent)
 {
     Console.WriteLine("DidOpenEvent " + tpEvent.GetName());
 }
 public void EventIsUnavailable(TrialpayEvent tpEvent)
 {
     Console.WriteLine("EventIsUnavailable " + tpEvent.GetName());
 }
示例#4
0
 // Offer Wall/Offer Gallery Event listener
 // Enables/Disables button according to availability
 public void OnStatusChange(TrialpayEvent tpEvent, TPEventStatus status)
 {
     Console.WriteLine("OnStatusChange "+tpEvent.GetName() + " status is " + status);
     if (tpEvent.GetName() == "OfferWall") {
         offerWallBt.enabled = (status == TPEventStatus.TP_Event_Status_Has_Offers);
     } else {
         offerGalleryBt.enabled = (status == TPEventStatus.TP_Event_Status_Has_Offers);
     }
 }