Package com.mparticle

Class BaseEvent

    • Method Detail

      • isShouldUploadEvent

        public boolean isShouldUploadEvent()
      • setShouldUploadEvent

        protected void setShouldUploadEvent​(boolean shouldUploadEvent)
      • getCustomFlags

        @Nullable
        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getCustomFlags()
        Retrieve the custom flags set on this event. Custom Flags are used to send data or trigger behavior to individual 3rd-party services that you have enabled for your app. By default, flags are not forwarded to any providers.
        Returns:
        returns the map of custom flags, or null if none are set
      • setCustomFlags

        protected void setCustomFlags​(@Nullable
                                      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> flags)
      • getCustomAttributes

        @Nullable
        public java.util.Map<java.lang.String,​java.lang.String> getCustomAttributes()
        Retrieve the Map of custom attributes of the event.
        Returns:
        returns a Map of custom attributes, or null if no custom attributes are set.
      • setCustomAttributes

        public void setCustomAttributes​(@Nullable
                                        java.util.Map<java.lang.String,​java.lang.String> customAttributes)
      • getMessage

        public com.mparticle.internal.messages.BaseMPMessageBuilder getMessage()