isBackendBuiltIn static method

bool isBackendBuiltIn(
  1. VideoCaptureAPIs api
)

Returns true if backend is built in (false if backend is used as plugin)

Implementation

static bool isBackendBuiltIn(VideoCaptureAPIs api) {
  final p = calloc<ffi.Bool>();
  cvRun(() => cvg.cv_video_registry_isBackendBuiltIn(api.value, p));
  final rval = p.value;
  calloc.free(p);
  return rval;
}