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-opengl-GLDebugHelper"))]
__jni_bindgen! {
    /// public class [GLDebugHelper](https://developer.android.com/reference/android/opengl/GLDebugHelper.html)
    ///
    /// Required feature: "android-opengl-GLDebugHelper"
    public class GLDebugHelper ("android/opengl/GLDebugHelper") extends crate::java::lang::Object {

        /// [GLDebugHelper](https://developer.android.com/reference/android/opengl/GLDebugHelper.html#GLDebugHelper())
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::opengl::GLDebugHelper>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/opengl/GLDebugHelper", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/opengl/GLDebugHelper\0", "<init>\0", "()V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [wrap](https://developer.android.com/reference/android/opengl/GLDebugHelper.html#wrap(javax.microedition.khronos.opengles.GL,%20int,%20java.io.Writer))
        ///
        /// Required features: "java-io-Writer", "javax-microedition-khronos-opengles-GL"
        #[cfg(any(feature = "all", all(feature = "java-io-Writer", feature = "javax-microedition-khronos-opengles-GL")))]
        pub fn wrap_GL_int_Writer<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::javax::microedition::khronos::opengles::GL>>, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::io::Writer>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::javax::microedition::khronos::opengles::GL>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/opengl/GLDebugHelper", java.flags == PUBLIC | STATIC, .name == "wrap", .descriptor == "(Ljavax/microedition/khronos/opengles/GL;ILjava/io/Writer;)Ljavax/microedition/khronos/opengles/GL;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/opengl/GLDebugHelper\0", "wrap\0", "(Ljavax/microedition/khronos/opengles/GL;ILjava/io/Writer;)Ljavax/microedition/khronos/opengles/GL;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [wrap](https://developer.android.com/reference/android/opengl/GLDebugHelper.html#wrap(javax.microedition.khronos.egl.EGL,%20int,%20java.io.Writer))
        ///
        /// Required features: "java-io-Writer", "javax-microedition-khronos-egl-EGL"
        #[cfg(any(feature = "all", all(feature = "java-io-Writer", feature = "javax-microedition-khronos-egl-EGL")))]
        pub fn wrap_EGL_int_Writer<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::javax::microedition::khronos::egl::EGL>>, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::io::Writer>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::javax::microedition::khronos::egl::EGL>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/opengl/GLDebugHelper", java.flags == PUBLIC | STATIC, .name == "wrap", .descriptor == "(Ljavax/microedition/khronos/egl/EGL;ILjava/io/Writer;)Ljavax/microedition/khronos/egl/EGL;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/opengl/GLDebugHelper\0", "wrap\0", "(Ljavax/microedition/khronos/egl/EGL;ILjava/io/Writer;)Ljavax/microedition/khronos/egl/EGL;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [CONFIG_CHECK_GL_ERROR](https://developer.android.com/reference/android/opengl/GLDebugHelper.html#CONFIG_CHECK_GL_ERROR)
        pub const CONFIG_CHECK_GL_ERROR : i32 = 1;

        /// public static final [CONFIG_CHECK_THREAD](https://developer.android.com/reference/android/opengl/GLDebugHelper.html#CONFIG_CHECK_THREAD)
        pub const CONFIG_CHECK_THREAD : i32 = 2;

        /// public static final [CONFIG_LOG_ARGUMENT_NAMES](https://developer.android.com/reference/android/opengl/GLDebugHelper.html#CONFIG_LOG_ARGUMENT_NAMES)
        pub const CONFIG_LOG_ARGUMENT_NAMES : i32 = 4;

        /// public static final [ERROR_WRONG_THREAD](https://developer.android.com/reference/android/opengl/GLDebugHelper.html#ERROR_WRONG_THREAD)
        pub const ERROR_WRONG_THREAD : i32 = 28672;
    }
}