#[cfg(any(feature = "all", feature = "android-icu-text-MeasureFormat_FormatWidth"))]
__jni_bindgen! {
public enum MeasureFormat_FormatWidth ("android/icu/text/MeasureFormat$FormatWidth") extends crate::java::lang::Enum {
#[cfg(any(feature = "all", all(feature = "android-icu-text-MeasureFormat_FormatWidth")))]
pub fn values<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::android::icu::text::MeasureFormat_FormatWidth, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/text/MeasureFormat$FormatWidth\0", "values\0", "()[Landroid/icu/text/MeasureFormat$FormatWidth;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-icu-text-MeasureFormat_FormatWidth", feature = "java-lang-String")))]
pub fn valueOf<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::text::MeasureFormat_FormatWidth>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/text/MeasureFormat$FormatWidth\0", "valueOf\0", "(Ljava/lang/String;)Landroid/icu/text/MeasureFormat$FormatWidth;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", feature = "android-icu-text-MeasureFormat_FormatWidth"))]
pub fn WIDE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::text::MeasureFormat_FormatWidth>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/text/MeasureFormat$FormatWidth\0", "WIDE\0", "Landroid/icu/text/MeasureFormat$FormatWidth;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-icu-text-MeasureFormat_FormatWidth"))]
pub fn SHORT<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::text::MeasureFormat_FormatWidth>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/text/MeasureFormat$FormatWidth\0", "SHORT\0", "Landroid/icu/text/MeasureFormat$FormatWidth;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-icu-text-MeasureFormat_FormatWidth"))]
pub fn NARROW<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::text::MeasureFormat_FormatWidth>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/text/MeasureFormat$FormatWidth\0", "NARROW\0", "Landroid/icu/text/MeasureFormat$FormatWidth;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-icu-text-MeasureFormat_FormatWidth"))]
pub fn NUMERIC<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::text::MeasureFormat_FormatWidth>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/text/MeasureFormat$FormatWidth\0", "NUMERIC\0", "Landroid/icu/text/MeasureFormat$FormatWidth;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}