/// <summary> /// 监听播放器seek请求事件 /// </summary> /// <param name="ctx">对象指针</param> /// <param name="cb">回调指针</param> /// <param name="user_data">用户数据指针</param> public static void mk_media_set_on_seek(System.IntPtr ctx, on_mk_media_seek cb, System.IntPtr user_data) { if (LibraryConst.IsWindows) { mk_media_windows.mk_media_set_on_seek(ctx, cb, user_data); } else { mk_media_unix.mk_media_set_on_seek(ctx, cb, user_data); } }
internal static extern void mk_media_set_on_seek(IntPtr mk_media, on_mk_media_seek callback, IntPtr user_data);
internal static extern void mk_media_set_on_seek(System.IntPtr ctx, on_mk_media_seek cb, System.IntPtr user_data);
public static extern void mk_media_set_on_seek(IntPtr ctx, on_mk_media_seek cb, IntPtr user_data);