internal delegate bool MediaTagCallback(IntPtr tagHandle, IntPtr UserData);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
- internal delegate bool MediaBookMarkCallback(IntPtr bookmarkHandle, IntPtr UserData);
+ internal delegate bool MediaBookmarkCallback(IntPtr bookmarkHandle, IntPtr UserData);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate bool MediaFaceCallback(IntPtr bookmarkHandle, IntPtr UserData);
internal static extern int GetBookmarkCount(string mediaId, IntPtr filter, out int bookmarkCount);
[DllImport(Libraries.MediaContent, EntryPoint = "media_info_foreach_bookmark_from_db", CallingConvention = CallingConvention.Cdecl)]
- internal static extern int GetAllBookmarks(string mediaId, IntPtr filter, MediaBookMarkCallback callback, IntPtr userData);
+ internal static extern int GetAllBookmarks(string mediaId, IntPtr filter, MediaBookmarkCallback callback, IntPtr userData);
[DllImport(Libraries.MediaContent, EntryPoint = "media_info_get_face_count_from_db", CallingConvention = CallingConvention.Cdecl)]
internal static extern int GetFaceCount(string mediaId, IntPtr filter, out int bookmarkCount);
}
/// <summary>
- /// Gets the number of MediaBookMark for the passed filter in the given media ID from the media database.
+ /// Gets the number of MediaBookmark for the passed filter in the given media ID from the media database.
/// If NULL is passed to the filter, no filtering is applied.
/// </summary>
/// <returns>
/// int count</returns>
- /// <param name="filter">The Filter for matching BookMarks</param>
- public int GetMediaBookMarkCount(ContentFilter filter)
+ /// <param name="filter">The Filter for matching Bookmarks</param>
+ public int GetMediaBookmarkCount(ContentFilter filter)
{
int count = 0;
IntPtr handle = (filter != null) ? filter.Handle : IntPtr.Zero;
/// If NULL is passed to the filter, no filtering is applied.
/// </summary>
/// <returns>
- /// Task to get all the BookMarks
+ /// Task to get all the Bookmarks
/// </returns>
/// <param name="filter"> filter for the Tags</param>
public Task<IEnumerable<MediaBookmark>> GetMediaBookmarksAsync(ContentFilter filter)
MediaContentError result;
Collection<MediaBookmark> coll = new Collection<MediaBookmark>();
IntPtr filterHandle = (filter != null) ? filter.Handle : IntPtr.Zero;
- Interop.MediaInformation.MediaBookMarkCallback bookmarksCallback = (IntPtr handle, IntPtr userData) =>
+ Interop.MediaInformation.MediaBookmarkCallback bookmarksCallback = (IntPtr handle, IntPtr userData) =>
{
IntPtr newHandle;
result = (MediaContentError)Interop.MediaBookmark.Clone(out newHandle, handle);
}
/// <summary>
- /// Adds a MediaBookMark to the audio
+ /// Adds a MediaBookmark to the audio
/// </summary>
/// <param name="offset">Offset of the audio in seconds</param>
/// <returns>
- /// Task with newly added MediaBookMark instance.
+ /// Task with newly added MediaBookmark instance.
/// </returns>
public async Task<MediaBookmark> AddBookmark(uint offset)
{
}
/// <summary>
- /// Deletes a MediaBookMark item from the media database.
+ /// Deletes a MediaBookmark item from the media database.
/// </summary>
- /// <param name="bookmark">The MediaBookMark instance to be deleted</param>
+ /// <param name="bookmark">The MediaBookmark instance to be deleted</param>
public void DeleteBookmark(MediaBookmark bookmark)
{
ContentManager.Database.Delete(bookmark);
/// </summary>
/// <returns>
/// int count</returns>
- /// <param name="filter">The Filter for matching BookMarks</param>
- public int GetMediaBookMarkCount(ContentFilter filter)
+ /// <param name="filter">The Filter for matching Bookmarks</param>
+ public int GetMediaBookmarkCount(ContentFilter filter)
{
int count = 0;
IntPtr handle = (filter != null) ? filter.Handle : IntPtr.Zero;
/// Iterates through the media bookmark in the given media info from the media database.
/// </summary>
/// <returns>
- /// Task to get all the BookMarks </returns>
+ /// Task to get all the Bookmarks </returns>
/// <param name="filter"> filter for the Tags</param>
public Task<IEnumerable<MediaBookmark>> GetMediaBookmarksAsync(ContentFilter filter)
{
MediaContentError result;
Collection<MediaBookmark> coll = new Collection<MediaBookmark>();
IntPtr filterHandle = (filter != null) ? filter.Handle : IntPtr.Zero;
- Interop.MediaInformation.MediaBookMarkCallback bookmarksCallback = (IntPtr handle, IntPtr userData) =>
+ Interop.MediaInformation.MediaBookmarkCallback bookmarksCallback = (IntPtr handle, IntPtr userData) =>
{
IntPtr newHandle;
result = (MediaContentError)Interop.MediaBookmark.Clone(out newHandle, handle);
Name: csapi-media-content
Summary: Tizen Media Content API for C#
-Version: 1.0.5
+Version: 1.0.6
Release: 1
Group: Development/Libraries
License: Apache-2.0
%files
%manifest %{name}.manifest
%license LICENSE
-%attr(644,root,root) %{dotnet_assembly_files}
\ No newline at end of file
+%attr(644,root,root) %{dotnet_assembly_files}