Enum | |
---|---|
STATE_UNSPECIFIED |
|
ACTIVE |
Đối tượng đang hoạt động và được hiển thị cùng với các đối tượng đang hoạt động khác. |
active |
Bí danh cũ của |
COMPLETED |
|
completed |
Bí danh cũ của |
EXPIRED |
Đối tượng không còn hợp lệ (đã vượt qua validTimeInterval ). |
expired |
Bí danh cũ của |
INACTIVE |
|
inactive |
Bí danh cũ của |
State
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eThis enum defines the various states an object can be in, such as active, completed, expired, or inactive.\u003c/p\u003e\n"],["\u003cp\u003eLegacy aliases using lowercase lettering are deprecated and should be replaced with their uppercase counterparts.\u003c/p\u003e\n"],["\u003cp\u003eObjects transition to \u003ccode\u003eEXPIRED\u003c/code\u003e state once their \u003ccode\u003evalidTimeInterval\u003c/code\u003e has elapsed.\u003c/p\u003e\n"]]],["The provided content defines enums for object states. `ACTIVE` indicates an object is currently in use and visible. `COMPLETED` signifies a finished state. `EXPIRED` means the object's validity period has ended. `INACTIVE` is another state. Legacy aliases (`active`, `completed`, `expired`, `inactive`) are provided for each respective state but are deprecated. `STATE_UNSPECIFIED` is also an enum. Each of the deprecated legacy items is noted as such.\n"],null,["# State\n\n| Enums ||\n|---------------------|----------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | |\n| `ACTIVE` | Object is active and displayed to with other active objects. |\n| `active` | Legacy alias for `ACTIVE`. Deprecated. | This item is deprecated! |\n| `COMPLETED` | |\n| `completed` | Legacy alias for `COMPLETED`. Deprecated. | This item is deprecated! |\n| `EXPIRED` | Object is no longer valid (`validTimeInterval` passed). |\n| `expired` | Legacy alias for `EXPIRED`. Deprecated. | This item is deprecated! |\n| `INACTIVE` | |\n| `inactive` | Legacy alias for `INACTIVE`. Deprecated. | This item is deprecated! |"]]