public abstract class WebViewCampaign extends Campaign
Modifier and Type | Field and Description |
---|---|
protected android.net.Uri |
localCreativeUri
The uri pointing to the local cached creative.
|
protected java.util.Map<java.lang.String,java.lang.String> |
webViewAttributes
The webview attributes for this campaign.
|
Modifier | Constructor and Description |
---|---|
protected |
WebViewCampaign(com.localytics.android.Campaign.Builder<?> builder) |
protected |
WebViewCampaign(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getConversionEventName() |
android.net.Uri |
getCreativeFilePath()
Get the url pointing to the local location where we can get the campaign creative resources.
|
protected abstract java.util.Map<java.lang.String,java.lang.String> |
getExtraCampaignEventAttributes(java.lang.String action) |
protected java.util.Map<java.lang.String,java.lang.String> |
getWebViewAttributes()
Get the campaign associated webview attributes.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getAbTest, getAttributes, getCampaignId, getName, getRuleName, getSchemaVersion, getVersion
protected java.util.Map<java.lang.String,java.lang.String> webViewAttributes
@Nullable protected android.net.Uri localCreativeUri
protected WebViewCampaign(com.localytics.android.Campaign.Builder<?> builder)
protected WebViewCampaign(@NonNull android.os.Parcel in)
@Nullable public android.net.Uri getCreativeFilePath()
protected java.util.Map<java.lang.String,java.lang.String> getWebViewAttributes()
@NonNull protected abstract java.util.Map<java.lang.String,java.lang.String> getExtraCampaignEventAttributes(@NonNull java.lang.String action)
@NonNull protected abstract java.lang.String getConversionEventName()
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class Campaign