{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class PackageInfoBuilder
Builder for PackageInfo.
Public constructors |
|
|---|---|
Public functions |
|
|---|---|
PackageInfo! |
build()Returns a PackageInfo with the provided data. |
java-static PackageInfoBuilder! |
Start building a new PackageInfo. |
PackageInfoBuilder! |
setApplicationInfo(applicationInfo: ApplicationInfo!)Sets the application info. |
PackageInfoBuilder! |
setPackageName(packageName: String!)Sets the package name. |
java-static fun newBuilder(): PackageInfoBuilder!
Start building a new PackageInfo.
| Returns | |
|---|---|
PackageInfoBuilder! |
a new instance of |
fun setApplicationInfo(applicationInfo: ApplicationInfo!): PackageInfoBuilder!
Sets the application info.
Default is null
| See also | |
|---|---|
PackageInfo |
|
fun setPackageName(packageName: String!): PackageInfoBuilder!
Sets the package name.
Default is null.
| See also | |
|---|---|
PackageInfo |
|