initCVResource abstract method

Future<int?> initCVResource(
  1. String licenseFile,
  2. String modelPath
)

Checks video effect license, sets the video effect resource model path, and initializes video effect.

licenseFile: The absolute path of the license file for authorization.

modelPath: The absolute path of the Effects SDK's models file.

Return value:

  • 0: Success.
  • –1000: The Effects SDK is not integrated.
  • –1002: Your Effects SDK's version is incompatible.
  • < 0: Other error. See error code table for specific instructions.

Implementation

Future<int?> initCVResource(String licenseFile, String modelPath);