Interface libvlc_dialog_display_question_cb
-
- All Superinterfaces:
com.sun.jna.Callback
public interface libvlc_dialog_display_question_cb extends com.sun.jna.Callback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcallback(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
-
-
-
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 displayedYou 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 callbackp_id- id used to interact with the dialogpsz_title- title of the dialogpsz_text- text of the dialogi_type- question type (or severity) of the dialogpsz_cancel- text of the cancel buttonpsz_action1- text of the first button, if NULL, don't display this buttonpsz_action2- text of the second button, if NULL, don't display this button
-
-