-
public final class WebserviceLauncherSimple proxy to allow webservice call from outside this package
-
-
Method Summary
Modifier and Type Method Description static booleanlaunchStartWebservice(RuntimeManager runtimeManager, boolean fromPush, String pushId, boolean userActivity)Launch the start webservice static TaskRunnableinitTrackerWebservice(RuntimeManager runtimeManager, List<Event> events, TrackerWebserviceListener listener)Create an instance of the Tracker webservice and return the runnable static TaskRunnableinitOptOutTrackerWebservice(Context context, List<Event> events, TrackerWebserviceListener listener)Create an instance of the Opt-Out Tracker webservice and return the runnable static TaskRunnableinitMetricWebservice(Context context, MetricPostDataProvider dataProvider, MetricWebserviceListener listener)Create an instance of the metrics webservice and return the runnable static booleanlaunchPushWebservice(RuntimeManager runtimeManager, @NonNull() BatchPushRegistration registration)Launch the push webservice static booleanlaunchAttributesSendWebservice(RuntimeManager runtimeManager, long version, Map<String, Object> attributes, Map<String, Set<String>> tags)static booleanlaunchAttributesCheckWebservice(RuntimeManager runtimeManager, long version, String transactionID)static booleanlaunchLocalCampaignsWebservice(RuntimeManager runtimeManager)static booleanlaunchLocalCampaignsJITWebservice(RuntimeManager runtimeManager, List<LocalCampaign> campaigns, LocalCampaignsJITWebserviceListener listener)static booleanlaunchDisplayReceiptWebservice(Context context, DisplayReceiptPostDataProvider dataProvider, DisplayReceiptWebserviceListener listener)Launch the display receipt webservice -
-
Method Detail
-
launchStartWebservice
static boolean launchStartWebservice(RuntimeManager runtimeManager, boolean fromPush, String pushId, boolean userActivity)
Launch the start webservice
-
initTrackerWebservice
static TaskRunnable initTrackerWebservice(RuntimeManager runtimeManager, List<Event> events, TrackerWebserviceListener listener)
Create an instance of the Tracker webservice and return the runnable
-
initOptOutTrackerWebservice
static TaskRunnable initOptOutTrackerWebservice(Context context, List<Event> events, TrackerWebserviceListener listener)
Create an instance of the Opt-Out Tracker webservice and return the runnable
-
initMetricWebservice
static TaskRunnable initMetricWebservice(Context context, MetricPostDataProvider dataProvider, MetricWebserviceListener listener)
Create an instance of the metrics webservice and return the runnable
- Parameters:
context- android contextdataProvider- providerlistener- listener
-
launchPushWebservice
static boolean launchPushWebservice(RuntimeManager runtimeManager, @NonNull() BatchPushRegistration registration)
Launch the push webservice
-
launchAttributesSendWebservice
static boolean launchAttributesSendWebservice(RuntimeManager runtimeManager, long version, Map<String, Object> attributes, Map<String, Set<String>> tags)
-
launchAttributesCheckWebservice
static boolean launchAttributesCheckWebservice(RuntimeManager runtimeManager, long version, String transactionID)
-
launchLocalCampaignsWebservice
static boolean launchLocalCampaignsWebservice(RuntimeManager runtimeManager)
-
launchLocalCampaignsJITWebservice
static boolean launchLocalCampaignsJITWebservice(RuntimeManager runtimeManager, List<LocalCampaign> campaigns, LocalCampaignsJITWebserviceListener listener)
-
launchDisplayReceiptWebservice
static boolean launchDisplayReceiptWebservice(Context context, DisplayReceiptPostDataProvider dataProvider, DisplayReceiptWebserviceListener listener)
Launch the display receipt webservice
- Parameters:
context- Android's contextdataProvider- Display receipt data providerlistener- Webservice callback
-
-
-
-