java.lang.Object | |
↳ | com.mapsted.locmarketing.LocMarketing |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | LocMarketing.Callback | ||||||||||
interface | LocMarketing.GeofenceEventListener | ||||||||||
interface | LocMarketing.LocMarketingListener |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LocMarketing(Context context, CoreApi coreApi, LocMarketing.LocMarketingListener listener)
Note: coreApi must be initialized state.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addGeofenceEventListener(LocMarketing.GeofenceEventListener geofenceEventListener)
add GeofenceEventListener
| ||||||||||
static boolean | canHandle(Intent intent) | ||||||||||
void | findCampaign(String campaignId, Consumer<Campaign> resultCallback) | ||||||||||
List<Feed> | getFeeds(int propertyId) | ||||||||||
void | getFeedsAsync(List<Integer> propertyIds, int limit, LocMarketing.Callback callback) | ||||||||||
void | getFeedsAsync(int propertyId, LocMarketing.Callback callback) | ||||||||||
void | getFeedsAsync(List<Integer> propertyIds, LocMarketing.Callback callback) | ||||||||||
void | markAsShown(String campaignId) | ||||||||||
void | onDestroy() | ||||||||||
void | onNewIntent(Intent intent) | ||||||||||
void |
removeGeofenceEventListener(LocMarketing.GeofenceEventListener geofenceEventListener)
remove previously added GeofenceEventListener
| ||||||||||
void | showFeeds(ViewGroup feedsContainer, int propertyId) | ||||||||||
void | showPopUpDialog(Activity activity, String campaignId) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Note: coreApi must be initialized state. So call only after sdk is initialized.
coreApi | coreApi must be initialized. |
---|
add GeofenceEventListener
remove previously added GeofenceEventListener