preapproval

inline fun InstallParametersDsl.preapproval(packageName: String, label: String, languageTag: String, configure: InstallPreapprovalDsl.() -> Unit = {})

Configures pre-commit install approval DSL.

Parameters

packageName

the package name of the app to be installed.

label

the label representing the app to be installed.

languageTag

the locale of the app label being used. Represented by IETF BCP 47 language tag.


@RequiresApi(value = 24)
inline fun InstallParametersDsl.preapproval(packageName: String, label: String, locale: ULocale, configure: InstallPreapprovalDsl.() -> Unit = {})
@RequiresApi(value = 21)
inline fun InstallParametersDsl.preapproval(packageName: String, label: String, locale: Locale, configure: InstallPreapprovalDsl.() -> Unit = {})

Configures pre-commit install approval DSL.

Parameters

packageName

the package name of the app to be installed.

label

the label representing the app to be installed.

locale

the locale of the app label being used.