DynamicInstallManager
Kotlin
|Java
open class DynamicInstallManager
kotlin.Any | |
↳ | androidx.navigation.dynamicfeatures.DynamicInstallManager |
Install manager for dynamic features.
Enables installation of dynamic features for both installed and instant apps.
Summary
Public constructors | |
---|---|
Install manager for dynamic features. |
Public methods | |
---|---|
Boolean | |
NavDestination? |
performInstall(: NavDestination, : Bundle?, : DynamicExtras?, : String) |
Public constructors
<init>
DynamicInstallManager(
: Context,
: SplitInstallManager)
Install manager for dynamic features.
Enables installation of dynamic features for both installed and instant apps.
Public methods
needsInstall
fun needsInstall(: String): Boolean
Parameters | |
---|---|
: String | The module to install. |
Return | |
---|---|
Whether the requested module needs installation. |
performInstall
fun performInstall(
: NavDestination,
: Bundle?,
: DynamicExtras?,
: String
): NavDestination?