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 中的一个常量。IntegrityServiceExceptions 不支持 getStatusCode(),请改用 getErrorCode()。

返回
int

isRemediable

public boolean isRemediable ()

返回相应异常是否可通过设备完整性对话框进行补救。请参阅 IntegrityDialogTypeCode

返回
boolean