public void makeAttempt() {
            VRTNode node = mNode.get();
            if (node == null) {
                return;
            }
            if (mCanceled) {
                if (DEBUG_ANCHORING) {
                    Log.w(TAG, "Anchor attempt canceled for " + node + "");
                }
                return;
            }
            if (mAttempt >= MAX_ANCHORING_ATTEMPTS) {
                if (DEBUG_ANCHORING) {
                    Log.w(TAG, "Failed to anchor node " + node + ": will float node without an anchor");
                }
                return;
            }
            boolean success = anchorNode(node, mPosition);
            ++mAttempt;

            if (!success) {
                // On failure, try again after a delay
                mHandler.postDelayed(new Runnable() {
                    @Override
                    public void run() {
                        makeAttempt();
                    }
                }, ANCHOR_DELAY_MS);
            } else {
                // On success, remove the anchor attempt from the node
                node.mAnchorAttempt = null;
            }
        }
The maximum number of attempts to make when anchoring a Node.
android/viro_bridge/src/main/java/com/viromedia/bridge/component/node/VRTNode.java