IssueCommandRequest.InstallCustomApp.Builder

public abstract class IssueCommandRequest.InstallCustomApp.Builder


Builder for IssueCommandRequest.InstallCustomApp.

Summary

Public methods

abstract IssueCommandRequest.InstallCustomApp
abstract IssueCommandRequest.InstallCustomApp.Builder

The package name of the app to be installed.

abstract IssueCommandRequest.InstallCustomApp.Builder

A file URI of the package that needs to be installed, in the format of `file:///`.

Public methods

build

public abstract IssueCommandRequest.InstallCustomApp build()

setPackageName

public abstract IssueCommandRequest.InstallCustomApp.Builder setPackageName(String value)

The package name of the app to be installed.

setPackageUri

public abstract IssueCommandRequest.InstallCustomApp.Builder setPackageUri(String value)

A file URI of the package that needs to be installed, in the format of `file:///`.

**Note:** The apk file should be stored in the directory returned by [LocalCommandClient.InstallCustomAppCommand.getCustomApksStorageDirectory]. If the file is not stored in the correct directory, the command will fail. The caller is responsible for managing the lifecycle of the file and its cleanup after the command is executed.