Package org.webkitgtk
Class WebViewSessionState
java.lang.Object
org.javagi.base.ProxyInstance
org.webkitgtk.WebViewSessionState
-
Constructor Summary
ConstructorsConstructorDescriptionWebViewSessionState(byte[] data) Creates a newWebKitWebViewSessionStatefrom serialized data.WebViewSessionState(MemorySegment address) Create a WebViewSessionState proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TypegetType()Get the GType of the WebViewSessionState classref()Atomically increments the reference count of this WebViewSessionState by one.byte[]Serializes aWebKitWebViewSessionState.voidunref()Atomically decrements the reference count of this WebViewSessionState by one.Methods inherited from class org.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
public WebViewSessionState(byte[] data) Creates a newWebKitWebViewSessionStatefrom serialized data.- Parameters:
data- aGBytes- Since:
- 2.12
-
-
Method Details
-
getType
Get the GType of the WebViewSessionState class- Returns:
- the GType
-
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 - Since:
- 2.12
-
serialize
public byte[] serialize()Serializes aWebKitWebViewSessionState.- Returns:
- a
GBytescontaining the this WebViewSessionState serialized. - Since:
- 2.12
-
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
WebKitWebViewSessionStateis released. This function is MT-safe and may be called from any thread.- Since:
- 2.12
-