Package org.gnome.webkit
Class ITPFirstParty
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.webkit.ITPFirstParty
-
Constructor Summary
ConstructorDescriptionITPFirstParty
(MemorySegment address) Create a ITPFirstParty proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionGet the domain name of this ITPFirstParty.Get the last time aWebKitITPThirdParty
has been seen under this ITPFirstParty.static Type
getType()
Get the GType of the ITPFirstParty classboolean
Get whether this ITPFirstParty has granted website data access to itsWebKitITPThirdParty
.ref()
Atomically increments the reference count of this ITPFirstParty by one.void
unref()
Atomically decrements the reference count of this ITPFirstParty by one.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
ITPFirstParty
Create a ITPFirstParty proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
-
Method Details
-
getType
-
getDomain
-
getLastUpdateTime
Get the last time aWebKitITPThirdParty
has been seen under this ITPFirstParty.Each
WebKitITPFirstParty
is created by webkit_itp_third_party_get_first_parties() and therefore corresponds to exactly oneWebKitITPThirdParty
.- Returns:
- the last update time as a
GDateTime
-
getWebsiteDataAccessAllowed
public boolean getWebsiteDataAccessAllowed()Get whether this ITPFirstParty has granted website data access to itsWebKitITPThirdParty
.Each
WebKitITPFirstParty
is created by webkit_itp_third_party_get_first_parties() and therefore corresponds to exactly oneWebKitITPThirdParty
.- Returns:
true
if website data access has been granted, orfalse
otherwise
-
ref
Atomically increments the reference count of this ITPFirstParty by one.This function is MT-safe and may be called from any thread.
- Returns:
- The passed
WebKitITPFirstParty
-
unref
public void unref()Atomically decrements the reference count of this ITPFirstParty by one.If the reference count drops to 0, all memory allocated by
WebKitITPFirstParty
is released. This function is MT-safe and may be called from any thread.
-