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()

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

int isRemediable()

例外がデバイスの完全性ダイアログで修復可能かどうかを返します。IntegrityDialogTypeCode をご覧ください。

継承されるメソッド

パブリック メソッド

getCause

public Throwable getCause ()

戻り値
Throwable

getErrorCode

public int getErrorCode ()

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

戻り値
int

getStatusCode

public int getStatusCode ()

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

戻り値
int

isRemediable

public boolean isRemediable ()

例外がデバイスの完全性ダイアログで修復可能かどうかを返します。IntegrityDialogTypeCode をご覧ください。

戻り値
boolean