1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-provider-ContactsContract_RawContacts"))]
__jni_bindgen! {
/// public final class [ContactsContract.RawContacts](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html)
///
/// Required feature: "android-provider-ContactsContract_RawContacts"
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_SyncColumns {
/// [getContactLookupUri](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html#getContactLookupUri(android.content.ContentResolver,%20android.net.Uri))
///
/// Required features: "android-content-ContentResolver", "android-net-Uri"
#[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>> {
// class.path == "android/provider/ContactsContract$RawContacts", java.flags == PUBLIC | STATIC, .name == "getContactLookupUri", .descriptor == "(Landroid/content/ContentResolver;Landroid/net/Uri;)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/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())
}
}
/// **get** public static final [CONTENT_URI](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html#CONTENT_URI)
///
/// Required feature: "android-net-Uri"
#[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)
}
}
/// public static final [CONTENT_TYPE](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html#CONTENT_TYPE)
pub const CONTENT_TYPE : &'static str = "vnd.android.cursor.dir/raw_contact";
/// public static final [CONTENT_ITEM_TYPE](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html#CONTENT_ITEM_TYPE)
pub const CONTENT_ITEM_TYPE : &'static str = "vnd.android.cursor.item/raw_contact";
/// public static final [AGGREGATION_MODE_DEFAULT](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html#AGGREGATION_MODE_DEFAULT)
pub const AGGREGATION_MODE_DEFAULT : i32 = 0;
/// public static final [AGGREGATION_MODE_IMMEDIATE](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html#AGGREGATION_MODE_IMMEDIATE)
pub const AGGREGATION_MODE_IMMEDIATE : i32 = 1;
/// public static final [AGGREGATION_MODE_SUSPENDED](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html#AGGREGATION_MODE_SUSPENDED)
pub const AGGREGATION_MODE_SUSPENDED : i32 = 2;
/// public static final [AGGREGATION_MODE_DISABLED](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html#AGGREGATION_MODE_DISABLED)
pub const AGGREGATION_MODE_DISABLED : i32 = 3;
}
}