InstallAppPrompt

class InstallAppPrompt(phoneDataLayerAppHelper: PhoneDataLayerAppHelper)

Constructors

Link copied to clipboard
constructor(phoneDataLayerAppHelper: PhoneDataLayerAppHelper)

Functions

Link copied to clipboard
fun getIntent(context: Context, appPackageName: String, @DrawableRes image: Int, topMessage: String, bottomMessage: String): Intent

Returns the Intent to display an install app prompt to the user.

Link copied to clipboard
fun performAction(context: Context, appPackageName: String)

Performs the same action taken by the prompt when the user taps on "install".

Link copied to clipboard

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