MoERttHelper

Helper class to interact with the Real Time Trigger module

Author

Umang Chamaria

Since

2.0.0

Functions

Link copied to clipboard
fun syncTriggers(context: Context)

Invoke this method to manually fetch campaigns when the application is running in background. This API syncs the campaigns for the account configured as default. Only call this API if you have disabled the default background sync.

fun syncTriggers(context: Context, appId: String)

Invoke this method to manually fetch campaigns when the application is running in background. This API syncs the campaigns for the given account. Only call this API if you have disabled the default background sync.