public final class PlacesCampaign extends NotificationCampaign
MessagingListenerV2
.Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<PlacesCampaign> |
CREATOR |
ACTION_ATTRIBUTE, APP_CONTEXT_ATTRIBUTE, CAMPAIGN_ID_ATTRIBUTE, CREATIVE_DISPLAYED_ATTRIBUTE, CREATIVE_ID_ATTRIBUTE, CREATIVE_TYPE_ATTRIBUTE, NOTIFICATION_CHANNEL_ATTRIBUTE, PUSH_NOTIFICATIONS_ENABLED_ATTRIBUTE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
Region |
getRegion()
Get the region that triggers the campaign.
|
Region.Event |
getTriggerEvent()
Get the name of the event that triggers the campaign.
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getAttachmentUrl, getChannelNameForReporting, getCreativeId, getCreativeType, getMessage, getSoundFilename, getTitle, isTargetingAndroidO, setCreativeType, tagNotificationReceived
getAbTest, getAttributes, getCampaignId, getName, getRuleName, getSchemaVersion, getVersion
public static final android.os.Parcelable.Creator<PlacesCampaign> CREATOR
@NonNull public Region getRegion()
@Nullable public Region.Event getTriggerEvent()
@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 NotificationCampaign