#[cfg(any(feature = "all", feature = "android-net-wifi-WifiManager_LocalOnlyHotspotReservation"))]
__jni_bindgen! {
public class WifiManager_LocalOnlyHotspotReservation ("android/net/wifi/WifiManager$LocalOnlyHotspotReservation") extends crate::java::lang::Object, implements crate::java::lang::AutoCloseable {
#[cfg(any(feature = "all", all(feature = "android-net-wifi-WifiConfiguration")))]
pub fn getWifiConfiguration<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::wifi::WifiConfiguration>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
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/wifi/WifiManager$LocalOnlyHotspotReservation\0", "getWifiConfiguration\0", "()Landroid/net/wifi/WifiConfiguration;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn close<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
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/wifi/WifiManager$LocalOnlyHotspotReservation\0", "close\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}