AppLauncher

class AppLauncher(installedApps: InstalledAppsRepository, dispatchers: DispatcherProvider)(source)

Constructors

Link copied to clipboard
constructor(installedApps: InstalledAppsRepository, dispatchers: DispatcherProvider)

Functions

Link copied to clipboard
suspend fun openApp(context: Context, packageName: String): Boolean

Opens a specific app if installed.

Link copied to clipboard
suspend fun openAppResult(context: Context, packageName: String): Result<Boolean>

Opens a specific app if installed and exposes the operation result.