Interface libvlc_dialog_display_login_cb

  • All Superinterfaces:
    com.sun.jna.Callback

    public interface libvlc_dialog_display_login_cb
    extends com.sun.jna.Callback
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.sun.jna.Callback

        com.sun.jna.Callback.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from interface com.sun.jna.Callback

        FORBIDDEN_NAMES, METHOD_NAME
    • Method Detail

      • callback

        void callback​(com.sun.jna.Pointer p_data,
                      libvlc_dialog_id p_id,
                      String psz_title,
                      String psz_text,
                      String psz_default_username,
                      int b_ask_store)
        Called when a login dialog needs to be displayed

        You can interact with this dialog by calling libvlc_dialog_post_login() to post an answer or libvlc_dialog_dismiss() to cancel this dialog.

        to receive this callack, libvlc_dialog_cbs.pf_cancel should not be NULL.

        Parameters:
        p_data - opaque pointer for the callback
        p_id - id used to interact with the dialog
        psz_title - title of the diaog
        psz_text - text of the dialog
        psz_default_username - user name that should be set on the user form
        b_ask_store - if true, ask the user if he wants to save the credentials