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

        /// [getContantForFocusDirection](https://developer.android.com/reference/android/view/SoundEffectConstants.html#getContantForFocusDirection(int))
        pub fn getContantForFocusDirection<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/SoundEffectConstants", java.flags == PUBLIC | STATIC, .name == "getContantForFocusDirection", .descriptor == "(I)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/SoundEffectConstants\0", "getContantForFocusDirection\0", "(I)I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [CLICK](https://developer.android.com/reference/android/view/SoundEffectConstants.html#CLICK)
        pub const CLICK : i32 = 0;

        /// public static final [NAVIGATION_DOWN](https://developer.android.com/reference/android/view/SoundEffectConstants.html#NAVIGATION_DOWN)
        pub const NAVIGATION_DOWN : i32 = 4;

        /// public static final [NAVIGATION_LEFT](https://developer.android.com/reference/android/view/SoundEffectConstants.html#NAVIGATION_LEFT)
        pub const NAVIGATION_LEFT : i32 = 1;

        /// public static final [NAVIGATION_RIGHT](https://developer.android.com/reference/android/view/SoundEffectConstants.html#NAVIGATION_RIGHT)
        pub const NAVIGATION_RIGHT : i32 = 3;

        /// public static final [NAVIGATION_UP](https://developer.android.com/reference/android/view/SoundEffectConstants.html#NAVIGATION_UP)
        pub const NAVIGATION_UP : i32 = 2;
    }
}