public class

MapstedLocationMarketingApi

extends Object
implements LocationMarketingApi NotifyDialogFragment.MarketingHandler MapUiApi.FeedProvider
java.lang.Object
   ↳ com.mapsted.locmarketing.MapstedLocationMarketingApi

Summary

Nested Classes
interface MapstedLocationMarketingApi.Callback  
interface MapstedLocationMarketingApi.GeofenceEventListener  
Public Methods
void addGeofenceEventListener(MapstedLocationMarketingApi.GeofenceEventListener geofenceEventListener)
add GeofenceEventListener
LocationMarketingApi.Events events()
Event getFeedByPropertyCampaignId(int propertyId, String campaignId, Consumer<Event> eventCallback)
Fragment getFeedFragment()
void getFeedsByPropertyId(int propertyId, Consumer<List<Event>> eventCallback)
void getLocationMarketingSdk(Consumer<LocationMarketingApi> callback)
LocationMarketingApi.Lifecycle lifecycle()
void markAsShown(String campaignId)
void navigateToMap(String campaignId, List<HomeEntity> homeEntities)
static LocationMarketingApi newInstance(Context context, CoreApi coreApi, MapUiApi mapUiApi, FragmentManager fragmentManager, FragmentContainerView fragmentContainerView, LocationMarketingApi.LocationMarketingCallback callback)
void openWebsite(String campaignId, String websiteURL)
void performActionOnFeed(int propertyId, String campaignId, Consumer<Entity> navigateCallback)
void removeGeofenceEventListener(MapstedLocationMarketingApi.GeofenceEventListener geofenceEventListener)
remove previously added GeofenceEventListener
LocationMarketingApi.Repo repo()
void setFeedView(Context context, Entity entity, Consumer<Entity> marketingEntityCb, Consumer<Adapter> marketingViewCb)
LocationMarketingApi.Setup setup()
void showPopUpDialog(Activity activity, String campaignId)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.mapsted.locmarketing.LocationMarketingApi
From interface com.mapsted.locmarketing.ui.dialog.NotifyDialogFragment.MarketingHandler
From interface com.mapsted.ui.MapUiApi.FeedProvider

Public Methods

public void addGeofenceEventListener (MapstedLocationMarketingApi.GeofenceEventListener geofenceEventListener)

add GeofenceEventListener

public LocationMarketingApi.Events events ()

public Event getFeedByPropertyCampaignId (int propertyId, String campaignId, Consumer<Event> eventCallback)

public Fragment getFeedFragment ()

public void getFeedsByPropertyId (int propertyId, Consumer<List<Event>> eventCallback)

public void getLocationMarketingSdk (Consumer<LocationMarketingApi> callback)

public LocationMarketingApi.Lifecycle lifecycle ()

public void markAsShown (String campaignId)

public void navigateToMap (String campaignId, List<HomeEntity> homeEntities)

public static LocationMarketingApi newInstance (Context context, CoreApi coreApi, MapUiApi mapUiApi, FragmentManager fragmentManager, FragmentContainerView fragmentContainerView, LocationMarketingApi.LocationMarketingCallback callback)

public void openWebsite (String campaignId, String websiteURL)

public void performActionOnFeed (int propertyId, String campaignId, Consumer<Entity> navigateCallback)

public void removeGeofenceEventListener (MapstedLocationMarketingApi.GeofenceEventListener geofenceEventListener)

remove previously added GeofenceEventListener

public LocationMarketingApi.Repo repo ()

public void setFeedView (Context context, Entity entity, Consumer<Entity> marketingEntityCb, Consumer<Adapter> marketingViewCb)

public LocationMarketingApi.Setup setup ()

public void showPopUpDialog (Activity activity, String campaignId)