registerVencCallBack(callback_func)

Function Usage

Registers the user-defined callback function so that user-defined operations can be implemented in the callback function after encoding.

Input Parameter Description

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.

Return Parameter Description

None

Exception Throwing Interface

If the defined callback function is not passed in the specified format, a TypeError or runtime exception is thrown.