Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/Tizen.Multimedia/MediaTool/MediaPacket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

using System;
using System.ComponentModel;
using System.Diagnostics;
using Tizen.Internals.Errors;
using Native = Tizen.Multimedia.Interop.MediaPacket;
Expand Down Expand Up @@ -727,7 +728,15 @@ public static MediaPacket Create(MediaPacket mediaPacket)
return new SimpleMediaPacket(mediaPacket);
}

internal static MediaPacket From(IntPtr handle)
/// <summary>
/// Creates an object of the MediaPacket with the specified <see cref="IntPtr"/>.
/// </summary>
/// <param name="handle">The native media packet handle.</param>
/// <remarks>
/// This supports the product infrastructure and is not intended to be used directly from application code.
/// </remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public static MediaPacket From(IntPtr handle)
{
return new SimpleMediaPacket(handle);
}
Expand Down
Loading