Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
IntegrityDialogResponseCode
public
abstract
@interface
IntegrityDialogResponseCode
implements
Annotation
com.google.android.play.core.integrity.model.IntegrityDialogResponseCode
|
Mã phản hồi hộp thoại cho API Tính toàn vẹn.
Tóm tắt
Hằng số |
int |
DIALOG_CANCELLED
Người dùng thấy Hộp thoại về tính toàn vẹn nhưng không tương tác với hộp thoại đó.
|
int |
DIALOG_FAILED
Đã xảy ra lỗi khi cố hiện Hộp thoại về tính toàn vẹn.
|
int |
DIALOG_SUCCESSFUL
Người dùng thấy Hộp thoại về tính toàn vẹn và đã tương tác thành công với hộp thoại đó.
|
int |
DIALOG_UNAVAILABLE
Hiện không sử dụng được Hộp thoại về tính toàn vẹn.
|
Hằng số
DIALOG_CANCELLED
public static final int DIALOG_CANCELLED
Người dùng thấy Hộp thoại về tính toàn vẹn nhưng không tương tác với hộp thoại đó.
Giá trị không đổi:
2
(0x00000002)
DIALOG_FAILED
public static final int DIALOG_FAILED
Đã xảy ra lỗi khi cố hiện Hộp thoại về tính toàn vẹn.
Giá trị không đổi:
1
(0x00000001)
DIALOG_SUCCESSFUL
public static final int DIALOG_SUCCESSFUL
Người dùng thấy Hộp thoại về tính toàn vẹn và đã tương tác thành công với hộp thoại đó.
Giá trị không đổi:
3
(0x00000003)
DIALOG_UNAVAILABLE
public static final int DIALOG_UNAVAILABLE
Hiện không sử dụng được Hộp thoại về tính toàn vẹn.
Giá trị hằng số: 0 (0x00000000)
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],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)"]]