[MediaController] Changed pinvoke function (#1023)
authorhsgwon <haesu.gwon@samsung.com>
Thu, 19 Sep 2019 01:13:54 +0000 (10:13 +0900)
committerGitHub <noreply@github.com>
Thu, 19 Sep 2019 01:13:54 +0000 (10:13 +0900)
src/Tizen.Multimedia.Remoting/Interop/Interop.MediaControllerClient.cs
src/Tizen.Multimedia.Remoting/Interop/Interop.MediaControllerServer.cs

index 8bd2e18..61d88c8 100644 (file)
@@ -126,7 +126,7 @@ internal static partial class Interop
         internal static extern MediaControllerError GetServerIcon(MediaControllerClientHandle clientHandle,
             string serverName, out string uri);
 
-        [DllImport(Libraries.MediaController, EntryPoint = "mc_client_get_server_subtitle_enabled")]
+        [DllImport(Libraries.MediaController, EntryPoint = "mc_client_get_server_subtitles_enabled")]
         internal static extern MediaControllerError IsSubtitleEnabled(MediaControllerClientHandle clientHandle,
             string serverName, out bool isEnabled);
 
@@ -173,7 +173,7 @@ internal static partial class Interop
         [DllImport(Libraries.MediaController, EntryPoint = "mc_client_unset_repeat_mode_updated_cb")]
         internal static extern MediaControllerError UnsetRepeatModeUpdatedCb(MediaControllerClientHandle handle);
 
-        [DllImport(Libraries.MediaController, EntryPoint = "mc_client_set_subtitle_updated_cb")]
+        [DllImport(Libraries.MediaController, EntryPoint = "mc_client_set_subtitles_updated_cb")]
         internal static extern MediaControllerError SetSubtitleUpdatedCb(MediaControllerClientHandle handle,
             BoolAttributeUpdatedCallback callback, IntPtr userData = default(IntPtr));
 
@@ -291,7 +291,7 @@ internal static partial class Interop
         internal static extern MediaControllerError SendSearchCommand(MediaControllerClientHandle handle,
             string serverName, IntPtr searchHandle, out string requestId);
 
-        [DllImport(Libraries.MediaController, EntryPoint = "mc_client_send_subtitle_cmd")]
+        [DllImport(Libraries.MediaController, EntryPoint = "mc_client_send_subtitles_cmd")]
         internal static extern MediaControllerError SendSubtitleModeCommand(MediaControllerClientHandle handle,
             string serverName, bool isEnabled, out string requestId);
 
index 50b7682..306e28c 100644 (file)
@@ -127,7 +127,7 @@ internal static partial class Interop
         [DllImport(Libraries.MediaController, EntryPoint = "mc_server_set_content_age_rating")]
         internal static extern MediaControllerError SetAgeRating(IntPtr handle, int rating);
 
-        [DllImport(Libraries.MediaController, EntryPoint = "mc_server_update_subtitle_enabled")]
+        [DllImport(Libraries.MediaController, EntryPoint = "mc_server_update_subtitles_enabled")]
         internal static extern MediaControllerError UpdateSubtitleMode(IntPtr handle, bool isEnabled);
 
         [DllImport(Libraries.MediaController, EntryPoint = "mc_server_update_360_mode_enabled")]
@@ -177,7 +177,7 @@ internal static partial class Interop
         [DllImport(Libraries.MediaController, EntryPoint = "mc_server_unset_repeat_mode_cmd_received_cb")]
         internal static extern MediaControllerError UnsetRepeatModeCommandReceivedCb(IntPtr handle);
 
-        [DllImport(Libraries.MediaController, EntryPoint = "mc_server_set_subtitle_cmd_received_cb")]
+        [DllImport(Libraries.MediaController, EntryPoint = "mc_server_set_subtitles_cmd_received_cb")]
         internal static extern MediaControllerError SetSubtitleModeCommandReceivedCb(IntPtr handle,
             SimpleCommandReceivedCallback callback, IntPtr userData = default(IntPtr));