Class EventOccurrence

  • All Implemented Interfaces:
    android.os.Parcelable

    public class EventOccurrence
    extends Object
    implements android.os.Parcelable
    An event occurrence
    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<EventOccurrence> CREATOR
    • Constructor Detail

      • EventOccurrence

        public EventOccurrence()
      • EventOccurrence

        public EventOccurrence​(int eventId,
                               long phoneId)
      • EventOccurrence

        public EventOccurrence​(int occurrenceId,
                               int eventId,
                               long phoneId)
    • Method Detail

      • hasId

        public boolean hasId()
      • isClicked

        public boolean isClicked()
      • isConverted

        public boolean isConverted()
      • clickedNow

        public void clickedNow()
        Alias for this.setWhenClicked(new Date());
      • convertedNow

        public void convertedNow()
        Alias for this.setWhenConverted(new Date());
      • getId

        public int getId()
      • getEventId

        public int getEventId()
      • getPhoneId

        public long getPhoneId()
      • getWhenClicked

        public Date getWhenClicked()
      • getWhenConverted

        public Date getWhenConverted()
      • setId

        public void setId​(int id)
        Just for internal SDK use
      • setEventId

        public void setEventId​(int eventId)
        Just for internal SDK use
      • setWhenClicked

        public void setWhenClicked​(Date whenClicked)
      • setWhenConverted

        public void setWhenConverted​(Date whenConverted)
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable