InstallState

public abstract class InstallState
extends Object

java.lang.Object
   ↳ com.google.android.play.core.install.InstallState


Reports the request state of a module install or update.

To see examples, read Install a flexible update.

Summary

Public constructors

InstallState()

Public methods

abstract int installErrorCode()
abstract int installStatus()

Returns the status of an install.

abstract String packageName()

Returns the package name for the app being installed.

Inherited methods

From class java.lang.Object

Public constructors

InstallState

InstallState ()

Public methods

installErrorCode

int installErrorCode ()

Returns
int

installStatus

int installStatus ()

Returns the status of an install.

To see examples, read Install a flexible update.

Returns
int a value from InstallStatus

packageName

String packageName ()

Returns the package name for the app being installed.

Returns
String