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

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

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

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

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

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

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

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

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

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