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.
IntegrityDialogTypeCode
public
abstract
@interface
IntegrityDialogTypeCode
implements
Annotation
com.google.android.play.core.integrity.model.IntegrityDialogTypeCode
|
Mã loại hộp thoại cho API Tính toàn vẹn.
Tóm tắt
Hằng số |
int |
CLOSE_ALL_ACCESS_RISK
Một hộp thoại nhắc người dùng đóng tất cả các ứng dụng có thể ghi hoặc điều khiển màn hình người dùng.
|
int |
CLOSE_UNKNOWN_ACCESS_RISK
Một hộp thoại nhắc người dùng đóng các ứng dụng không xác định. Những ứng dụng này có thể chụp hoặc điều khiển màn hình người dùng.
|
int |
GET_LICENSED
Một hộp thoại nhắc người dùng kiếm hoặc mua giấy phép cho ứng dụng trên Google Play.
|
Hằng số
ĐÓNG_ALL_ACCESS_RISK
public static final int CLOSE_ALL_ACCESS_RISK
Một hộp thoại nhắc người dùng đóng tất cả các ứng dụng có thể ghi hoặc điều khiển màn hình người dùng.
Giá trị không đổi:
3
(0x00000003)
CLOSE_UNKNOWN_ACCESS_RISK
public static final int CLOSE_UNKNOWN_ACCESS_RISK
Một hộp thoại nhắc người dùng đóng các ứng dụng không xác định. Những ứng dụng này có thể chụp hoặc điều khiển màn hình người dùng.
Giá trị không đổi:
2
(0x00000002)
GET_LICENSED
public static final int GET_LICENSED
Một hộp thoại nhắc người dùng kiếm hoặc mua giấy phép cho ứng dụng trên Google Play.
Giá trị không đổi:
1
(0x00000001)
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,["# IntegrityDialogTypeCode\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nIntegrityDialogTypeCode\n=======================\n\n\n`\npublic\n\n\nabstract\n@interface\nIntegrityDialogTypeCode\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.IntegrityDialogTypeCode |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nDialog type codes for Integrity API.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [CLOSE_ALL_ACCESS_RISK](../../../../../../../../reference/com/google/android/play/core/integrity/model/IntegrityDialogTypeCode.html#CLOSE_ALL_ACCESS_RISK) A dialog prompting users to close all apps which can capture or control the user screen. |\n| `int` | [CLOSE_UNKNOWN_ACCESS_RISK](../../../../../../../../reference/com/google/android/play/core/integrity/model/IntegrityDialogTypeCode.html#CLOSE_UNKNOWN_ACCESS_RISK) A dialog prompting users to close unknown apps which can capture or control the user screen. |\n| `int` | [GET_LICENSED](../../../../../../../../reference/com/google/android/play/core/integrity/model/IntegrityDialogTypeCode.html#GET_LICENSED) A dialog prompting users to acquire or buy a license for the app from Google Play. |\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### CLOSE_ALL_ACCESS_RISK\n\n```\npublic static final int CLOSE_ALL_ACCESS_RISK\n```\n\nA dialog prompting users to close all apps which can capture or control the user screen.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n3\n(0x00000003)\n\n\n### CLOSE_UNKNOWN_ACCESS_RISK\n\n```\npublic static final int CLOSE_UNKNOWN_ACCESS_RISK\n```\n\nA dialog prompting users to close unknown apps which can capture or control the user screen.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### GET_LICENSED\n\n```\npublic static final int GET_LICENSED\n```\n\nA dialog prompting users to acquire or buy a license for the app from Google Play.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)"]]