#[cfg(any(feature = "all", feature = "android-nfc-NfcEvent"))]
__jni_bindgen! {
public final class NfcEvent ("android/nfc/NfcEvent") extends crate::java::lang::Object {
#[cfg(any(feature = "all", feature = "android-nfc-NfcAdapter"))]
pub fn nfcAdapter<'env>(&'env self) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::nfc::NfcAdapter>> {
unsafe {
let env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_field) = env.require_class_field("android/nfc/NfcEvent\0", "nfcAdapter\0", "Landroid/nfc/NfcAdapter;\0");
env.get_object_field(self.0.object, __jni_field)
}
}
}
}