IDS peak AFL v1.7.0
Loading...
Searching...
No Matches

Functions

PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessComponent_Callback_Set (peak_afl_controller_handle controller, peak_afl_controller_brightness_component component, peak_afl_callback_type type, void *funcPtr, void *context)
 Set a callback for a controller component.
 

Detailed Description

It is possible to be informed for specific events via callbacks. The following callbacks are available:

Note
The Finished callback will only be called when the controller runs in Once mode.

Function Documentation

◆ peak_afl_AutoController_BrightnessComponent_Callback_Set()

PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessComponent_Callback_Set ( peak_afl_controller_handle controller,
peak_afl_controller_brightness_component component,
peak_afl_callback_type type,
void * funcPtr,
void * context )

Set a callback for a controller component.

Set funcPtr to NULL to disable the callback. Set funcPtr to !NULL to enable the callback.

The callback set by funcPtr will be called with context as its last parameter.

For a list of valid types see peak_afl_callback_type.

Parameters
[in]controllercontroller handle
[out]componentbrightness component
[in]typecallback type
[in]funcPtrfunction pointer
[in]contextpointer
Returns
PEAK_AFL_STATUS_SUCCESS Operation was successful; no error occurred.
PEAK_AFL_STATUS_NOT_INITIALIZED The library is not initialized.
PEAK_AFL_STATUS_INVALID_PARAMETER The argument is invalid.
PEAK_AFL_STATUS_NOT_SUPPORTED The function is not supported.
PEAK_AFL_STATUS_ERROR An unexpected internal error occurred.
Since
1.2