#[cfg(any(feature = "all", feature = "android-content-Entity_NamedContentValues"))]
__jni_bindgen! {
public class Entity_NamedContentValues ("android/content/Entity$NamedContentValues") extends crate::java::lang::Object {
#[cfg(any(feature = "all", all(feature = "android-content-ContentValues", feature = "android-net-Uri")))]
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ContentValues>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::content::Entity_NamedContentValues>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
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_method("android/content/Entity$NamedContentValues\0", "<init>\0", "(Landroid/net/Uri;Landroid/content/ContentValues;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", feature = "android-net-Uri"))]
pub fn uri<'env>(&'env self) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>> {
unsafe {
let env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_field) = env.require_class_field("android/content/Entity$NamedContentValues\0", "uri\0", "Landroid/net/Uri;\0");
env.get_object_field(self.0.object, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-content-ContentValues"))]
pub fn values<'env>(&'env self) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::ContentValues>> {
unsafe {
let env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_field) = env.require_class_field("android/content/Entity$NamedContentValues\0", "values\0", "Landroid/content/ContentValues;\0");
env.get_object_field(self.0.object, __jni_field)
}
}
}
}