PackageInstaller.PreapprovalDetails.Builder


public static final class PackageInstaller.PreapprovalDetails.Builder
extends Object

java.lang.Object
   ↳ android.content.pm.PackageInstaller.PreapprovalDetails.Builder


A builder for PreapprovalDetails

Summary

Public constructors

Builder()

Creates a new Builder.

Public methods

PackageInstaller.PreapprovalDetails build()

Builds the instance.

PackageInstaller.PreapprovalDetails.Builder setIcon(Bitmap value)

The icon representing the app to be installed.

PackageInstaller.PreapprovalDetails.Builder setLabel(CharSequence value)

The label representing the app to be installed.

PackageInstaller.PreapprovalDetails.Builder setLocale(ULocale value)

The locale is used to get the app label from the APKs (includes the base APK and split APKs) related to the package to be installed.