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

        /// [buildSourceUri](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#buildSourceUri(java.lang.String))
        ///
        /// Required features: "android-net-Uri", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-net-Uri", feature = "java-lang-String")))]
        pub fn buildSourceUri<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __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/VoicemailContract$Status", java.flags == PUBLIC | STATIC, .name == "buildSourceUri", .descriptor == "(Ljava/lang/String;)Landroid/net/Uri;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/VoicemailContract$Status\0", "buildSourceUri\0", "(Ljava/lang/String;)Landroid/net/Uri;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [CONFIGURATION_STATE](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#CONFIGURATION_STATE)
        pub const CONFIGURATION_STATE : &'static str = "configuration_state";

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

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

        /// public static final [CONFIGURATION_STATE_OK](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#CONFIGURATION_STATE_OK)
        pub const CONFIGURATION_STATE_OK : i32 = 0;

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

        /// public static final [DATA_CHANNEL_STATE](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#DATA_CHANNEL_STATE)
        pub const DATA_CHANNEL_STATE : &'static str = "data_channel_state";

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

        /// public static final [DATA_CHANNEL_STATE_OK](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#DATA_CHANNEL_STATE_OK)
        pub const DATA_CHANNEL_STATE_OK : i32 = 0;

        /// public static final [DIR_TYPE](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#DIR_TYPE)
        pub const DIR_TYPE : &'static str = "vnd.android.cursor.dir/voicemail.source.status";

        /// public static final [ITEM_TYPE](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#ITEM_TYPE)
        pub const ITEM_TYPE : &'static str = "vnd.android.cursor.item/voicemail.source.status";

        /// public static final [NOTIFICATION_CHANNEL_STATE](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#NOTIFICATION_CHANNEL_STATE)
        pub const NOTIFICATION_CHANNEL_STATE : &'static str = "notification_channel_state";

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

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

        /// public static final [NOTIFICATION_CHANNEL_STATE_OK](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#NOTIFICATION_CHANNEL_STATE_OK)
        pub const NOTIFICATION_CHANNEL_STATE_OK : i32 = 0;

        /// public static final [SETTINGS_URI](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#SETTINGS_URI)
        pub const SETTINGS_URI : &'static str = "settings_uri";

        /// public static final [SOURCE_PACKAGE](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#SOURCE_PACKAGE)
        pub const SOURCE_PACKAGE : &'static str = "source_package";

        /// public static final [VOICEMAIL_ACCESS_URI](https://developer.android.com/reference/android/provider/VoicemailContract.Status.html#VOICEMAIL_ACCESS_URI)
        pub const VOICEMAIL_ACCESS_URI : &'static str = "voicemail_access_uri";
    }
}