Package org.gnome.webkit
Class WebViewSessionState
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.webkit.WebViewSessionState
-
Constructor Summary
ConstructorDescriptionWebViewSessionState
(MemorySegment address) Create a WebViewSessionState proxy instance for the provided memory address.WebViewSessionState
(Bytes data) Creates a newWebKitWebViewSessionState
from serialized data. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the WebViewSessionState classref()
Atomically increments the reference count of this WebViewSessionState by one.Serializes aWebKitWebViewSessionState
.void
unref()
Atomically decrements the reference count of this WebViewSessionState by one.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
WebViewSessionState
Create a WebViewSessionState proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
WebViewSessionState
Creates a newWebKitWebViewSessionState
from serialized data.- Parameters:
data
- aGBytes
- Throws:
UnsupportedPlatformException
- when run on a platform other than linux
-
-
Method Details
-
getType
-
ref
Atomically increments the reference count of this WebViewSessionState by one.This function is MT-safe and may be called from any thread.
- Returns:
- The passed in
WebKitWebViewSessionState
-
serialize
Serializes aWebKitWebViewSessionState
.- Returns:
- a
GBytes
containing the this WebViewSessionState serialized.
-
unref
public void unref()Atomically decrements the reference count of this WebViewSessionState by one.If the reference count drops to 0, all memory allocated by the
WebKitWebViewSessionState
is released. This function is MT-safe and may be called from any thread.
-