* limitations under the License.
*
*/
-
-using System;
using System.ComponentModel;
namespace Tizen.NUI
/// And this would make some problem, because dotnet runtime would change the address of memory allocated.
/// So this is required to be removed.
/// currently no use. will be added later
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated!")]
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public class PixelData : BaseHandle
{
/// <summary>
/// Dispose.
/// </summary>
- /// <since_tizen> 3 </since_tizen>
+ /// <since_tizen> 5 </since_tizen>
protected override void Dispose(DisposeTypes type)
{
if (disposed)
/// <param name="height">Buffer height in pixels.</param>
/// <param name="pixelFormat">The pixel format.</param>
/// <param name="releaseFunction">The function used to release the memory.</param>
- /// <since_tizen> 3 </since_tizen>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
public PixelData(byte[] buffer, uint bufferSize, uint width, uint height, PixelFormat pixelFormat, PixelData.ReleaseFunction releaseFunction) : this(NDalicPINVOKE.PixelData_New(buffer, bufferSize, width, height, (int)pixelFormat, (int)releaseFunction), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Gets the width of the buffer in pixels.
/// </summary>
/// <returns>The width of the buffer in pixels.</returns>
- /// <since_tizen> 3 </since_tizen>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
public uint GetWidth()
{
uint ret = NDalicPINVOKE.PixelData_GetWidth(swigCPtr);
/// Gets the height of the buffer in pixels.
/// </summary>
/// <returns>The height of the buffer in pixels.</returns>
- /// <since_tizen> 3 </since_tizen>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
public uint GetHeight()
{
uint ret = NDalicPINVOKE.PixelData_GetHeight(swigCPtr);
/// Gets the pixel format.
/// </summary>
/// <returns>The pixel format.</returns>
- /// <since_tizen> 3 </since_tizen>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
public PixelFormat GetPixelFormat()
{
PixelFormat ret = (PixelFormat)NDalicPINVOKE.PixelData_GetPixelFormat(swigCPtr);
/// <summary>
/// Enumeration for Function to release the pixel buffer.
/// </summary>
- /// <since_tizen> 3 </since_tizen>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
public enum ReleaseFunction
{
/// <summary>
/// Use free function to release the pixel buffer.
/// </summary>
- FREE,
+ Free,
/// <summary>
/// Use delete[] operator to release the pixel buffer.
/// </summary>
- DELETE_ARRAY
+ DeleteArray
}
-
}
-
}
\ No newline at end of file