Function init_with_runtime

Source
pub fn init_with_runtime(runtime: &'static dyn Runtime)
Available on Android only.
Expand description

Initialize with a runtime that can dynamically serve references to the JVM, context, and class loader.

This is the most flexible option, and is useful for advanced use cases.

This function will never panic.