InstallException

public class InstallException
extends ApiException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.android.gms.common.api.ApiException
         ↳ com.google.android.play.core.install.InstallException


An exception indicating something went wrong with an install/update.

See getErrorCode() for the discrete error types.

For general guidance and examples, see Support in-app updates.

Summary

Public constructors

InstallException(int errorCode)

Public methods

int getErrorCode()

Returns an error code value from InstallErrorCode.

int getStatusCode()

Returns the error code resulting from the operation.

Inherited methods

Public constructors

InstallException

public InstallException (int errorCode)

Parameters
errorCode int

Public methods

getErrorCode

public int getErrorCode ()

Returns an error code value from InstallErrorCode.

Returns
int

getStatusCode

public int getStatusCode ()

Returns the error code resulting from the operation. The value is one of the constants in InstallErrorCode. getStatusCode() is unsupported by InstallException, please use getErrorCode() instead.

Returns
int