Esempio n. 1
0
 /// <summary>
 /// 监听MediaSource.close()事件
 /// </summary>
 /// <remarks>在选择关闭一个关联的MediaSource时,将会最终触发到该回调;你应该通过该事件调用mk_proxy_player_release函数并且释放其他资源</remarks>
 /// <param name="ctx">对象指针</param>
 /// <param name="cb">回调指针</param>
 /// <param name="user_data">用户数据指针</param>
 public static void mk_proxy_player_set_on_close(System.IntPtr ctx, on_mk_proxy_player_close cb, System.IntPtr user_data)
 {
     if (LibraryConst.IsWindows)
     {
         mk_proxyplayer_windows.mk_proxy_player_set_on_close(ctx, cb, user_data);
     }
     else
     {
         mk_proxyplayer_unix.mk_proxy_player_set_on_close(ctx, cb, user_data);
     }
 }
Esempio n. 2
0
 internal static extern void mk_proxy_player_set_on_close(System.IntPtr ctx, on_mk_proxy_player_close cb, System.IntPtr user_data);
Esempio n. 3
0
 internal static extern void mk_proxy_player_set_on_close(IntPtr mk_proxy_player,
                                                          on_mk_proxy_player_close callback,
                                                          IntPtr user_data);