IssueCommandRequest.InstallCustomApp

abstract class IssueCommandRequest.InstallCustomApp


A request to install a custom app.

Summary

Public functions

java-static IssueCommandRequest.InstallCustomApp.Builder!
java-static IssueCommandRequest.InstallCustomApp!
abstract String!

The package name of the app to be installed.

abstract String!

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

abstract IssueCommandRequest.InstallCustomApp.Builder!

Public functions

builder

java-static fun builder(): IssueCommandRequest.InstallCustomApp.Builder!

getDefaultInstance

java-static fun getDefaultInstance(): IssueCommandRequest.InstallCustomApp!

getPackageName

abstract fun getPackageName(): String!

The package name of the app to be installed.

getPackageUri

abstract fun getPackageUri(): String!

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.