Package com.mparticle

Class AttributionResult

  • public class AttributionResult
    extends java.lang.Object
    Class representing the result of an attribution query to an integration partner.
    • Constructor Detail

      • AttributionResult

        public AttributionResult()
    • Method Detail

      • setParameters

        public AttributionResult setParameters​(@Nullable
                                               org.json.JSONObject parameters)
      • getParameters

        public org.json.JSONObject getParameters()
        Parameters of an attribution. Use these parameters to programmatically route your users and customize your interface.
        returns a JSONObject, may be null if the integration does not support attribution parameters.
      • setLink

        public AttributionResult setLink​(@Nullable
                                         java.lang.String linkUrl)
      • getLink

        public java.lang.String getLink()
      • setServiceProviderId

        public AttributionResult setServiceProviderId​(int id)
      • getServiceProviderId

        public int getServiceProviderId()
        Get the service provider or integration id associated with this result.
        the id of the associated integration
        See Also:
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object