Package org.webkitgtk
Class ITPFirstParty
java.lang.Object
org.javagi.base.ProxyInstance
org.webkitgtk.ITPFirstParty
-
Constructor Summary
ConstructorsConstructorDescriptionITPFirstParty(MemorySegment address) Create a ITPFirstParty proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionGet the domain name ofitpFirstParty.Get the last time aWebKitITPThirdPartyhas been seen underitpFirstParty.static @Nullable TypegetType()Get the GType of the ITPFirstParty classbooleanGet whether this ITPFirstParty has granted website data access to itsWebKitITPThirdParty.ref()Atomically increments the reference count of this ITPFirstParty by one.voidunref()Atomically decrements the reference count of this ITPFirstParty by one.Methods inherited from class org.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
Get the domain name ofitpFirstParty.- Returns:
- the domain name
- Since:
- 2.30
-
getLastUpdateTime
Get the last time aWebKitITPThirdPartyhas been seen underitpFirstParty.Each
WebKitITPFirstPartyis created by webkit_itp_third_party_get_first_parties() and therefore corresponds to exactly oneWebKitITPThirdParty.- Returns:
- the last update time as a
GDateTime - Since:
- 2.30
-
getWebsiteDataAccessAllowed
public boolean getWebsiteDataAccessAllowed()Get whether this ITPFirstParty has granted website data access to itsWebKitITPThirdParty.Each
WebKitITPFirstPartyis created by webkit_itp_third_party_get_first_parties() and therefore corresponds to exactly oneWebKitITPThirdParty.- Returns:
trueif website data access has been granted, orfalseotherwise- Since:
- 2.30
-
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 - Since:
- 2.30
-
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
WebKitITPFirstPartyis released. This function is MT-safe and may be called from any thread.- Since:
- 2.30
-