Class SwrveCampaignState


  • public class SwrveCampaignState
    extends java.lang.Object
    Used internally to save the state of campaigns
    • Field Detail

      • impressions

        protected int impressions
      • showMessagesAfterDelay

        public java.util.Date showMessagesAfterDelay
    • Constructor Detail

      • SwrveCampaignState

        public SwrveCampaignState​(org.json.JSONObject state,
                                  java.util.Date now)
    • Method Detail

      • getImpressions

        public int getImpressions()
      • getDownloadDate

        public java.util.Date getDownloadDate()
      • toJSON

        public org.json.JSONObject toJSON()
                                   throws org.json.JSONException
        Throws:
        org.json.JSONException