public final class InAppCampaign extends WebViewCampaign
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<InAppCampaign> |
CREATOR |
localCreativeUri, webViewAttributes
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
float |
getAspectRatio() |
float |
getBackgroundAlpha() |
protected java.lang.String |
getConversionEventName() |
Localytics.InAppMessageDismissButtonLocation |
getDismissButtonLocation()
Get the location of the dismiss button (left or right)
|
java.lang.String |
getDisplayLocation()
Get the location where the campaign creative displays on the device.
|
java.util.Map<java.lang.String,java.lang.String> |
getEventAttributes()
Get the event attributes associated with the campaign triggering event.
|
java.lang.String |
getEventName()
Get the event name that triggered the campaign.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getExtraCampaignEventAttributes(java.lang.String action) |
int |
getOffset() |
boolean |
isDismissButtonHidden()
Get whether the dismiss button is hidden
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getCreativeFilePath, getWebViewAttributes
getAbTest, getAttributes, getCampaignId, getName, getRuleName, getSchemaVersion, getVersion
public static final android.os.Parcelable.Creator<InAppCampaign> CREATOR
public float getAspectRatio()
public int getOffset()
public float getBackgroundAlpha()
@Nullable public java.lang.String getDisplayLocation()
public boolean isDismissButtonHidden()
@NonNull public Localytics.InAppMessageDismissButtonLocation getDismissButtonLocation()
@Nullable public java.lang.String getEventName()
getEventAttributes()
@NonNull public java.util.Map<java.lang.String,java.lang.String> getEventAttributes()
getEventName()
@NonNull protected java.util.Map<java.lang.String,java.lang.String> getExtraCampaignEventAttributes(@Nullable java.lang.String action)
getExtraCampaignEventAttributes
in class WebViewCampaign
@NonNull protected java.lang.String getConversionEventName()
getConversionEventName
in class WebViewCampaign
@NonNull public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class WebViewCampaign