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