MCPcopy Create free account
hub / github.com/antvis/F2Native / nLoadImageResult

Function nLoadImageResult

core/android/F2NativeJNI.cpp:406–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406static int nLoadImageResult(JNIEnv *env, jclass clazz, jlong canvasImage, void *image, jboolean isSuccess) {
407 xg::canvas::CanvasImage *_canvasImage = reinterpret_cast<xg::canvas::CanvasImage *>(canvasImage);
408 if(_canvasImage != nullptr) {
409 _canvasImage->OnLoadFinish(image, isSuccess == JNI_TRUE);
410 }
411 return 0;
412}
413
414static const JNINativeMethod native_chart_methods[] = {{
415 .name = "nCreateNativeChart",

Callers

nothing calls this directly

Calls 1

OnLoadFinishMethod · 0.80

Tested by

no test coverage detected