registerVencCallBack

Function Usage

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

Prototype

1
registerVencCallBack(callback_func: Callable)

Input Parameters

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.

Exception Throwing Interface

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