ApplicationInfoBuilder

public final class ApplicationInfoBuilder


Builder for ApplicationInfo.

Summary

Public constructors

Public methods

ApplicationInfo

Returns a ApplicationInfo with the provided data.

static ApplicationInfoBuilder

Start building a new ApplicationInfo.

ApplicationInfoBuilder

Sets the name.

ApplicationInfoBuilder
setPackageName(String packageName)

Sets the packageName.

Public constructors

ApplicationInfoBuilder

public ApplicationInfoBuilder()

Public methods

build

public ApplicationInfo build()

Returns a ApplicationInfo with the provided data.

newBuilder

public static ApplicationInfoBuilder newBuilder()

Start building a new ApplicationInfo.

Returns
ApplicationInfoBuilder

a new instance of ApplicationInfoBuilder.

setName

public ApplicationInfoBuilder setName(String name)

Sets the name.

Default is null.

See also
ApplicationInfo

setPackageName

public ApplicationInfoBuilder setPackageName(String packageName)

Sets the packageName.

See also
ApplicationInfo