Function init_with_env
Source pub fn init_with_env(
env: &mut Env<'_>,
context: JObject<'_>,
) -> Result<(), Error>
Available on Android only.
Expand description
Initialize given a typical Android NDK Env 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.