InstalledAppsRepository

Installed-package queries, safe to call from the main thread. Android package visibility applies.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun getInstalledPackages(packageNames: Collection<String>): Set<String>
Link copied to clipboard
abstract suspend fun getInstallInfo(packageName: String): AppInstallInfo
Link copied to clipboard
abstract suspend fun getLaunchIntent(packageName: String): Intent?

A fresh launcher intent, or null when lookup fails or no launcher is accessible.

Link copied to clipboard
abstract suspend fun getLaunchIntentSender(packageName: String): IntentSender?

API 33+ launch token, or null when unsupported or unavailable.

Link copied to clipboard
abstract suspend fun isInstalled(packageName: String): Boolean