Class ConsoleMessage

java.lang.Object
org.javagi.base.ProxyInstance
org.webkitgtk.webprocessextension.ConsoleMessage
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class ConsoleMessage extends ProxyInstance
  • Constructor Details

    • ConsoleMessage

      public ConsoleMessage(MemorySegment address)
      Create a ConsoleMessage proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the ConsoleMessage class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • copy

      public ConsoleMessage copy()
      Make a copy of consoleMessage.
      Returns:
      A copy of passed in WebKitConsoleMessage
      Since:
      2.12
    • free

      public void free()
      Free the WebKitConsoleMessage
      Since:
      2.12
    • getLevel

      public ConsoleMessageLevel getLevel()
      Gets the log level of a WebKitConsoleMessage
      Returns:
      a WebKitConsoleMessageLevel indicating the log level of this ConsoleMessage
      Since:
      2.12
    • getLine

      public int getLine()
      Gets the line number of a WebKitConsoleMessage
      Returns:
      the line number of this ConsoleMessage
      Since:
      2.12
    • getSource

      public ConsoleMessageSource getSource()
      Gets the source of a WebKitConsoleMessage
      Returns:
      a WebKitConsoleMessageSource indicating the source of this ConsoleMessage
      Since:
      2.12
    • getSourceId

      public String getSourceId()
      Gets the source identifier of a WebKitConsoleMessage
      Returns:
      the source identifier of this ConsoleMessage
      Since:
      2.12
    • getText

      public String getText()
      Gets the text message of a WebKitConsoleMessage
      Returns:
      the text message of this ConsoleMessage
      Since:
      2.12