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"))]
__jni_bindgen! {
    /// public class [Sampler](https://developer.android.com/reference/android/renderscript/Sampler.html)
    ///
    /// Required feature: "android-renderscript-Sampler"
    public class Sampler ("android/renderscript/Sampler") extends crate::android::renderscript::BaseObj {

        /// [CLAMP_NEAREST](https://developer.android.com/reference/android/renderscript/Sampler.html#CLAMP_NEAREST(android.renderscript.RenderScript))
        ///
        /// Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-RenderScript", feature = "android-renderscript-Sampler")))]
        pub fn CLAMP_NEAREST<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Sampler>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/Sampler", java.flags == PUBLIC | STATIC, .name == "CLAMP_NEAREST", .descriptor == "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;"
            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\0", "CLAMP_NEAREST\0", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [CLAMP_LINEAR](https://developer.android.com/reference/android/renderscript/Sampler.html#CLAMP_LINEAR(android.renderscript.RenderScript))
        ///
        /// Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-RenderScript", feature = "android-renderscript-Sampler")))]
        pub fn CLAMP_LINEAR<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Sampler>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/Sampler", java.flags == PUBLIC | STATIC, .name == "CLAMP_LINEAR", .descriptor == "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;"
            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\0", "CLAMP_LINEAR\0", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [CLAMP_LINEAR_MIP_LINEAR](https://developer.android.com/reference/android/renderscript/Sampler.html#CLAMP_LINEAR_MIP_LINEAR(android.renderscript.RenderScript))
        ///
        /// Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-RenderScript", feature = "android-renderscript-Sampler")))]
        pub fn CLAMP_LINEAR_MIP_LINEAR<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Sampler>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/Sampler", java.flags == PUBLIC | STATIC, .name == "CLAMP_LINEAR_MIP_LINEAR", .descriptor == "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;"
            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\0", "CLAMP_LINEAR_MIP_LINEAR\0", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [WRAP_NEAREST](https://developer.android.com/reference/android/renderscript/Sampler.html#WRAP_NEAREST(android.renderscript.RenderScript))
        ///
        /// Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-RenderScript", feature = "android-renderscript-Sampler")))]
        pub fn WRAP_NEAREST<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Sampler>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/Sampler", java.flags == PUBLIC | STATIC, .name == "WRAP_NEAREST", .descriptor == "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;"
            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\0", "WRAP_NEAREST\0", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [WRAP_LINEAR](https://developer.android.com/reference/android/renderscript/Sampler.html#WRAP_LINEAR(android.renderscript.RenderScript))
        ///
        /// Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-RenderScript", feature = "android-renderscript-Sampler")))]
        pub fn WRAP_LINEAR<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Sampler>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/Sampler", java.flags == PUBLIC | STATIC, .name == "WRAP_LINEAR", .descriptor == "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;"
            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\0", "WRAP_LINEAR\0", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [WRAP_LINEAR_MIP_LINEAR](https://developer.android.com/reference/android/renderscript/Sampler.html#WRAP_LINEAR_MIP_LINEAR(android.renderscript.RenderScript))
        ///
        /// Required features: "android-renderscript-RenderScript", "android-renderscript-Sampler"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-RenderScript", feature = "android-renderscript-Sampler")))]
        pub fn WRAP_LINEAR_MIP_LINEAR<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Sampler>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/Sampler", java.flags == PUBLIC | STATIC, .name == "WRAP_LINEAR_MIP_LINEAR", .descriptor == "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;"
            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\0", "WRAP_LINEAR_MIP_LINEAR\0", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}