Ejemplo n.º 1
0
 /// <summary>Dismiss a dialog</summary>
 /// <param name="p_id">id of the dialog</param>
 /// <returns>0 on success, or -1 on error</returns>
 /// <remarks>
 /// <para>After this call, p_id won't be valid anymore</para>
 /// <para>libvlc_dialog_cbs.pf_cancel</para>
 /// <para>LibVLC 3.0.0 and later.</para>
 /// </remarks>
 public static int LibvlcDialogDismiss(global::VideoLAN.LibVLC.DialogId p_id)
 {
     var __arg0 = ReferenceEquals(p_id, null) ? global::System.IntPtr.Zero : p_id.__Instance;
     var __ret = __Internal.LibvlcDialogDismiss(__arg0);
     return __ret;
 }
Ejemplo n.º 2
0
 /// <summary>Post a login answer</summary>
 /// <param name="p_id">id of the dialog</param>
 /// <param name="psz_username">valid and non empty string</param>
 /// <param name="psz_password">valid string (can be empty)</param>
 /// <param name="b_store">if true, store the credentials</param>
 /// <returns>0 on success, or -1 on error</returns>
 /// <remarks>
 /// <para>After this call, p_id won't be valid anymore</para>
 /// <para>libvlc_dialog_cbs.pf_display_login</para>
 /// <para>LibVLC 3.0.0 and later.</para>
 /// </remarks>
 public static int LibvlcDialogPostLogin(global::VideoLAN.LibVLC.DialogId p_id, string psz_username, string psz_password, bool b_store)
 {
     var __arg0 = ReferenceEquals(p_id, null) ? global::System.IntPtr.Zero : p_id.__Instance;
     var __ret = __Internal.LibvlcDialogPostLogin(__arg0, psz_username, psz_password, b_store);
     return __ret;
 }
Ejemplo n.º 3
0
 /// <summary>Post a question answer</summary>
 /// <param name="p_id">id of the dialog</param>
 /// <param name="i_action">1 for action1, 2 for action2</param>
 /// <returns>0 on success, or -1 on error</returns>
 /// <remarks>
 /// <para>After this call, p_id won't be valid anymore</para>
 /// <para>libvlc_dialog_cbs.pf_display_question</para>
 /// <para>LibVLC 3.0.0 and later.</para>
 /// </remarks>
 public static int LibvlcDialogPostAction(global::VideoLAN.LibVLC.DialogId p_id, int i_action)
 {
     var __arg0 = ReferenceEquals(p_id, null) ? global::System.IntPtr.Zero : p_id.__Instance;
     var __ret = __Internal.LibvlcDialogPostAction(__arg0, i_action);
     return __ret;
 }
Ejemplo n.º 4
0
 /// <summary>Associate an opaque pointer with the dialog id</summary>
 /// <remarks>LibVLC 3.0.0 and later.</remarks>
 public static void LibvlcDialogSetContext(global::VideoLAN.LibVLC.DialogId p_id, global::System.IntPtr p_context)
 {
     var __arg0 = ReferenceEquals(p_id, null) ? global::System.IntPtr.Zero : p_id.__Instance;
     __Internal.LibvlcDialogSetContext(__arg0, p_context);
 }