FeedProvider

interface FeedProvider

Feed provider. This will be implemented automatically by location marketing sdk in order to supply the Feed-based data.

Functions

Link copied to clipboard
abstract fun getFeedByPropertyCampaignId(propertyId: Int, campaignId: String, eventCallback: Consumer<CoreFeed>)
Link copied to clipboard
abstract fun getFeedFragment(): Fragment
Link copied to clipboard
abstract fun getFeedsByPropertyId(propertyId: Int, eventCallback: Consumer<List<CoreFeed>>)
Link copied to clipboard
abstract fun performActionOnFeed(propertyId: Int, campaignId: String, navigateCallback: Consumer<Entity>)
Link copied to clipboard
abstract fun setFeedView(context: Context, entity: Entity, marketingEntityCb: Consumer<Entity>, marketingViewCb: Consumer<RecyclerView.Adapter>)