API reference
API reference
Select your platform
No SDKs available
No versions available

AppInstallResult

Updated: Aug 26, 2025

AppInstallResult

@Serializable
enum AppInstallResult : Enum<AppInstallResult>
Result of installing an app. In case of an error during install process, the error message contains the string representation of this result. This is returned from horizon.platform.application.Application.startAppDownload, horizon.platform.application.Application.cancelAppDownload and horizon.platform.application.Application.installAppUpdateAndRelaunch APIs.

Entries

NameSummary
@SerialName(value = "UNKNOWN")
Unknown
Represents that the AppInstallResult is unknown.
@SerialName(value = "LOW_STORAGE")
LowStorage
Install of the app failed due to low storage on the device
@SerialName(value = "NETWORK_ERROR")
NetworkError
Install of the app failed due to a network error
@SerialName(value = "DUPLICATE_REQUEST")
DuplicateRequest
Install of the app failed as another install request for this application is already being processed by the installer
@SerialName(value = "INSTALLER_ERROR")
InstallerError
Install of the app failed due to an internal installer error
@SerialName(value = "USER_CANCELLED")
UserCancelled
Install of the app failed because the user canceled the install operation
@SerialName(value = "AUTHORIZATION_ERROR")
AuthorizationError
Install of the app failed due to a user authorization error
@SerialName(value = "SUCCESS")
Success
Install of the app succeeded

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int
value
val value: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): AppInstallResult
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<AppInstallResult>
Returns an array containing the constants of this enum type, in the order they’re declared.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon