Package org.webkitgtk
Class UserContentFilter
java.lang.Object
org.javagi.base.ProxyInstance
org.webkitgtk.UserContentFilter
- All Implemented Interfaces:
Proxy
A compiled set of rules which applied to resource loads.
- Since:
- 2.24
-
Constructor Summary
ConstructorsConstructorDescriptionUserContentFilter(MemorySegment address) Create a UserContentFilter proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionObtain the identifier previously used to save theuserContentFilter.static @Nullable TypegetType()Get the GType of the UserContentFilter classref()Atomically increments the reference count of this UserContentFilter by one.voidunref()Atomically decrements the reference count of this UserContentFilter by one.Methods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
UserContentFilter
Create a UserContentFilter proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
-
Method Details
-
getType
Get the GType of the UserContentFilter class- Returns:
- the GType
-
getIdentifier
Obtain the identifier previously used to save theuserContentFilter.Obtain the identifier previously used to save the this UserContentFilter in the
WebKitUserContentFilterStore.- Returns:
- the identifier for the filter
- Since:
- 2.24
-
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
WebKitUserContentFilteris released. This function is MT-safe and may be called from any thread.- Since:
- 2.24
-