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