// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-net-IpSecManager_SpiUnavailableException"))]
__jni_bindgen! {
/// public final class [IpSecManager.SpiUnavailableException](https://developer.android.com/reference/android/net/IpSecManager.SpiUnavailableException.html)
///
/// Required feature: "android-net-IpSecManager_SpiUnavailableException"
public final class IpSecManager_SpiUnavailableException ("android/net/IpSecManager$SpiUnavailableException") extends crate::android::util::AndroidException {
/// [getSpi](https://developer.android.com/reference/android/net/IpSecManager.SpiUnavailableException.html#getSpi())
pub fn getSpi<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/net/IpSecManager$SpiUnavailableException", java.flags == PUBLIC, .name == "getSpi", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/IpSecManager$SpiUnavailableException\0", "getSpi\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}