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

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

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