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 = "java-sql-RowIdLifetime"))]
__jni_bindgen! {
    /// public enum [RowIdLifetime](https://developer.android.com/reference/java/sql/RowIdLifetime.html)
    ///
    /// Required feature: "java-sql-RowIdLifetime"
    public enum RowIdLifetime ("java/sql/RowIdLifetime") extends crate::java::lang::Enum {

        /// [values](https://developer.android.com/reference/java/sql/RowIdLifetime.html#values())
        ///
        /// Required features: "java-sql-RowIdLifetime"
        #[cfg(any(feature = "all", all(feature = "java-sql-RowIdLifetime")))]
        pub fn values<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::java::sql::RowIdLifetime, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/sql/RowIdLifetime", java.flags == PUBLIC | STATIC, .name == "values", .descriptor == "()[Ljava/sql/RowIdLifetime;"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/sql/RowIdLifetime\0", "values\0", "()[Ljava/sql/RowIdLifetime;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [valueOf](https://developer.android.com/reference/java/sql/RowIdLifetime.html#valueOf(java.lang.String))
        ///
        /// Required features: "java-lang-String", "java-sql-RowIdLifetime"
        #[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-sql-RowIdLifetime")))]
        pub fn valueOf<'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::java::sql::RowIdLifetime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/sql/RowIdLifetime", java.flags == PUBLIC | STATIC, .name == "valueOf", .descriptor == "(Ljava/lang/String;)Ljava/sql/RowIdLifetime;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/sql/RowIdLifetime\0", "valueOf\0", "(Ljava/lang/String;)Ljava/sql/RowIdLifetime;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// **get** public static final [ROWID_UNSUPPORTED](https://developer.android.com/reference/java/sql/RowIdLifetime.html#ROWID_UNSUPPORTED)
        ///
        /// Required feature: "java-sql-RowIdLifetime"
        #[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
        pub fn ROWID_UNSUPPORTED<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_UNSUPPORTED\0", "Ljava/sql/RowIdLifetime;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [ROWID_VALID_FOREVER](https://developer.android.com/reference/java/sql/RowIdLifetime.html#ROWID_VALID_FOREVER)
        ///
        /// Required feature: "java-sql-RowIdLifetime"
        #[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
        pub fn ROWID_VALID_FOREVER<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_VALID_FOREVER\0", "Ljava/sql/RowIdLifetime;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [ROWID_VALID_OTHER](https://developer.android.com/reference/java/sql/RowIdLifetime.html#ROWID_VALID_OTHER)
        ///
        /// Required feature: "java-sql-RowIdLifetime"
        #[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
        pub fn ROWID_VALID_OTHER<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_VALID_OTHER\0", "Ljava/sql/RowIdLifetime;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [ROWID_VALID_SESSION](https://developer.android.com/reference/java/sql/RowIdLifetime.html#ROWID_VALID_SESSION)
        ///
        /// Required feature: "java-sql-RowIdLifetime"
        #[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
        pub fn ROWID_VALID_SESSION<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_VALID_SESSION\0", "Ljava/sql/RowIdLifetime;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [ROWID_VALID_TRANSACTION](https://developer.android.com/reference/java/sql/RowIdLifetime.html#ROWID_VALID_TRANSACTION)
        ///
        /// Required feature: "java-sql-RowIdLifetime"
        #[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
        pub fn ROWID_VALID_TRANSACTION<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_VALID_TRANSACTION\0", "Ljava/sql/RowIdLifetime;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }
    }
}