InstallPreapproval
inline fun InstallPreapproval(packageName: String, label: String, languageTag: String, configure: InstallPreapprovalDsl.() -> Unit = {}): InstallPreapproval
Constructs a new instance of InstallPreapproval.
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 installed. Represented by IETF BCP 47 language tag.
inline fun InstallPreapproval(packageName: String, label: String, locale: ULocale, configure: InstallPreapprovalDsl.() -> Unit = {}): InstallPreapproval
inline fun InstallPreapproval(packageName: String, label: String, locale: Locale, configure: InstallPreapprovalDsl.() -> Unit = {}): InstallPreapproval
Constructs a new instance of InstallPreapproval.
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 installed.