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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!! #[cfg(any(feature = "all", feature = "android-provider-ContactsContract_CommonDataKinds_Organization"))] __jni_bindgen! { /// public final class [ContactsContract.CommonDataKinds.Organization](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html) /// /// Required feature: "android-provider-ContactsContract_CommonDataKinds_Organization" public final class ContactsContract_CommonDataKinds_Organization ("android/provider/ContactsContract$CommonDataKinds$Organization") extends crate::java::lang::Object, implements crate::android::provider::ContactsContract_DataColumnsWithJoins, crate::android::provider::ContactsContract_CommonDataKinds_CommonColumns { /// [getTypeLabelResource](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#getTypeLabelResource(int)) pub fn getTypeLabelResource<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> { // class.path == "android/provider/ContactsContract$CommonDataKinds$Organization", java.flags == PUBLIC | STATIC, .name == "getTypeLabelResource", .descriptor == "(I)I" unsafe { let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)]; let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/ContactsContract$CommonDataKinds$Organization\0", "getTypeLabelResource\0", "(I)I\0"); __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr()) } } /// [getTypeLabel](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#getTypeLabel(android.content.res.Resources,%20int,%20java.lang.CharSequence)) /// /// Required features: "android-content-res-Resources", "java-lang-CharSequence" #[cfg(any(feature = "all", all(feature = "android-content-res-Resources", feature = "java-lang-CharSequence")))] pub fn getTypeLabel<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::Resources>>, 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/ContactsContract$CommonDataKinds$Organization", java.flags == PUBLIC | STATIC, .name == "getTypeLabel", .descriptor == "(Landroid/content/res/Resources;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/ContactsContract$CommonDataKinds$Organization\0", "getTypeLabel\0", "(Landroid/content/res/Resources;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 [COMPANY](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#COMPANY) pub const COMPANY : &'static str = "data1"; /// public static final [CONTENT_ITEM_TYPE](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#CONTENT_ITEM_TYPE) pub const CONTENT_ITEM_TYPE : &'static str = "vnd.android.cursor.item/organization"; /// public static final [DEPARTMENT](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#DEPARTMENT) pub const DEPARTMENT : &'static str = "data5"; /// public static final [EXTRA_ADDRESS_BOOK_INDEX](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#EXTRA_ADDRESS_BOOK_INDEX) pub const EXTRA_ADDRESS_BOOK_INDEX : &'static str = "android.provider.extra.ADDRESS_BOOK_INDEX"; /// public static final [EXTRA_ADDRESS_BOOK_INDEX_COUNTS](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#EXTRA_ADDRESS_BOOK_INDEX_COUNTS) pub const EXTRA_ADDRESS_BOOK_INDEX_COUNTS : &'static str = "android.provider.extra.ADDRESS_BOOK_INDEX_COUNTS"; /// public static final [EXTRA_ADDRESS_BOOK_INDEX_TITLES](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#EXTRA_ADDRESS_BOOK_INDEX_TITLES) pub const EXTRA_ADDRESS_BOOK_INDEX_TITLES : &'static str = "android.provider.extra.ADDRESS_BOOK_INDEX_TITLES"; /// public static final [JOB_DESCRIPTION](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#JOB_DESCRIPTION) pub const JOB_DESCRIPTION : &'static str = "data6"; /// public static final [OFFICE_LOCATION](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#OFFICE_LOCATION) pub const OFFICE_LOCATION : &'static str = "data9"; /// public static final [PHONETIC_NAME](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#PHONETIC_NAME) pub const PHONETIC_NAME : &'static str = "data8"; /// public static final [PHONETIC_NAME_STYLE](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#PHONETIC_NAME_STYLE) pub const PHONETIC_NAME_STYLE : &'static str = "data10"; /// public static final [SYMBOL](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#SYMBOL) pub const SYMBOL : &'static str = "data7"; /// public static final [TITLE](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#TITLE) pub const TITLE : &'static str = "data4"; /// public static final [TYPE_OTHER](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#TYPE_OTHER) pub const TYPE_OTHER : i32 = 2; /// public static final [TYPE_WORK](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization.html#TYPE_WORK) pub const TYPE_WORK : i32 = 1; } }