State
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
STATE_UNSPECIFIED |
預設。用於未指定或無法辨識的工作狀態。 |
OPEN |
工作可能尚未指派給送貨車輛,或是車輛尚未經過 Task 指派的車輛停靠站。 |
CLOSED |
車輛通過車輛停靠站執行這項任務時。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eTask state indicates the progress of a task, such as whether it's unassigned, in progress, or completed.\u003c/p\u003e\n"],["\u003cp\u003eTasks can have three states: \u003ccode\u003eSTATE_UNSPECIFIED\u003c/code\u003e (default/unrecognized), \u003ccode\u003eOPEN\u003c/code\u003e (unassigned or not yet reached), and \u003ccode\u003eCLOSED\u003c/code\u003e (vehicle passed the task's stop).\u003c/p\u003e\n"]]],["Task states indicate a task's progress. `STATE_UNSPECIFIED` is the default for unknown states. `OPEN` signifies the task is unassigned or the vehicle hasn't reached its stop. `CLOSED` indicates the vehicle has passed the task's designated stop. These states track the transition from unassigned or pending to a completed stage based on vehicle movement.\n"],null,["# State\n\nThe state of a Task. This indicates the Tasks's progress.\n\n| Enums ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | Default. Used for an unspecified or unrecognized Task state. |\n| `OPEN` | Either the Task has not yet been assigned to a delivery vehicle, or the delivery vehicle has not yet passed the `Task`'s assigned vehicle stop. |\n| `CLOSED` | When the vehicle passes the vehicle stop for this Task. |"]]