gi-webkit2-4.0.27: WebKit2 bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Structs.ITPFirstParty

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ITPFirstParty Source #

Memory-managed wrapper type.

Constructors

ITPFirstParty (ManagedPtr ITPFirstParty) 

Instances

Instances details
Eq ITPFirstParty Source # 
Instance details

Defined in GI.WebKit2.Structs.ITPFirstParty

GBoxed ITPFirstParty Source # 
Instance details

Defined in GI.WebKit2.Structs.ITPFirstParty

ManagedPtrNewtype ITPFirstParty Source # 
Instance details

Defined in GI.WebKit2.Structs.ITPFirstParty

Methods

toManagedPtr :: ITPFirstParty -> ManagedPtr ITPFirstParty

TypedObject ITPFirstParty Source # 
Instance details

Defined in GI.WebKit2.Structs.ITPFirstParty

Methods

glibType :: IO GType

HasParentTypes ITPFirstParty Source # 
Instance details

Defined in GI.WebKit2.Structs.ITPFirstParty

IsGValue (Maybe ITPFirstParty) Source #

Convert ITPFirstParty to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.WebKit2.Structs.ITPFirstParty

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe ITPFirstParty -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe ITPFirstParty)

type ParentTypes ITPFirstParty Source # 
Instance details

Defined in GI.WebKit2.Structs.ITPFirstParty

type ParentTypes ITPFirstParty = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

ref, unref.

Getters

getDomain, getLastUpdateTime, getWebsiteDataAccessAllowed.

Setters

None.

getDomain

iTPFirstPartyGetDomain Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ITPFirstParty

itpFirstParty: a ITPFirstParty

-> m Text

Returns: the domain name

Get the domain name of itpFirstParty

Since: 2.30

getLastUpdateTime

iTPFirstPartyGetLastUpdateTime Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ITPFirstParty

itpFirstParty: a ITPFirstParty

-> m DateTime

Returns: the last update time as a DateTime

Get the last time a ITPThirdParty has been seen under itpFirstParty. Each webKitITPFirstParty is created by iTPThirdPartyGetFirstParties and therefore corresponds to exactly one ITPThirdParty.

Since: 2.30

getWebsiteDataAccessAllowed

iTPFirstPartyGetWebsiteDataAccessAllowed Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ITPFirstParty

itpFirstParty: a ITPFirstParty

-> m Bool

Returns: True if website data access has been granted, or False otherwise

Get whether itpFirstParty has granted website data access to its ITPThirdParty. Each webKitITPFirstParty is created by iTPThirdPartyGetFirstParties and therefore corresponds to exactly one ITPThirdParty.

Since: 2.30

ref

iTPFirstPartyRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ITPFirstParty

itpFirstParty: a ITPFirstParty

-> m ITPFirstParty

Returns: The passed ITPFirstParty

Atomically increments the reference count of itpFirstParty by one. This function is MT-safe and may be called from any thread.

Since: 2.30

unref

iTPFirstPartyUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ITPFirstParty

itpFirstParty: a ITPFirstParty

-> m () 

Atomically decrements the reference count of itpFirstParty by one. If the reference count drops to 0, all memory allocated by ITPFirstParty is released. This function is MT-safe and may be called from any thread.

Since: 2.30