예제 #1
0
        private void onExportCompletedForUnity(object transferbatch)
        {
            //anchor exported
            Debug.Log("Anchor Exported for: " + this.gameObject.name + ". now transmitting " + toExport.Count + " bytes");
            AppDataExportManager.Instance.MQTTPublishAnchor(this.gameObject.name, toExport.ToArray());

            latestAnchor = TimeMethodesForAnchors.getCurrentTimeforAnchors();

            toExport = null;//free space
        }
예제 #2
0
        private void onExportCompletedForUnity(object anchorDataObject, object o2)
        {
            var anchorData = (List <byte>)anchorDataObject;

            //anchor exported
            Debug.Log("Anchor Exported for: " + this.gameObject.name + ". now transmitting " + anchorData.Count + " bytes");
            AppDataExportManager.Instance.MQTTPublishAnchor(this.gameObject.name, anchorData.ToArray());

            latestAnchor = TimeMethodesForAnchors.getCurrentTimeforAnchors();

            //toExport = null;//free space
        }