1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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-omadm-PpsMoParser"))]
__jni_bindgen! {
    /// public final class [PpsMoParser](https://developer.android.com/reference/android/net/wifi/hotspot2/omadm/PpsMoParser.html)
    ///
    /// Required feature: "android-net-wifi-hotspot2-omadm-PpsMoParser"
    public final class PpsMoParser ("android/net/wifi/hotspot2/omadm/PpsMoParser") extends crate::java::lang::Object {

        /// [parseMoText](https://developer.android.com/reference/android/net/wifi/hotspot2/omadm/PpsMoParser.html#parseMoText(java.lang.String))
        ///
        /// 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 parseMoText<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __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/omadm/PpsMoParser", java.flags == PUBLIC | STATIC, .name == "parseMoText", .descriptor == "(Ljava/lang/String;)Landroid/net/wifi/hotspot2/PasspointConfiguration;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/wifi/hotspot2/omadm/PpsMoParser\0", "parseMoText\0", "(Ljava/lang/String;)Landroid/net/wifi/hotspot2/PasspointConfiguration;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}