// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-provider-Contacts_People"))]
__jni_bindgen! {
/// public final class [Contacts.People](https://developer.android.com/reference/android/provider/Contacts.People.html)
///
/// Required feature: "android-provider-Contacts_People"
#[deprecated] public final class Contacts_People ("android/provider/Contacts$People") extends crate::java::lang::Object, implements crate::android::provider::BaseColumns, crate::android::provider::Contacts_PeopleColumns, crate::android::provider::Contacts_PhonesColumns, crate::android::provider::Contacts_PresenceColumns {
/// [markAsContacted](https://developer.android.com/reference/android/provider/Contacts.People.html#markAsContacted(android.content.ContentResolver,%20long))
///
/// Required features: "android-content-ContentResolver"
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver")))]
#[deprecated] pub fn markAsContacted<'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: i64) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/provider/Contacts$People", java.flags == PUBLIC | STATIC, .name == "markAsContacted", .descriptor == "(Landroid/content/ContentResolver;J)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Contacts$People\0", "markAsContacted\0", "(Landroid/content/ContentResolver;J)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [addToMyContactsGroup](https://developer.android.com/reference/android/provider/Contacts.People.html#addToMyContactsGroup(android.content.ContentResolver,%20long))
///
/// Required features: "android-content-ContentResolver", "android-net-Uri"
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "android-net-Uri")))]
#[deprecated] pub fn addToMyContactsGroup<'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: i64) -> __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>> {
// class.path == "android/provider/Contacts$People", java.flags == PUBLIC | STATIC, .name == "addToMyContactsGroup", .descriptor == "(Landroid/content/ContentResolver;J)Landroid/net/Uri;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Contacts$People\0", "addToMyContactsGroup\0", "(Landroid/content/ContentResolver;J)Landroid/net/Uri;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [addToGroup](https://developer.android.com/reference/android/provider/Contacts.People.html#addToGroup(android.content.ContentResolver,%20long,%20java.lang.String))
///
/// Required features: "android-content-ContentResolver", "android-net-Uri", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "android-net-Uri", feature = "java-lang-String")))]
#[deprecated] pub fn addToGroup_ContentResolver_long_String<'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: i64, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __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>> {
// class.path == "android/provider/Contacts$People", java.flags == PUBLIC | STATIC, .name == "addToGroup", .descriptor == "(Landroid/content/ContentResolver;JLjava/lang/String;)Landroid/net/Uri;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Contacts$People\0", "addToGroup\0", "(Landroid/content/ContentResolver;JLjava/lang/String;)Landroid/net/Uri;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [addToGroup](https://developer.android.com/reference/android/provider/Contacts.People.html#addToGroup(android.content.ContentResolver,%20long,%20long))
///
/// Required features: "android-content-ContentResolver", "android-net-Uri"
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "android-net-Uri")))]
#[deprecated] pub fn addToGroup_ContentResolver_long_long<'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: i64, arg2: i64) -> __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>> {
// class.path == "android/provider/Contacts$People", java.flags == PUBLIC | STATIC, .name == "addToGroup", .descriptor == "(Landroid/content/ContentResolver;JJ)Landroid/net/Uri;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Contacts$People\0", "addToGroup\0", "(Landroid/content/ContentResolver;JJ)Landroid/net/Uri;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [createPersonInMyContactsGroup](https://developer.android.com/reference/android/provider/Contacts.People.html#createPersonInMyContactsGroup(android.content.ContentResolver,%20android.content.ContentValues))
///
/// Required features: "android-content-ContentResolver", "android-content-ContentValues", "android-net-Uri"
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "android-content-ContentValues", feature = "android-net-Uri")))]
#[deprecated] pub fn createPersonInMyContactsGroup<'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::content::ContentValues>>) -> __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>> {
// class.path == "android/provider/Contacts$People", java.flags == PUBLIC | STATIC, .name == "createPersonInMyContactsGroup", .descriptor == "(Landroid/content/ContentResolver;Landroid/content/ContentValues;)Landroid/net/Uri;"
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/Contacts$People\0", "createPersonInMyContactsGroup\0", "(Landroid/content/ContentResolver;Landroid/content/ContentValues;)Landroid/net/Uri;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [queryGroups](https://developer.android.com/reference/android/provider/Contacts.People.html#queryGroups(android.content.ContentResolver,%20long))
///
/// Required features: "android-content-ContentResolver", "android-database-Cursor"
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "android-database-Cursor")))]
#[deprecated] pub fn queryGroups<'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: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::database::Cursor>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/provider/Contacts$People", java.flags == PUBLIC | STATIC, .name == "queryGroups", .descriptor == "(Landroid/content/ContentResolver;J)Landroid/database/Cursor;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Contacts$People\0", "queryGroups\0", "(Landroid/content/ContentResolver;J)Landroid/database/Cursor;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [setPhotoData](https://developer.android.com/reference/android/provider/Contacts.People.html#setPhotoData(android.content.ContentResolver,%20android.net.Uri,%20byte%5B%5D))
///
/// Required features: "android-content-ContentResolver", "android-net-Uri"
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "android-net-Uri")))]
#[deprecated] pub fn setPhotoData<'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>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ByteArray>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/provider/Contacts$People", java.flags == PUBLIC | STATIC, .name == "setPhotoData", .descriptor == "(Landroid/content/ContentResolver;Landroid/net/Uri;[B)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Contacts$People\0", "setPhotoData\0", "(Landroid/content/ContentResolver;Landroid/net/Uri;[B)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [openContactPhotoInputStream](https://developer.android.com/reference/android/provider/Contacts.People.html#openContactPhotoInputStream(android.content.ContentResolver,%20android.net.Uri))
///
/// Required features: "android-content-ContentResolver", "android-net-Uri", "java-io-InputStream"
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "android-net-Uri", feature = "java-io-InputStream")))]
#[deprecated] pub fn openContactPhotoInputStream<'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::java::io::InputStream>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/provider/Contacts$People", java.flags == PUBLIC | STATIC, .name == "openContactPhotoInputStream", .descriptor == "(Landroid/content/ContentResolver;Landroid/net/Uri;)Ljava/io/InputStream;"
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/Contacts$People\0", "openContactPhotoInputStream\0", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Ljava/io/InputStream;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [loadContactPhoto](https://developer.android.com/reference/android/provider/Contacts.People.html#loadContactPhoto(android.content.Context,%20android.net.Uri,%20int,%20android.graphics.BitmapFactory.Options))
///
/// Required features: "android-content-Context", "android-graphics-Bitmap", "android-graphics-BitmapFactory_Options", "android-net-Uri"
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-graphics-Bitmap", feature = "android-graphics-BitmapFactory_Options", feature = "android-net-Uri")))]
#[deprecated] pub fn loadContactPhoto<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::BitmapFactory_Options>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::Bitmap>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/provider/Contacts$People", java.flags == PUBLIC | STATIC, .name == "loadContactPhoto", .descriptor == "(Landroid/content/Context;Landroid/net/Uri;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Contacts$People\0", "loadContactPhoto\0", "(Landroid/content/Context;Landroid/net/Uri;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// **get** public static final [CONTENT_FILTER_URI](https://developer.android.com/reference/android/provider/Contacts.People.html#CONTENT_FILTER_URI)
///
/// Required feature: "android-net-Uri"
#[cfg(any(feature = "all", feature = "android-net-Uri"))]
#[deprecated] pub fn CONTENT_FILTER_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/Contacts$People\0", "CONTENT_FILTER_URI\0", "Landroid/net/Uri;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// public static final [CONTENT_ITEM_TYPE](https://developer.android.com/reference/android/provider/Contacts.People.html#CONTENT_ITEM_TYPE)
#[deprecated] pub const CONTENT_ITEM_TYPE : &'static str = "vnd.android.cursor.item/person";
/// public static final [CONTENT_TYPE](https://developer.android.com/reference/android/provider/Contacts.People.html#CONTENT_TYPE)
#[deprecated] pub const CONTENT_TYPE : &'static str = "vnd.android.cursor.dir/person";
/// **get** public static final [CONTENT_URI](https://developer.android.com/reference/android/provider/Contacts.People.html#CONTENT_URI)
///
/// Required feature: "android-net-Uri"
#[cfg(any(feature = "all", feature = "android-net-Uri"))]
#[deprecated] 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/Contacts$People\0", "CONTENT_URI\0", "Landroid/net/Uri;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// public static final [DEFAULT_SORT_ORDER](https://developer.android.com/reference/android/provider/Contacts.People.html#DEFAULT_SORT_ORDER)
#[deprecated] pub const DEFAULT_SORT_ORDER : &'static str = "name ASC";
/// **get** public static final [DELETED_CONTENT_URI](https://developer.android.com/reference/android/provider/Contacts.People.html#DELETED_CONTENT_URI)
///
/// Required feature: "android-net-Uri"
#[cfg(any(feature = "all", feature = "android-net-Uri"))]
#[deprecated] pub fn DELETED_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/Contacts$People\0", "DELETED_CONTENT_URI\0", "Landroid/net/Uri;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// public static final [PRIMARY_EMAIL_ID](https://developer.android.com/reference/android/provider/Contacts.People.html#PRIMARY_EMAIL_ID)
#[deprecated] pub const PRIMARY_EMAIL_ID : &'static str = "primary_email";
/// public static final [PRIMARY_ORGANIZATION_ID](https://developer.android.com/reference/android/provider/Contacts.People.html#PRIMARY_ORGANIZATION_ID)
#[deprecated] pub const PRIMARY_ORGANIZATION_ID : &'static str = "primary_organization";
/// public static final [PRIMARY_PHONE_ID](https://developer.android.com/reference/android/provider/Contacts.People.html#PRIMARY_PHONE_ID)
#[deprecated] pub const PRIMARY_PHONE_ID : &'static str = "primary_phone";
}
}