Class OfferReferrer

java.lang.Object
io.appmetrica.analytics.productflow.OfferReferrer

public class OfferReferrer extends Object
Source of an offer display.

Use newBuilder() to obtain a OfferReferrer.Builder.

  • Method Details

    • newBuilder

      @NonNull public static OfferReferrer.Builder newBuilder()
      Creates a new OfferReferrer.Builder.
      Returns:
      a new builder.
    • getType

      @Nullable public String getType()
      Returns the referrer type (e.g. push, banner). Truncated to ProductFlowConstants.PRODUCT_FLOW_GENERIC_STRING_MAX_SIZE characters if longer.
      Returns:
      referrer type, or null if not set.
    • getIdentifier

      @Nullable public String getIdentifier()
      Returns the identifier of the referral source (e.g. campaign ID). Truncated to ProductFlowConstants.PRODUCT_FLOW_GENERIC_STRING_MAX_SIZE characters if longer.
      Returns:
      identifier, or null if not set.
    • getScreen

      @Nullable public String getScreen()
      Returns the screen from which the offer was opened. Truncated to ProductFlowConstants.PRODUCT_FLOW_GENERIC_STRING_MAX_SIZE characters if longer.
      Returns:
      screen name, or null if not set.
    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object