使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
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 和/或其关联公司的注册商标。
最后更新时间 (UTC):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"]],["最后更新时间 (UTC):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)"]]