透過集合功能整理內容
你可以依據偏好儲存及分類內容。
IntegrityDialogResponseCode
public
abstract
@interface
IntegrityDialogResponseCode
implements
Annotation
com.google.android.play.core.integrity.model.IntegrityDialogResponseCode
|
Integrity API 的對話方塊回應代碼。
摘要
常數
DIALOG_CANCELLED
public static final int DIALOG_CANCELLED
使用者看到完整性對話方塊,但並未與其互動。
常數值:
2 分
(0x00000002)。
DIALOG_FAILED
public static final int DIALOG_FAILED
嘗試顯示完整性對話方塊時發生錯誤。
常數值:
1 分
(0x00000001)
DIALOG_SUCCESSFUL
public static final int DIALOG_SUCCESSFUL
使用者看到完整性對話方塊,並順利與其互動。
常數值:
3 分
(0x00000003)。
DIALOG_UNAVAILABLE
public static final int DIALOG_UNAVAILABLE
無法使用完整性對話方塊。
常數值:
0 分
(0x00000000)
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# IntegrityDialogResponseCode\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nIntegrityDialogResponseCode\n===========================\n\n\n`\npublic\n\n\nabstract\n@interface\nIntegrityDialogResponseCode\n`\n\n\n`\n\n\nimplements\n\n`[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`\n\n\n`\n\n|--------------------------------------------------------------------------|\n| com.google.android.play.core.integrity.model.IntegrityDialogResponseCode |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nDialog response codes for Integrity API.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [DIALOG_CANCELLED](../../../../../../../../reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode.html#DIALOG_CANCELLED) The user was shown the Integrity Dialog, but did not interact with it. |\n| `int` | [DIALOG_FAILED](../../../../../../../../reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode.html#DIALOG_FAILED) An error occurred when trying to show the Integrity Dialog. |\n| `int` | [DIALOG_SUCCESSFUL](../../../../../../../../reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode.html#DIALOG_SUCCESSFUL) The user was shown the Integrity Dialog, and successfully interacted with it. |\n| `int` | [DIALOG_UNAVAILABLE](../../../../../../../../reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode.html#DIALOG_UNAVAILABLE) The Integrity Dialog is unavailable. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From interface ` `[java.lang.annotation.Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)` ` |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` abstract `[Class](https://developer.android.com/reference/java/lang/Class.html)`\u003c? extends `[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`\u003e` | ` annotationType() ` | | ` abstract boolean` | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` abstract int` | ` hashCode() ` | | ` abstract `[String](https://developer.android.com/reference/java/lang/String.html) | ` toString() ` | ||\n\nConstants\n---------\n\n### DIALOG_CANCELLED\n\n```\npublic static final int DIALOG_CANCELLED\n```\n\nThe user was shown the Integrity Dialog, but did not interact with it.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### DIALOG_FAILED\n\n```\npublic static final int DIALOG_FAILED\n```\n\nAn error occurred when trying to show the Integrity Dialog.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)\n\n\n### DIALOG_SUCCESSFUL\n\n```\npublic static final int DIALOG_SUCCESSFUL\n```\n\nThe user was shown the Integrity Dialog, and successfully interacted with it.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n3\n(0x00000003)\n\n\n### DIALOG_UNAVAILABLE\n\n```\npublic static final int DIALOG_UNAVAILABLE\n```\n\nThe Integrity Dialog is unavailable.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)"]]