ldk_keyframe_animation_source_event_handler_set

Set the synchronous global callback for keyframe animation events.

LDK_API void ldk_keyframe_animation_source_event_handler_set(
 LDKKeyframeEventFn handler,
 void *user
);

Parameters

LDKKeyframeEventFn handler
Event handler invoked synchronously, or NULL to unregister.
void *user
Opaque callback context.

Returns

Nothing. Passing NULL disables notifications. Note: Callbacks may mutate or destroy the source; do not keep event pointers.