Virtual Method

OmniTransformerStateserialize_async

Declaration

void
serialize_async (
  OmniTransformerState* self,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  void* user_data
)

Description

Serialize the current state to the specified byte storage.

This method must be overridden if the transformer feature flags include Omni.TransformerFeatureFlags.STATE_SERIALIZABLE. The default implementation throws an error.

Parameters

cancellable

Type: GCancellable

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

No description available.

user_data

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.