showNudge
Try to show a non-intrusive In-App nudge for the given account.
Since
7.0.0
Parameters
context
instance of Context
appId
Account identifier, APP ID on the MoEngage Dashboard.
Throws
if the SDK is not initialized.
fun showNudge(context: Context, inAppPosition: InAppPosition, appId: String? = null): MoETask<ShowNudgeResult>
Try to show a non-intrusive In-App nudge for the given account.
Since
7.0.0
Parameters
context
instance of Context
appId
Account identifier, APP ID on the MoEngage Dashboard.
inAppPosition
instance of InAppPosition
Throws
if the SDK is not initialized.