canRequestInstallPackages

abstract suspend fun canRequestInstallPackages(): Boolean

Checks whether the application has the necessary permission to request the installation of packages.

This method determines if the app can prompt the user to grant permission to install APK files from unknown sources.

Return

A Boolean value indicating whether the app can request the install packages permission.