Interface libvlc_log_cb

All Superinterfaces:
com.sun.jna.Callback

public interface libvlc_log_cb extends com.sun.jna.Callback
Specification for a callback that handles native log messages.
  • 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 Summary

    Modifier and Type
    Method
    Description
    void
    log(com.sun.jna.Pointer data, int level, libvlc_log_t ctx, String format, com.sun.jna.Pointer args)
    Callback prototype for LibVLC log message handler.
  • Method Details

    • log

      void log(com.sun.jna.Pointer data, int level, libvlc_log_t ctx, String format, com.sun.jna.Pointer args)
      Callback prototype for LibVLC log message handler.

      Log message handlers must be thread-safe.

      Parameters:
      data - data pointer as given to libvlc_log_set()
      level - message level
      ctx - message context (meta-informations about the message)
      format - printf() format string (as defined by ISO C11)
      args - variable argument list for the format