StandardIntegrityException

public class StandardIntegrityException
extends ApiException

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


此异常表示 Standard Integrity API 出了点问题。

如需了解具体问题,请参阅 getErrorCode()

总结

公共方法

Throwable getCause()
int getErrorCode()

返回操作导致的错误代码。

int getStatusCode()

返回操作导致的错误代码。

继承的方法

公共方法

getCause

public Throwable getCause ()

返回
Throwable

getErrorCode

public int getErrorCode ()

返回操作导致的错误代码。该值是 StandardIntegrityErrorCode 中的一个常量。

返回
int

getStatusCode

public int getStatusCode ()

返回操作导致的错误代码。该值是 StandardIntegrityErrorCode 中的一个常量。StandardIntegrityException 不支持 getStatusCode(),请改用 getErrorCode()。

返回
int