Class EventOccurrence

  • All Implemented Interfaces:
    android.os.Parcelable

    public class EventOccurrence
    extends java.lang.Object
    implements android.os.Parcelable
    An event occurrence
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<EventOccurrence> CREATOR  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • 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 java.util.Date getWhenClicked()
      • getWhenConverted

        public java.util.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​(java.util.Date whenClicked)
      • setWhenConverted

        public void setWhenConverted​(java.util.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