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_Organizations"))]
__jni_bindgen! {
    /// public final class [Contacts.Organizations](https://developer.android.com/reference/android/provider/Contacts.Organizations.html)
    ///
    /// Required feature: "android-provider-Contacts_Organizations"
    #[deprecated] public final class Contacts_Organizations ("android/provider/Contacts$Organizations") extends crate::java::lang::Object, implements crate::android::provider::BaseColumns, crate::android::provider::Contacts_OrganizationColumns {

        /// [getDisplayLabel](https://developer.android.com/reference/android/provider/Contacts.Organizations.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<'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$Organizations", 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$Organizations\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())
            }
        }

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

        /// **get** public static final [CONTENT_URI](https://developer.android.com/reference/android/provider/Contacts.Organizations.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$Organizations\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.Organizations.html#DEFAULT_SORT_ORDER)
        #[deprecated] pub const DEFAULT_SORT_ORDER : &'static str = "company, title, isprimary ASC";
    }
}