Class OfferReferrer
java.lang.Object
io.appmetrica.analytics.productflow.OfferReferrer
Source of an offer display.
Use newBuilder() to obtain a OfferReferrer.Builder.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier of the referral source (e.g.Returns the screen from which the offer was opened.getType()Returns the referrer type (e.g.static OfferReferrer.BuilderCreates a newOfferReferrer.Builder.toString()
-
Method Details
-
newBuilder
Creates a newOfferReferrer.Builder.- Returns:
- a new builder.
-
getType
Returns the referrer type (e.g.push,banner). Truncated toProductFlowConstants.PRODUCT_FLOW_GENERIC_STRING_MAX_SIZEcharacters if longer.- Returns:
- referrer type, or
nullif not set.
-
getIdentifier
Returns the identifier of the referral source (e.g. campaign ID). Truncated toProductFlowConstants.PRODUCT_FLOW_GENERIC_STRING_MAX_SIZEcharacters if longer.- Returns:
- identifier, or
nullif not set.
-
getScreen
Returns the screen from which the offer was opened. Truncated toProductFlowConstants.PRODUCT_FLOW_GENERIC_STRING_MAX_SIZEcharacters if longer.- Returns:
- screen name, or
nullif not set.
-
toString
-