Creates a complete copy of this MediaSample object.
public MediaSample Clone()
Public Function Clone() As MediaSample
Making a copy of an existing MediaSample object is useful for keeping a MediaSample object because getting multiple sample buffers will invalidate the previous buffers. This method is similar to CopyTo, except that this method creates a new MediaSample, copies everything into it and then returns the newly created object.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries