Stay organized with collections
Save and categorize content based on your preferences.
blockly > RenderedConnection > TrackedState
RenderedConnection.TrackedState enum
Enum for different kinds of tracked states.
WILL_TRACK means that this connection will add itself to the db on the next moveTo call it receives.
UNTRACKED means that this connection will not add itself to the database until setTracking(true) is explicitly called.
TRACKED means that this connection is currently being tracked.
Signature:
enum TrackedState
Enumeration Members
Member |
Value |
Description |
TRACKED |
1 |
|
UNTRACKED |
0 |
|
WILL_TRACK |
-1 |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003eRenderedConnection.TrackedState\u003c/code\u003e is an enum used to manage the tracking state of connections in Blockly.\u003c/p\u003e\n"],["\u003cp\u003eConnections can be in one of three states: \u003ccode\u003eTRACKED\u003c/code\u003e, \u003ccode\u003eUNTRACKED\u003c/code\u003e, or \u003ccode\u003eWILL_TRACK\u003c/code\u003e, determining if and when they are added to the tracking database.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTRACKED\u003c/code\u003e connections are actively being tracked, \u003ccode\u003eUNTRACKED\u003c/code\u003e connections are not tracked unless explicitly set, and \u003ccode\u003eWILL_TRACK\u003c/code\u003e connections will be tracked on their next movement.\u003c/p\u003e\n"]]],["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"],null,["[blockly](./blockly.md) \\\u003e [RenderedConnection](./blockly.renderedconnection_namespace.md) \\\u003e [TrackedState](./blockly.renderedconnection_namespace.trackedstate_enum.md)\n\nRenderedConnection.TrackedState enum\n\nEnum for different kinds of tracked states.\n\nWILL_TRACK means that this connection will add itself to the db on the next moveTo call it receives.\n\nUNTRACKED means that this connection will not add itself to the database until setTracking(true) is explicitly called.\n\nTRACKED means that this connection is currently being tracked.\n\n**Signature:** \n\n enum TrackedState \n\nEnumeration Members\n\n| Member | Value | Description |\n|------------|-------|-------------|\n| TRACKED | `1` | |\n| UNTRACKED | `0` | |\n| WILL_TRACK | `-1` | |"]]