// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-provider-Contacts_Phones"))]
__jni_bindgen! {
/// public final class [Contacts.Phones](https://developer.android.com/reference/android/provider/Contacts.Phones.html)
///
/// Required feature: "android-provider-Contacts_Phones"
#[deprecated] public final class Contacts_Phones ("android/provider/Contacts$Phones") extends crate::java::lang::Object, implements crate::android::provider::BaseColumns, crate::android::provider::Contacts_PhonesColumns, crate::android::provider::Contacts_PeopleColumns {
/// [getDisplayLabel](https://developer.android.com/reference/android/provider/Contacts.Phones.html#getDisplayLabel(android.content.Context,%20int,%20java.lang.CharSequence,%20java.lang.CharSequence%5B%5D))
///
/// Required features: "android-content-Context", "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "java-lang-CharSequence")))]
#[deprecated] pub fn getDisplayLabel_Context_int_CharSequence_CharSequence_array<'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: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::java::lang::CharSequence, crate::java::lang::Throwable>>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/provider/Contacts$Phones", java.flags == PUBLIC | STATIC | FINAL, .name == "getDisplayLabel", .descriptor == "(Landroid/content/Context;ILjava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/CharSequence;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Contacts$Phones\0", "getDisplayLabel\0", "(Landroid/content/Context;ILjava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayLabel](https://developer.android.com/reference/android/provider/Contacts.Phones.html#getDisplayLabel(android.content.Context,%20int,%20java.lang.CharSequence))
///
/// Required features: "android-content-Context", "java-lang-CharSequence"
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "java-lang-CharSequence")))]
#[deprecated] pub fn getDisplayLabel_Context_int_CharSequence<'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: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/provider/Contacts$Phones", java.flags == PUBLIC | STATIC | FINAL, .name == "getDisplayLabel", .descriptor == "(Landroid/content/Context;ILjava/lang/CharSequence;)Ljava/lang/CharSequence;"
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$Phones\0", "getDisplayLabel\0", "(Landroid/content/Context;ILjava/lang/CharSequence;)Ljava/lang/CharSequence;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// **get** public static final [CONTENT_FILTER_URL](https://developer.android.com/reference/android/provider/Contacts.Phones.html#CONTENT_FILTER_URL)
///
/// Required feature: "android-net-Uri"
#[cfg(any(feature = "all", feature = "android-net-Uri"))]
#[deprecated] pub fn CONTENT_FILTER_URL<'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$Phones\0", "CONTENT_FILTER_URL\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.Phones.html#CONTENT_ITEM_TYPE)
#[deprecated] pub const CONTENT_ITEM_TYPE : &'static str = "vnd.android.cursor.item/phone";
/// public static final [CONTENT_TYPE](https://developer.android.com/reference/android/provider/Contacts.Phones.html#CONTENT_TYPE)
#[deprecated] pub const CONTENT_TYPE : &'static str = "vnd.android.cursor.dir/phone";
/// **get** public static final [CONTENT_URI](https://developer.android.com/reference/android/provider/Contacts.Phones.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$Phones\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.Phones.html#DEFAULT_SORT_ORDER)
#[deprecated] pub const DEFAULT_SORT_ORDER : &'static str = "name ASC";
/// public static final [PERSON_ID](https://developer.android.com/reference/android/provider/Contacts.Phones.html#PERSON_ID)
#[deprecated] pub const PERSON_ID : &'static str = "person";
}
}