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

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

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

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

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

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

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