#[cfg(any(feature = "all", feature = "android-provider-ContactsContract_RawContacts"))]
__jni_bindgen! {
public final class ContactsContract_RawContacts ("android/provider/ContactsContract$RawContacts") extends crate::java::lang::Object, implements crate::android::provider::BaseColumns, crate::android::provider::ContactsContract_RawContactsColumns, crate::android::provider::ContactsContract_ContactOptionsColumns, crate::android::provider::ContactsContract_ContactNameColumns, crate::android::provider::ContactsContract_SyncColumns {
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "android-net-Uri")))]
pub fn getContactLookupUri<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ContentResolver>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>>, __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_static_method("android/provider/ContactsContract$RawContacts\0", "getContactLookupUri\0", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/net/Uri;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-EntityIterator", feature = "android-database-Cursor")))]
pub fn newEntityIterator<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::database::Cursor>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::EntityIterator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/ContactsContract$RawContacts\0", "newEntityIterator\0", "(Landroid/database/Cursor;)Landroid/content/EntityIterator;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
pub const AGGREGATION_MODE_DEFAULT : i32 = 0;
pub const AGGREGATION_MODE_DISABLED : i32 = 3;
#[deprecated] pub const AGGREGATION_MODE_IMMEDIATE : i32 = 1;
pub const AGGREGATION_MODE_SUSPENDED : i32 = 2;
pub const CONTENT_ITEM_TYPE : &'static str = "vnd.android.cursor.item/raw_contact";
pub const CONTENT_TYPE : &'static str = "vnd.android.cursor.dir/raw_contact";
#[cfg(any(feature = "all", feature = "android-net-Uri"))]
pub fn CONTENT_URI<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/provider/ContactsContract$RawContacts\0", "CONTENT_URI\0", "Landroid/net/Uri;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}