Interface libvlc_dialog_display_progress_cb
-
- All Superinterfaces:
com.sun.jna.Callback
public interface libvlc_dialog_display_progress_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 b_indeterminate, float f_position, String psz_cancel)Called when a progress 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 b_indeterminate, float f_position, String psz_cancel)Called when a progress dialog needs to be displayedIf cancellable (psz_cancel != NULL), you can cancel this dialog by calling libvlc_dialog_dismiss()
to receive this callack, libvlc_dialog_cbs.pf_cancel and libvlc_dialog_cbs.pf_update_progress should not be NULL.
- Parameters:
p_data- opaque pointer for the callbackp_id- id used to interact with the dialogpsz_title- title of the diaogpsz_text- text of the dialogb_indeterminate- true if the progress dialog is indeterminatef_position- initial position of the progress bar (between 0.0 and 1.0)psz_cancel- text of the cancel button, if NULL the dialog is not cancellable
-
-