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

        /// [bindConstants](https://developer.android.com/reference/android/renderscript/ProgramVertexFixedFunction.html#bindConstants(android.renderscript.ProgramVertexFixedFunction.Constants))
        ///
        /// Required features: "android-renderscript-ProgramVertexFixedFunction_Constants"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-ProgramVertexFixedFunction_Constants")))]
        pub fn bindConstants<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::ProgramVertexFixedFunction_Constants>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/ProgramVertexFixedFunction", java.flags == PUBLIC, .name == "bindConstants", .descriptor == "(Landroid/renderscript/ProgramVertexFixedFunction$Constants;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/ProgramVertexFixedFunction\0", "bindConstants\0", "(Landroid/renderscript/ProgramVertexFixedFunction$Constants;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}