Check for App on Device
fun getApplicationDetails(
data: String,
callback: IResponseCallback<AppDetailsResponse, Error, Progress>? = null,
metadata: Bundle = Bundle(),
action: Bundle = Bundle()
)PARAMETER
STATUS
TYPE
DESCRIPTION
Example
// Initialization
// ...
IgniteServiceSdk.instance().getApplicationDetails(packageName, callback: IResponseCallback<AppDetailsResponse, Error, Progress> {
override fun onSuccess(result: AppDetailsResponse) {
Log.i(TAG, “Package Installed Status: ${result.appSummary?.isAppInstalled}”)
}
override fun onError(error: Error) {
Log.e(TAG, “Package Installed Status Error: ${error.message}”)
}
})
// ...Last updated
