Enum | |
---|---|
STATE_UNSPECIFIED |
|
ACTIVE |
ออบเจ็กต์ทำงานอยู่และแสดงต่อออบเจ็กต์อื่นๆ ที่ใช้งานอยู่ |
active |
ชื่อแทนเดิมสำหรับ |
COMPLETED |
|
completed |
ชื่อแทนเดิมสำหรับ |
EXPIRED |
ออบเจ็กต์ใช้ไม่ได้อีกต่อไป (ผ่าน validTimeInterval ) |
expired |
ชื่อแทนเดิมสำหรับ |
INACTIVE |
|
inactive |
ชื่อแทนเดิมสำหรับ |
State
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 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! |"]]