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

开球回攻次数
int