Interface libvlc_dialog_display_question_cb

  • All Superinterfaces:
    com.sun.jna.Callback

    public interface libvlc_dialog_display_question_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,
                      int i_type,
                      String psz_cancel,
                      String psz_action1,
                      String psz_action2)
        Called when a question dialog needs to be displayed

        You can interact with this dialog by calling libvlc_dialog_post_action() 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 dialog
        psz_text - text of the dialog
        i_type - question type (or severity) of the dialog
        psz_cancel - text of the cancel button
        psz_action1 - text of the first button, if NULL, don't display this button
        psz_action2 - text of the second button, if NULL, don't display this button