MapstedLocationMarketingApi
Types
Functions
Link copied to clipboard
open fun addGeofenceEventListener(geofenceEventListener: MapstedLocationMarketingApi.GeofenceEventListener)
add GeofenceEventListener
Link copied to clipboard
Link copied to clipboard
open fun getFeedByPropertyCampaignId(propertyId: Int, campaignId: String, eventCallback: Consumer<CoreFeed>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun newInstance(@NonNull context: Context, @NonNull coreApi: CoreApi, @NonNull fragmentManager: FragmentManager, @NonNull inAppNotificationsApi: InAppNotificationsApi, @Nullable callback: Consumer<Entity>): LocationMarketingApi
This public constructor creates Location Marketing API instance.
Link copied to clipboard
This methods rediect the website/url rediection event to marketing api.
Link copied to clipboard
open fun performActionOnFeed(propertyId: Int, campaignId: String, navigateCallback: Consumer<Entity>)
Link copied to clipboard
If the feed has event redirect action, send appropriate data, to caller to perform suitable operation.
Link copied to clipboard
open fun removeGeofenceEventListener(geofenceEventListener: MapstedLocationMarketingApi.GeofenceEventListener)
remove previously added GeofenceEventListener
Link copied to clipboard
Link copied to clipboard
open fun setFeedView(context: Context, entity: Entity, marketingEntityCb: Consumer<Entity>, marketingViewCb: Consumer<RecyclerView.Adapter>)
Link copied to clipboard
Link copied to clipboard