public static void ExportAsync( WorldAnchorTransferBatch batch, SerializationDataAvailableDelegate dataBuffer, SerializationCompleteDelegate completeCallback) { if (completeCallback != null) { completeCallback(SerializationCompletionReason.NotSupported); } }
public static void ExportAsync(WorldAnchorTransferBatch transferBatch, SerializationDataAvailableDelegate onDataAvailable, SerializationCompleteDelegate onCompleted) { if (transferBatch == null) { throw new ArgumentNullException("transferBatch"); } if (onDataAvailable == null) { throw new ArgumentNullException("onDataAvailable"); } if (onCompleted == null) { throw new ArgumentNullException("onCompleted"); } ExportAsync_Internal(transferBatch.m_NativePtr, onDataAvailable, onCompleted); }
private static extern void ExportAsync_Internal(IntPtr transferBatch, SerializationDataAvailableDelegate onDataAvailable, SerializationCompleteDelegate onComplete);
private static void InvokeWorldAnchorSerializationCompleteDelegate(SerializationCompleteDelegate onSerializationComplete, SerializationCompletionReason completionReason) { onSerializationComplete(completionReason); }
public static void ExportAsync(WorldAnchorTransferBatch transferBatch, SerializationDataAvailableDelegate onDataAvailable, SerializationCompleteDelegate onCompleted) { if (transferBatch == null) { throw new ArgumentNullException("transferBatch"); } if (onDataAvailable == null) { throw new ArgumentNullException("onDataAvailable"); } if (onCompleted == null) { throw new ArgumentNullException("onCompleted"); } onCompleted(SerializationCompletionReason.NotSupported); }
private static void InvokeWorldAnchorSerializationCompleteDelegate(SerializationCompleteDelegate onSerializationComplete, SerializationCompletionReason completionReason) { onSerializationComplete(completionReason); }
private static extern void ExportAsync_Internal(IntPtr transferBatch, SerializationDataAvailableDelegate onDataAvailable, SerializationCompleteDelegate onComplete);
public static void ExportAsync(WorldAnchorTransferBatch transferBatch, SerializationDataAvailableDelegate onDataAvailable, SerializationCompleteDelegate onCompleted) { if (transferBatch == null) { throw new ArgumentNullException("transferBatch"); } if (onDataAvailable == null) { throw new ArgumentNullException("onDataAvailable"); } if (onCompleted == null) { throw new ArgumentNullException("onCompleted"); } ExportAsync_Internal(transferBatch.m_NativePtr, onDataAvailable, onCompleted); }