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

        /// [getIndexEntryCount](https://developer.android.com/reference/android/renderscript/FileA3D.html#getIndexEntryCount())
        pub fn getIndexEntryCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/FileA3D", java.flags == PUBLIC, .name == "getIndexEntryCount", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/FileA3D\0", "getIndexEntryCount\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getIndexEntry](https://developer.android.com/reference/android/renderscript/FileA3D.html#getIndexEntry(int))
        ///
        /// Required features: "android-renderscript-FileA3D_IndexEntry"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-FileA3D_IndexEntry")))]
        pub fn getIndexEntry<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::FileA3D_IndexEntry>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/FileA3D", java.flags == PUBLIC, .name == "getIndexEntry", .descriptor == "(I)Landroid/renderscript/FileA3D$IndexEntry;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/renderscript/FileA3D\0", "getIndexEntry\0", "(I)Landroid/renderscript/FileA3D$IndexEntry;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createFromAsset](https://developer.android.com/reference/android/renderscript/FileA3D.html#createFromAsset(android.renderscript.RenderScript,%20android.content.res.AssetManager,%20java.lang.String))
        ///
        /// Required features: "android-content-res-AssetManager", "android-renderscript-FileA3D", "android-renderscript-RenderScript", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-content-res-AssetManager", feature = "android-renderscript-FileA3D", feature = "android-renderscript-RenderScript", feature = "java-lang-String")))]
        pub fn createFromAsset<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::AssetManager>>, arg2: 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::FileA3D>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/FileA3D", java.flags == PUBLIC | STATIC, .name == "createFromAsset", .descriptor == "(Landroid/renderscript/RenderScript;Landroid/content/res/AssetManager;Ljava/lang/String;)Landroid/renderscript/FileA3D;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/FileA3D\0", "createFromAsset\0", "(Landroid/renderscript/RenderScript;Landroid/content/res/AssetManager;Ljava/lang/String;)Landroid/renderscript/FileA3D;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createFromFile](https://developer.android.com/reference/android/renderscript/FileA3D.html#createFromFile(android.renderscript.RenderScript,%20java.lang.String))
        ///
        /// Required features: "android-renderscript-FileA3D", "android-renderscript-RenderScript", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-FileA3D", feature = "android-renderscript-RenderScript", feature = "java-lang-String")))]
        pub fn createFromFile_RenderScript_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>, arg1: 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::FileA3D>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/FileA3D", java.flags == PUBLIC | STATIC, .name == "createFromFile", .descriptor == "(Landroid/renderscript/RenderScript;Ljava/lang/String;)Landroid/renderscript/FileA3D;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/FileA3D\0", "createFromFile\0", "(Landroid/renderscript/RenderScript;Ljava/lang/String;)Landroid/renderscript/FileA3D;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createFromFile](https://developer.android.com/reference/android/renderscript/FileA3D.html#createFromFile(android.renderscript.RenderScript,%20java.io.File))
        ///
        /// Required features: "android-renderscript-FileA3D", "android-renderscript-RenderScript", "java-io-File"
        #[cfg(any(feature = "all", all(feature = "android-renderscript-FileA3D", feature = "android-renderscript-RenderScript", feature = "java-io-File")))]
        pub fn createFromFile_RenderScript_File<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::io::File>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::FileA3D>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/FileA3D", java.flags == PUBLIC | STATIC, .name == "createFromFile", .descriptor == "(Landroid/renderscript/RenderScript;Ljava/io/File;)Landroid/renderscript/FileA3D;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/FileA3D\0", "createFromFile\0", "(Landroid/renderscript/RenderScript;Ljava/io/File;)Landroid/renderscript/FileA3D;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createFromResource](https://developer.android.com/reference/android/renderscript/FileA3D.html#createFromResource(android.renderscript.RenderScript,%20android.content.res.Resources,%20int))
        ///
        /// Required features: "android-content-res-Resources", "android-renderscript-FileA3D", "android-renderscript-RenderScript"
        #[cfg(any(feature = "all", all(feature = "android-content-res-Resources", feature = "android-renderscript-FileA3D", feature = "android-renderscript-RenderScript")))]
        pub fn createFromResource<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::renderscript::RenderScript>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::Resources>>, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::FileA3D>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/renderscript/FileA3D", java.flags == PUBLIC | STATIC, .name == "createFromResource", .descriptor == "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;I)Landroid/renderscript/FileA3D;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/FileA3D\0", "createFromResource\0", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;I)Landroid/renderscript/FileA3D;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}