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

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

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