void SaveCurrentADF()
        {
            if (!tango.IsServiceConnected)
            {
                Debug.LogAssertion("Can't save ADF; service not connected.");
            }
            else if (!tango.m_areaDescriptionLearningMode)
            {
                Debug.LogAssertion("Can't save ADF; service not learning");
            }
            else
            {
                Debug.Log("Saving ADF...");

                string adfName = (adfNameText)
                                        ? adfNameText.text
                                        : null;

                // Saves the currently learning ADF to the disk.
                // The progress is displayed by `OnTangoEventAvailableEventHandler` (above).
                tango.SaveCurrentADF(adfName, () => {
                    if (reconnectOnSave)
                    {
                        // Restart service after saving (it won't automatically.)
                        ConnectService();
                    }
                });
            }
        }