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

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

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

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

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

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

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

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

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

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