[Camera] Support NUI window for preview (#1753)
[platform/core/csapi/tizenfx.git] / src / Tizen.Multimedia.Camera / Interop / Interop.CameraDisplay.cs
index 001aa42..56a85aa 100644 (file)
@@ -53,6 +53,9 @@ internal static partial class Interop
         internal static extern CameraError SetRoiArea(IntPtr handle, int x, int y, int width, int height);
 
         [DllImport(Libraries.Camera, EntryPoint = "camera_set_display")]
-        internal static extern CameraError SetTarget(IntPtr handle, DisplayType displayType, IntPtr displayHandle);
+        internal static extern CameraError SetDisplay(IntPtr handle, DisplayType displayType, IntPtr displayHandle);
+
+        [DllImport(Libraries.Camera, EntryPoint = "camera_set_ecore_wl_display")]
+        internal static extern CameraError SetEcoreDisplay(IntPtr handle, IntPtr ecoreWindow);
     }
 }