Registers the user-defined callback so that user-defined operations can be implemented in the callback after encoding.
1 | registerVencCallBack(callback_func: Callable) |
Parameter |
Type |
Description |
|---|---|---|
callback_func |
Function name defined by Python |
The function to be passed must be defined in a specified format. Otherwise, an exception occurs. |
If the defined callback function is not passed in the specified format, a TypeError or runtime exception is thrown.