Class ITPFirstParty

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

@Generated("org.javagi.JavaGI") public class ITPFirstParty extends ProxyInstance
Describes a first party origin.
Since:
2.30
  • Constructor Details

    • ITPFirstParty

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

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

      public String getDomain()
      Get the domain name of itpFirstParty.
      Returns:
      the domain name
      Since:
      2.30
    • getLastUpdateTime

      public DateTime getLastUpdateTime()

      Get the last time a WebKitITPThirdParty has been seen under itpFirstParty.

      Each WebKitITPFirstParty is created by webkit_itp_third_party_get_first_parties() and therefore corresponds to exactly one WebKitITPThirdParty.

      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 its WebKitITPThirdParty.

      Each WebKitITPFirstParty is created by webkit_itp_third_party_get_first_parties() and therefore corresponds to exactly one WebKitITPThirdParty.

      Returns:
      true if website data access has been granted, or false otherwise
      Since:
      2.30
    • ref

      public ITPFirstParty 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 WebKitITPFirstParty is released. This function is MT-safe and may be called from any thread.

      Since:
      2.30