-
- All Implemented Interfaces:
-
com.batch.android.localcampaigns.model.LocalCampaign.Trigger
public class EventLocalCampaignTrigger implements LocalCampaign.Trigger
Event based trigger for local campaigns
-
-
Field Summary
Fields Modifier and Type Field Description public Stringnamepublic Stringlabelpublic JSONObjectattributes
-
Constructor Summary
Constructors Constructor Description EventLocalCampaignTrigger(String name, String label)EventLocalCampaignTrigger(String name, String label, JSONObject attributes)
-
Method Summary
Modifier and Type Method Description booleanisSatisfied(@Nullable() String eventName, @Nullable() String eventLabel, @Nullable() JSONObject eventAttributes)Checks if this triggers is satisfied for a given event StringgetType()Type of trigger, possible values :NOWEVENTNEXT_SESSIONCAMPAIGNS_LOADEDCAMPAIGNS_REFRESHED -
-
Constructor Detail
-
EventLocalCampaignTrigger
EventLocalCampaignTrigger(String name, String label, JSONObject attributes)
-
-
Method Detail
-
isSatisfied
boolean isSatisfied(@Nullable() String eventName, @Nullable() String eventLabel, @Nullable() JSONObject eventAttributes)
Checks if this triggers is satisfied for a given event
-
-
-
-