ReEngagePrompt

class ReEngagePrompt(coroutineScope: CoroutineScope, phoneDataLayerAppHelper: PhoneDataLayerAppHelper)

Constructors

Link copied to clipboard
constructor(coroutineScope: CoroutineScope, phoneDataLayerAppHelper: PhoneDataLayerAppHelper)

Functions

Link copied to clipboard
fun getIntent(context: Context, nodeId: String, @DrawableRes image: Int, topMessage: String, bottomMessage: String, positiveButtonLabel: String? = null, negativeButtonLabel: String? = null): Intent

Returns the Intent to display a re-engage prompt to the user.

Link copied to clipboard
suspend fun performAction(nodeId: String)

Performs the same action taken by the prompt when the user taps on the positive button.

Link copied to clipboard

Returns a AppHelperNodeStatus that meets the criteria to show this prompt, otherwise returns null.