blockly > RenderedConnection > TrackedState
تعداد RenderedConnection.TrackedState
يشير ذلك المصطلح إلى تعداد لأنواع مختلفة من الحالات التي يتم تتبُّعها.
تعني كلمة WILL_Track أن هذا الاتصال سيضيف نفسه إلى قاعدة البيانات في عملية الانتقال التالية التي يتلقاها هذا الاتصال.
تعني عبارة "UNتتبُّع" أنّ هذا الاتصال لن يضيف نفسه إلى قاعدة البيانات إلى أن يتم استدعاء setTracking(true) بشكل صريح.
تعني كلمة "تتبُّع" أنه يتم تتبع هذا الاتصال حاليًا.
Signature:
enum TrackedState
تعداد الأعضاء
عضو |
القيمة |
الوصف |
يتم تتبّعه |
1 |
|
لا يتم تتبّعه |
0 |
|
WILL_TRACK |
-1 |
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-09-10 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-10 (حسب التوقيت العالمي المتفَّق عليه)"],[[["`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"]]