1 2 3 4 5 6 7
jni::bind_java_type! { pub Uri => android.net.Uri, methods { static fn parse(uri: JString) -> Uri, fn to_string() -> JString, }, }