Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > RenderedConnection > TrackedState
Wyliczenie RenderedConnection.TrackedState
Enum dla różnych rodzajów śledzonych stanów.
Wartość WILL_TRACK oznacza, że to połączenie zostanie dodane do bazy danych przy następnym wywołaniu metody MoveTo.
UNTRACKED oznacza, że to połączenie nie zostanie dodane do bazy danych, dopóki nie zostanie jawnie wywoływane polecenie setTracking(true).
TRACKED oznacza, że to połączenie jest obecnie śledzone.
Podpis:
enum TrackedState
Członkowie wyliczenia
Członek |
Wartość |
Opis |
ŚLEDANE |
1 |
|
BEZ ŚLEDZENIA |
0 |
|
WILL_TRACK |
-1 |
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-10 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-09-10 UTC."],[[["`RenderedConnection.TrackedState` is an enum used to manage the tracking state of connections in Blockly."],["Connections can be in one of three states: `TRACKED`, `UNTRACKED`, or `WILL_TRACK`, determining if and when they are added to the tracking database."],["`TRACKED` connections are actively being tracked, `UNTRACKED` connections are not tracked unless explicitly set, and `WILL_TRACK` connections will be tracked on their next movement."]]],["The `TrackedState` enum defines three states for a connection: `TRACKED`, `UNTRACKED`, and `WILL_TRACK`. `WILL_TRACK` indicates that the connection will be added to the database on the next `moveTo` call. `UNTRACKED` means the connection won't be added until `setTracking(true)` is called. `TRACKED` signifies the connection is currently tracked in the database. These states determine how and when a connection interacts with the database.\n"]]