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()
可傳回作業產生的錯誤代碼。 |
int
|
isRemediable()
傳回例外狀況是否可透過裝置完整性對話方塊修正。請參閱「IntegrityDialogTypeCode」。 |
繼承方法 | |
|---|---|
公用方法
getErrorCode
public int getErrorCode ()
可用來傳回作業產生的錯誤代碼。該值是 StandardIntegrityErrorCode 中的其中一個常數。
| 傳回 | |
|---|---|
int |
|
getStatusCode
public int getStatusCode ()
可用來傳回作業產生的錯誤代碼。該值是 StandardIntegrityErrorCode 中的其中一個常數。StandardIntegrityException 不支援 getStatusCode(),請改用 getErrorCode()。
| 傳回 | |
|---|---|
int |
|
isRemediable
public boolean isRemediable ()
傳回例外狀況是否可透過裝置完整性對話方塊修正。請參閱「IntegrityDialogTypeCode」。
| 傳回 | |
|---|---|
boolean |
|