Add GenerateUrl in capture.
this api for using capture.
related patches:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/306064/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/306066/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/306067/
public static extern IntPtr GetNativeImageSourcePtr(HandleRef jarg1);
[DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Capture_GenerateUrl")]
- public static extern IntPtr GenerateUrl(HandleRef capture);
+ public static extern IntPtr GenerateUrl(global::System.IntPtr handle);
[DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Capture_GetCapturedBuffer")]
public static extern IntPtr GetCapturedBuffer(HandleRef capture);
{
return new PixelBuffer(Interop.Capture.GetCapturedBuffer(SwigCPtr), true);
}
+
+ /// <summary>
+ /// Generate captured image's Url
+ /// </summary>
+ /// <returns>The ImageUrl representing this captured image source</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public ImageUrl GenerateUrl()
+ {
+ ImageUrl ret = new ImageUrl(Interop.Capture.GenerateUrl(this.SwigCPtr.Handle), true);
+ return ret;
+ }
}
/// <summary>