Launch App After Installation
fun performAction(
packageName: String,
actionType: String,
metadata: Bundle = Bundle(),
callback: IResponseCallback<PerformActionResponse, Error, Progress>? = null
)PARAMETER
STATUS
TYPE
DESCRIPTION
Example
// Initialization
// ...
IgniteServiceSdk.instance().performAction(packageName, IgniteActions.LAUNCH.name, Bundle(), object : IResponseCallback<PerformActionResponse, Error, Progress> {
override fun onSuccess(result: PerformActionResponse) {
Log.d(TAG, "Perform Action CallBack Success ${result.application.packageName}")
}
override fun onError(error: Error) {
Log.e(TAG, "Perform Action CallBack Error: ${error.message}")
}
})Last updated
