IssueCommandRequest.InstallCustomApp.Builder

abstract class IssueCommandRequest.InstallCustomApp.Builder


Builder for IssueCommandRequest.InstallCustomApp.

Summary

Public functions

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 functions

build

abstract fun build(): IssueCommandRequest.InstallCustomApp!

setPackageName

abstract fun setPackageName(value: String!): IssueCommandRequest.InstallCustomApp.Builder!

The package name of the app to be installed.

setPackageUri

abstract fun setPackageUri(value: String!): IssueCommandRequest.InstallCustomApp.Builder!

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.