InstallException

public class InstallException
extends CanceledException

java.lang.Object
   ↳ com.android.ddmlib.CanceledException
     ↳ com.android.ddmlib.InstallException


Wywoływany, gdy instalacja lub odinstalowanie aplikacji nie powiedzie się.

Podsumowanie

Publiczne konstruktory

InstallException(String message)
InstallException(String message, String errorCode)
InstallException(String message, Throwable cause)
InstallException(Throwable cause)

Metody publiczne

String getErrorCode()
boolean wasCanceled()

Zwraca wartość „prawda”, jeśli instalacja została anulowana przez użytkownika.

Publiczne konstruktory

InstallException

public InstallException (String message)

Parametry
message String

InstallException

public InstallException (String message, 
                String errorCode)

Parametry
message String

errorCode String

InstallException

public InstallException (String message, 
                Throwable cause)

Parametry
message String

cause Throwable

InstallException

public InstallException (Throwable cause)

Parametry
cause Throwable

Metody publiczne

getErrorCode

public String getErrorCode ()

Zwroty
String

wasCanceled

public boolean wasCanceled ()

Zwraca wartość „prawda”, jeśli instalacja została anulowana przez użytkownika. Zwykle może się to zdarzyć tylko w fazie synchronizacji.

Zwroty
boolean