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

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

        /// public static final [AUTHORITY](https://developer.android.com/reference/android/provider/UserDictionary.html#AUTHORITY)
        pub const AUTHORITY : &'static str = "user_dictionary";

        /// **get** public static final [CONTENT_URI](https://developer.android.com/reference/android/provider/UserDictionary.html#CONTENT_URI)
        ///
        /// Required feature: "android-net-Uri"
        #[cfg(any(feature = "all", feature = "android-net-Uri"))]
        pub fn CONTENT_URI<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/provider/UserDictionary\0", "CONTENT_URI\0", "Landroid/net/Uri;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }
    }
}