Skip to main content

dex_classes

Function dex_classes 

Source
pub fn dex_classes() -> Vec<(&'static str, Vec<u8>)>
Expand description

Every callback class this crate synthesises, as (name, dex).

Each one subclasses an abstract Android callback and declares its overrides native, so RegisterNatives can bind them to Rust functions. The method signatures are the ones Android declares — a mismatch does not fail at registration, it fails the first time the framework tries to call in.