Package com.confirmit.mobilesdk
Object TriggerSDK
-
- All Implemented Interfaces:
public class TriggerSDK
-
-
Field Summary
Fields Modifier and Type Field Description private BooleantestModepublic final static TriggerSDKINSTANCE
-
Method Summary
-
-
Method Detail
-
setScriptBridge
final Unit setScriptBridge(ProgramScriptBridge bridge)
-
setCallback
final Unit setCallback(String serverId, String programKey, ProgramCallback callback)
-
removeCallback
final Unit removeCallback(String serverId, String programKey)
-
download
final ProgramDownloadResult download(String serverId, String surveyId)
-
downloadAsync
final Deferred<ProgramDownloadResult> downloadAsync(String serverId, String programKey)
-
downloadCountersAsync
final Deferred<ProgramDownloadResult> downloadCountersAsync(String serverId, String programKey)
-
addJourneyLog
final Unit addJourneyLog(Map<String, String> data)
-
addJourneyLog
final Unit addJourneyLog(String serverId, String programKey, Map<String, String> data)
-
notifyEvent
final Unit notifyEvent(String serverId, String programKey, String event, Map<String, String> data)
-
notifyAppForeground
final Unit notifyAppForeground(Map<String, String> data)
-
notifyAppBackground
final Unit notifyAppBackground(Map<String, String> data)
-
notifyAppFeedback
final Unit notifyAppFeedback(Map<String, String> data)
-
notifyBeaconEnter
final Unit notifyBeaconEnter(TriggerBeaconInfo triggerBeaconInfo, Map<String, String> data)
-
notifyBeaconExit
final Unit notifyBeaconExit(TriggerBeaconInfo triggerBeaconInfo, Map<String, String> data)
-
getPrograms
final List<Program> getPrograms(String serverId)
-
getActiveScenarioCount
final Integer getActiveScenarioCount(String serverId, String programKey)
-
deleteProgram
final Unit deleteProgram(String serverId, String programKey, Boolean deleteCustomData)
-
getProgramVariable
final String getProgramVariable(String serverId, String programKey, String key)
-
setProgramVariable
final Unit setProgramVariable(String serverId, String programKey, String key, String value)
-
getTestMode
final Boolean getTestMode()
-
setTestMode
final Unit setTestMode(Boolean testMode)
-
-
-
-