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

        /// [values](https://developer.android.com/reference/android/renderscript/ProgramStore.DepthFunc.html#values())
        ///
        /// Required features: "android-renderscript-ProgramStore_DepthFunc"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-ProgramStore_DepthFunc")))]
        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::android::renderscript::ProgramStore_DepthFunc, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramStore$DepthFunc", java.flags == PUBLIC | STATIC, .name == "values", .descriptor == "()[Landroid/renderscript/ProgramStore$DepthFunc;"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/ProgramStore$DepthFunc\0", "values\0", "()[Landroid/renderscript/ProgramStore$DepthFunc;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

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

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

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

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

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

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

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

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