Assets/Scripts/ImportExportAnchorManager.cs
/// <summary>
/// Called by the WorldAnchorTransferBatch when anchor exporting is complete.
/// </summary>
/// <param name="status"></param>
Called by the WorldAnchorTransferBatch when anchor exporting is complete.
Called by the WorldAnchorTransferBatch when anchor exporting is complete .
public void ExportComplete(SerializationCompletionReason status)
    {
        if (status == SerializationCompletionReason.Succeeded && exportingAnchorBytes.Count > minTrustworthySerializedAnchorDataSize)
        {
            Debug.Log("Uploading anchor: " + exportingAnchorName);
            roomManager.UploadAnchor(
                currentRoom,
                new XString(exportingAnchorName),
                exportingAnchorBytes.ToArray(),
                exportingAnchorBytes.Count);
        }
        else
        {
            Debug.Log("This anchor didn't work, trying again");
            CurrentState = ImportExportState.InitialAnchorRequired;
        }
    }
public void ExportComplete ( SerializationCompletionReason status ) { if ( status == SerializationCompletionReason . Succeeded && exportingAnchorBytes . Count > minTrustworthySerializedAnchorDataSize ) { Debug . Log ( " " + exportingAnchorName ) ; roomManager . UploadAnchor ( currentRoom , new XString ( exportingAnchorName ) , exportingAnchorBytes . ToArray ( ) , exportingAnchorBytes . Count ) ; } else { Debug . Log ( " " ) ; CurrentState = ImportExportState . InitialAnchorRequired ; } }
Called by the WorldAnchorTransferBatch when anchor exporting is complete.
Called by the WorldAnchorTransferBatch when anchor exporting is complete .
status
SerializationCompletionReason
None