ApplicationInfoBuilder


class ApplicationInfoBuilder


Builder for ApplicationInfo.

Summary

Public functions

ApplicationInfo!

Returns a ApplicationInfo with the provided data.

java-static ApplicationInfoBuilder!

Start building a new ApplicationInfo.

ApplicationInfoBuilder!
setFlags(flags: Int)

Sets the flags.

ApplicationInfoBuilder!
setName(name: String?)

Sets the name.

ApplicationInfoBuilder!
setPackageName(packageName: String!)

Sets the packageName.

Public functions

build

fun build(): ApplicationInfo!

Returns a ApplicationInfo with the provided data.

newBuilder

java-static fun newBuilder(): ApplicationInfoBuilder!

Start building a new ApplicationInfo.

Returns
ApplicationInfoBuilder!

a new instance of ApplicationInfoBuilder.

setFlags

fun setFlags(flags: Int): ApplicationInfoBuilder!

Sets the flags.

See also
flags

setName

fun setName(name: String?): ApplicationInfoBuilder!

Sets the name.

Default is null.

See also
name

setPackageName

fun setPackageName(packageName: String!): ApplicationInfoBuilder!

Sets the packageName.

See also
packageName