Function init_with_env
Source pub fn init_with_env(
env: &mut JNIEnv<'_>,
context: JObject<'_>,
) -> Result<(), Error>
Available on Android only.
Expand description
Initialize given a typical Android NDK JNIEnv and JObject context.
This method will setup and store an environment locally. This is useful if nothing else in your
application needs to access the Android runtime.