jni callback progress