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

        /// [advance](https://developer.android.com/reference/android/widget/Advanceable.html#advance())
        pub fn advance<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/widget/Advanceable", java.flags == PUBLIC | ABSTRACT, .name == "advance", .descriptor == "()V"
            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/widget/Advanceable\0", "advance\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [fyiWillBeAdvancedByHostKThx](https://developer.android.com/reference/android/widget/Advanceable.html#fyiWillBeAdvancedByHostKThx())
        pub fn fyiWillBeAdvancedByHostKThx<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/widget/Advanceable", java.flags == PUBLIC | ABSTRACT, .name == "fyiWillBeAdvancedByHostKThx", .descriptor == "()V"
            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/widget/Advanceable\0", "fyiWillBeAdvancedByHostKThx\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}