[Camera] Remove useless logs (#3915)
[platform/core/csapi/tizenfx.git] / src / Tizen.Multimedia.Camera / Camera / SinglePlane.cs
old mode 100755 (executable)
new mode 100644 (file)
index 9671090..bb0b0a9
  * limitations under the License.
  */
 
-using System.Runtime.InteropServices;
-using static Interop.Camera;
-
 namespace Tizen.Multimedia
 {
     /// <summary>
     /// The class containing the image data, which has a single plane.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class SinglePlane : IPreviewPlane
     {
-        internal SinglePlane(SinglePlaneStruct unmanaged)
+        internal SinglePlane(byte[] y)
         {
-            Data = new byte[unmanaged.DataLength];
-            Marshal.Copy(unmanaged.Data, Data, 0, (int)unmanaged.DataLength);
+            Data = y;
         }
 
         /// <summary>
@@ -36,4 +33,4 @@ namespace Tizen.Multimedia
         /// <since_tizen> 3 </since_tizen>
         public byte[] Data { get; }
     }
-}
\ No newline at end of file
+}