MoEDispatcher

open class MoEDispatcher

Author

Umang Chamaria

Functions

handleAppUpdateEvent
Link copied to clipboard
open fun handleAppUpdateEvent()
Handles the app update event, registers,and tries to get new GCM registration IDNote : Don't call on UI Thread
handleLogout
Link copied to clipboard
open fun handleLogout(isForcedLogout: Boolean)
Logs out the user.
logoutUser
Link copied to clipboard
open fun logoutUser(isForcedLogout: Boolean)
onAppClose
Link copied to clipboard
open fun onAppClose()
onAppOpen
Link copied to clipboard
open fun onAppOpen()
sendInteractionData
Link copied to clipboard
open fun sendInteractionData()
Sends all the tracked events to the server.
setAlias
Link copied to clipboard
open fun setAlias(attribute: Attribute)
setDeviceAttribute
Link copied to clipboard
open fun setDeviceAttribute(deviceAttribute: Attribute)
showDialogAfterPushClick
Link copied to clipboard
open fun showDialogAfterPushClick(activity: Activity)
Show a dialog after push was clicked
showInAppFromPush
Link copied to clipboard
open fun showInAppFromPush(bundle: Bundle)
syncConfigIfRequired
Link copied to clipboard
open fun syncConfigIfRequired()
trackDeviceLocale
Link copied to clipboard
open fun trackDeviceLocale()

Properties

deviceAddManager
Link copied to clipboard
private open val deviceAddManager: DeviceAddManager
instance
Link copied to clipboard
private open var instance: MoEDispatcher
lifecycleHandler
Link copied to clipboard
private open val lifecycleHandler: ActivityLifecycleHandler