Class UserContentFilter

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

@Generated("org.javagi.JavaGI") public class UserContentFilter extends ProxyInstance
A compiled set of rules which applied to resource loads.
Since:
2.24
  • Constructor Details

    • UserContentFilter

      public UserContentFilter(MemorySegment address)
      Create a UserContentFilter 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 UserContentFilter class.
      Returns:
      the GType
    • getMemoryLayout

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

      public String getIdentifier()

      Obtain the identifier previously used to save the userContentFilter.

      Obtain the identifier previously used to save the this UserContentFilter in the WebKitUserContentFilterStore.

      Returns:
      the identifier for the filter
      Since:
      2.24
    • ref

      public UserContentFilter ref()

      Atomically increments the reference count of this UserContentFilter by one.

      This function is MT-safe and may be called from any thread.

      Returns:
      the this UserContentFilter passed in.
      Since:
      2.24
    • unref

      public void unref()

      Atomically decrements the reference count of this UserContentFilter by one.

      If the reference count drops to 0, all the memory allocated by the WebKitUserContentFilter is released. This function is MT-safe and may be called from any thread.

      Since:
      2.24