- Set callback on JNI, since Java class cant be sent through, use the ndk backend to implement callback and send to swapon()