jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-provider-Contacts"))]
__jni_bindgen! {
    /// public class [Contacts](https://developer.android.com/reference/android/provider/Contacts.html)
    ///
    /// Required feature: "android-provider-Contacts"
    #[deprecated] public class Contacts ("android/provider/Contacts") extends crate::java::lang::Object {

        /// public static final [AUTHORITY](https://developer.android.com/reference/android/provider/Contacts.html#AUTHORITY)
        pub const AUTHORITY : &'static str = "contacts";

        /// **get** public static final [CONTENT_URI](https://developer.android.com/reference/android/provider/Contacts.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/Contacts\0", "CONTENT_URI\0", "Landroid/net/Uri;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// public static final [KIND_EMAIL](https://developer.android.com/reference/android/provider/Contacts.html#KIND_EMAIL)
        pub const KIND_EMAIL : i32 = 1;

        /// public static final [KIND_POSTAL](https://developer.android.com/reference/android/provider/Contacts.html#KIND_POSTAL)
        pub const KIND_POSTAL : i32 = 2;

        /// public static final [KIND_IM](https://developer.android.com/reference/android/provider/Contacts.html#KIND_IM)
        pub const KIND_IM : i32 = 3;

        /// public static final [KIND_ORGANIZATION](https://developer.android.com/reference/android/provider/Contacts.html#KIND_ORGANIZATION)
        pub const KIND_ORGANIZATION : i32 = 4;

        /// public static final [KIND_PHONE](https://developer.android.com/reference/android/provider/Contacts.html#KIND_PHONE)
        pub const KIND_PHONE : i32 = 5;
    }
}