jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-net-wifi-hotspot2-ConfigParser"))]
__jni_bindgen! {
    /// public final class [ConfigParser](https://developer.android.com/reference/android/net/wifi/hotspot2/ConfigParser.html)
    ///
    /// Required feature: "android-net-wifi-hotspot2-ConfigParser"
    public final class ConfigParser ("android/net/wifi/hotspot2/ConfigParser") extends crate::java::lang::Object {

        /// [parsePasspointConfig](https://developer.android.com/reference/android/net/wifi/hotspot2/ConfigParser.html#parsePasspointConfig(java.lang.String,%20byte%5B%5D))
        ///
        /// Required features: "android-net-wifi-hotspot2-PasspointConfiguration", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-net-wifi-hotspot2-PasspointConfiguration", feature = "java-lang-String")))]
        pub fn parsePasspointConfig<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ByteArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::wifi::hotspot2::PasspointConfiguration>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/hotspot2/ConfigParser", java.flags == PUBLIC | STATIC, .name == "parsePasspointConfig", .descriptor == "(Ljava/lang/String;[B)Landroid/net/wifi/hotspot2/PasspointConfiguration;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/wifi/hotspot2/ConfigParser\0", "parsePasspointConfig\0", "(Ljava/lang/String;[B)Landroid/net/wifi/hotspot2/PasspointConfiguration;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}