IntegrityServiceException

public class IntegrityServiceException
extends ApiException

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


Integrity API になんらかの問題があることを示す例外。

具体的な問題については、getErrorCode() をご覧ください。

まとめ

パブリック メソッド

Throwable getCause()
int getErrorCode()

オペレーションで発生したエラーコードを返します。

int getStatusCode()

オペレーションで発生したエラーコードを返します。

継承されるメソッド

パブリック メソッド

getCause

public Throwable getCause ()

戻り値
Throwable

getErrorCode

public int getErrorCode ()

オペレーションで発生したエラーコードを返します。値は IntegrityErrorCode の定数のいずれかです。

戻り値
int

getStatusCode

public int getStatusCode ()

オペレーションで発生したエラーコードを返します。値は IntegrityErrorCode の定数のいずれかです。getStatusCode() は IntegrityServiceExceptions ではサポートされていないため、代わりに getErrorCode() を使用してください。

戻り値
int