// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
__jni_bindgen! {
/// public final class [ULocale](https://developer.android.com/reference/android/icu/util/ULocale.html)
///
/// Required feature: "android-icu-util-ULocale"
public final class ULocale ("android/icu/util/ULocale") extends crate::java::lang::Object, implements crate::java::io::Serializable, crate::java::lang::Comparable {
/// [ULocale](https://developer.android.com/reference/android/icu/util/ULocale.html#ULocale(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn new_String<'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::Local<'env, crate::android::icu::util::ULocale>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/lang/String;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "<init>\0", "(Ljava/lang/String;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ULocale](https://developer.android.com/reference/android/icu/util/ULocale.html#ULocale(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn new_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "<init>\0", "(Ljava/lang/String;Ljava/lang/String;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ULocale](https://developer.android.com/reference/android/icu/util/ULocale.html#ULocale(java.lang.String,%20java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn new_String_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "<init>\0", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [forLocale](https://developer.android.com/reference/android/icu/util/ULocale.html#forLocale(java.util.Locale))
///
/// Required features: "android-icu-util-ULocale", "java-util-Locale"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-util-Locale")))]
pub fn forLocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Locale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "forLocale", .descriptor == "(Ljava/util/Locale;)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "forLocale\0", "(Ljava/util/Locale;)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [createCanonical](https://developer.android.com/reference/android/icu/util/ULocale.html#createCanonical(java.lang.String))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn createCanonical<'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::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "createCanonical", .descriptor == "(Ljava/lang/String;)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "createCanonical\0", "(Ljava/lang/String;)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [toLocale](https://developer.android.com/reference/android/icu/util/ULocale.html#toLocale())
///
/// Required features: "java-util-Locale"
#[cfg(any(feature = "all", all(feature = "java-util-Locale")))]
pub fn toLocale<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Locale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "toLocale", .descriptor == "()Ljava/util/Locale;"
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/icu/util/ULocale\0", "toLocale\0", "()Ljava/util/Locale;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDefault](https://developer.android.com/reference/android/icu/util/ULocale.html#getDefault())
///
/// Required features: "android-icu-util-ULocale"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale")))]
pub fn getDefault<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDefault", .descriptor == "()Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDefault\0", "()Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDefault](https://developer.android.com/reference/android/icu/util/ULocale.html#getDefault(android.icu.util.ULocale.Category))
///
/// Required features: "android-icu-util-ULocale", "android-icu-util-ULocale_Category"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "android-icu-util-ULocale_Category")))]
pub fn getDefault_Category<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale_Category>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDefault", .descriptor == "(Landroid/icu/util/ULocale$Category;)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDefault\0", "(Landroid/icu/util/ULocale$Category;)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [clone](https://developer.android.com/reference/android/icu/util/ULocale.html#clone())
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn clone<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "clone", .descriptor == "()Ljava/lang/Object;"
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/icu/util/ULocale\0", "clone\0", "()Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [hashCode](https://developer.android.com/reference/android/icu/util/ULocale.html#hashCode())
pub fn hashCode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "hashCode", .descriptor == "()I"
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/icu/util/ULocale\0", "hashCode\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [equals](https://developer.android.com/reference/android/icu/util/ULocale.html#equals(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn equals<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "equals", .descriptor == "(Ljava/lang/Object;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "equals\0", "(Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [compareTo](https://developer.android.com/reference/android/icu/util/ULocale.html#compareTo(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale")))]
pub fn compareTo_ULocale<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "compareTo", .descriptor == "(Landroid/icu/util/ULocale;)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "compareTo\0", "(Landroid/icu/util/ULocale;)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getAvailableLocales](https://developer.android.com/reference/android/icu/util/ULocale.html#getAvailableLocales())
///
/// Required features: "android-icu-util-ULocale"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale")))]
pub fn getAvailableLocales<'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::util::ULocale, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getAvailableLocales", .descriptor == "()[Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getAvailableLocales\0", "()[Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getISOCountries](https://developer.android.com/reference/android/icu/util/ULocale.html#getISOCountries())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getISOCountries<'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::java::lang::String, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getISOCountries", .descriptor == "()[Ljava/lang/String;"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getISOCountries\0", "()[Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getISOLanguages](https://developer.android.com/reference/android/icu/util/ULocale.html#getISOLanguages())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getISOLanguages<'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::java::lang::String, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getISOLanguages", .descriptor == "()[Ljava/lang/String;"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getISOLanguages\0", "()[Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#getLanguage())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getLanguage<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getLanguage", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getLanguage\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#getLanguage(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getLanguage_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getLanguage", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getLanguage\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getScript](https://developer.android.com/reference/android/icu/util/ULocale.html#getScript())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getScript<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getScript", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getScript\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getScript](https://developer.android.com/reference/android/icu/util/ULocale.html#getScript(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getScript_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getScript", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getScript\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getCountry](https://developer.android.com/reference/android/icu/util/ULocale.html#getCountry())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getCountry<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getCountry", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getCountry\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getCountry](https://developer.android.com/reference/android/icu/util/ULocale.html#getCountry(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getCountry_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getCountry", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getCountry\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getVariant](https://developer.android.com/reference/android/icu/util/ULocale.html#getVariant())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getVariant<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getVariant", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getVariant\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getVariant](https://developer.android.com/reference/android/icu/util/ULocale.html#getVariant(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getVariant_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getVariant", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getVariant\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getFallback](https://developer.android.com/reference/android/icu/util/ULocale.html#getFallback(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getFallback_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getFallback", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getFallback\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getFallback](https://developer.android.com/reference/android/icu/util/ULocale.html#getFallback())
///
/// Required features: "android-icu-util-ULocale"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale")))]
pub fn getFallback<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getFallback", .descriptor == "()Landroid/icu/util/ULocale;"
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/icu/util/ULocale\0", "getFallback\0", "()Landroid/icu/util/ULocale;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getBaseName](https://developer.android.com/reference/android/icu/util/ULocale.html#getBaseName())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getBaseName<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getBaseName", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getBaseName\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getBaseName](https://developer.android.com/reference/android/icu/util/ULocale.html#getBaseName(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getBaseName_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getBaseName", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getBaseName\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getName](https://developer.android.com/reference/android/icu/util/ULocale.html#getName())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getName<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getName", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getName\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getName](https://developer.android.com/reference/android/icu/util/ULocale.html#getName(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getName_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getName", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getName\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [toString](https://developer.android.com/reference/android/icu/util/ULocale.html#toString())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toString<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "toString", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "toString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getKeywords](https://developer.android.com/reference/android/icu/util/ULocale.html#getKeywords())
///
/// Required features: "java-util-Iterator"
#[cfg(any(feature = "all", all(feature = "java-util-Iterator")))]
pub fn getKeywords<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Iterator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getKeywords", .descriptor == "()Ljava/util/Iterator;"
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/icu/util/ULocale\0", "getKeywords\0", "()Ljava/util/Iterator;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getKeywords](https://developer.android.com/reference/android/icu/util/ULocale.html#getKeywords(java.lang.String))
///
/// Required features: "java-lang-String", "java-util-Iterator"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-Iterator")))]
pub fn getKeywords_String<'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::java::util::Iterator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getKeywords", .descriptor == "(Ljava/lang/String;)Ljava/util/Iterator;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getKeywords\0", "(Ljava/lang/String;)Ljava/util/Iterator;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getKeywordValue](https://developer.android.com/reference/android/icu/util/ULocale.html#getKeywordValue(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getKeywordValue_String<'env>(&'env self, 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getKeywordValue", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getKeywordValue\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getKeywordValue](https://developer.android.com/reference/android/icu/util/ULocale.html#getKeywordValue(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getKeywordValue_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getKeywordValue", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getKeywordValue\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [canonicalize](https://developer.android.com/reference/android/icu/util/ULocale.html#canonicalize(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn canonicalize<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "canonicalize", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "canonicalize\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [setKeywordValue](https://developer.android.com/reference/android/icu/util/ULocale.html#setKeywordValue(java.lang.String,%20java.lang.String))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn setKeywordValue_String_String<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "setKeywordValue", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "setKeywordValue\0", "(Ljava/lang/String;Ljava/lang/String;)Landroid/icu/util/ULocale;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setKeywordValue](https://developer.android.com/reference/android/icu/util/ULocale.html#setKeywordValue(java.lang.String,%20java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn setKeywordValue_String_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "setKeywordValue", .descriptor == "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "setKeywordValue\0", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getISO3Language](https://developer.android.com/reference/android/icu/util/ULocale.html#getISO3Language())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getISO3Language<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getISO3Language", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getISO3Language\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getISO3Language](https://developer.android.com/reference/android/icu/util/ULocale.html#getISO3Language(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getISO3Language_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getISO3Language", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getISO3Language\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getISO3Country](https://developer.android.com/reference/android/icu/util/ULocale.html#getISO3Country())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getISO3Country<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getISO3Country", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getISO3Country\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getISO3Country](https://developer.android.com/reference/android/icu/util/ULocale.html#getISO3Country(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getISO3Country_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getISO3Country", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getISO3Country\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [isRightToLeft](https://developer.android.com/reference/android/icu/util/ULocale.html#isRightToLeft())
pub fn isRightToLeft<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "isRightToLeft", .descriptor == "()Z"
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/icu/util/ULocale\0", "isRightToLeft\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayLanguage())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayLanguage<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayLanguage", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getDisplayLanguage\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayLanguage(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayLanguage_ULocale<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayLanguage", .descriptor == "(Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getDisplayLanguage\0", "(Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayLanguage(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayLanguage_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayLanguage", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayLanguage\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayLanguage(java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayLanguage_String_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayLanguage", .descriptor == "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayLanguage\0", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayLanguageWithDialect](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayLanguageWithDialect())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayLanguageWithDialect<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayLanguageWithDialect", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getDisplayLanguageWithDialect\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayLanguageWithDialect](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayLanguageWithDialect(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayLanguageWithDialect_ULocale<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayLanguageWithDialect", .descriptor == "(Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getDisplayLanguageWithDialect\0", "(Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayLanguageWithDialect](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayLanguageWithDialect(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayLanguageWithDialect_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayLanguageWithDialect", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayLanguageWithDialect\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayLanguageWithDialect](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayLanguageWithDialect(java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayLanguageWithDialect_String_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayLanguageWithDialect", .descriptor == "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayLanguageWithDialect\0", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayScript](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayScript())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayScript<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayScript", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getDisplayScript\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayScript](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayScript(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayScript_ULocale<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayScript", .descriptor == "(Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getDisplayScript\0", "(Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayScript](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayScript(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayScript_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayScript", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayScript\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayScript](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayScript(java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayScript_String_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayScript", .descriptor == "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayScript\0", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayCountry](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayCountry())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayCountry<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayCountry", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getDisplayCountry\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayCountry](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayCountry(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayCountry_ULocale<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayCountry", .descriptor == "(Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getDisplayCountry\0", "(Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayCountry](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayCountry(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayCountry_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayCountry", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayCountry\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayCountry](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayCountry(java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayCountry_String_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayCountry", .descriptor == "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayCountry\0", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayVariant](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayVariant())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayVariant<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayVariant", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getDisplayVariant\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayVariant](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayVariant(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayVariant_ULocale<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayVariant", .descriptor == "(Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getDisplayVariant\0", "(Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayVariant](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayVariant(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayVariant_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayVariant", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayVariant\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayVariant](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayVariant(java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayVariant_String_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayVariant", .descriptor == "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayVariant\0", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayKeyword](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayKeyword(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayKeyword_String<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayKeyword", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayKeyword\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayKeyword](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayKeyword(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayKeyword_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayKeyword", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayKeyword\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayKeyword](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayKeyword(java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayKeyword_String_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayKeyword", .descriptor == "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayKeyword\0", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayKeywordValue](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayKeywordValue(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayKeywordValue_String<'env>(&'env self, 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayKeywordValue", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getDisplayKeywordValue\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayKeywordValue](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayKeywordValue(java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayKeywordValue_String_ULocale<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayKeywordValue", .descriptor == "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getDisplayKeywordValue\0", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayKeywordValue](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayKeywordValue(java.lang.String,%20java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayKeywordValue_String_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayKeywordValue", .descriptor == "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayKeywordValue\0", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayKeywordValue](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayKeywordValue(java.lang.String,%20java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayKeywordValue_String_String_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayKeywordValue", .descriptor == "(Ljava/lang/String;Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayKeywordValue\0", "(Ljava/lang/String;Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayName](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayName())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayName<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayName", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getDisplayName\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayName](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayName(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayName_ULocale<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayName", .descriptor == "(Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getDisplayName\0", "(Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayName](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayName(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayName_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayName", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayName\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayName](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayName(java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayName_String_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayName", .descriptor == "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayName\0", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayNameWithDialect](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayNameWithDialect())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayNameWithDialect<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayNameWithDialect", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getDisplayNameWithDialect\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayNameWithDialect](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayNameWithDialect(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayNameWithDialect_ULocale<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getDisplayNameWithDialect", .descriptor == "(Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getDisplayNameWithDialect\0", "(Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayNameWithDialect](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayNameWithDialect(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDisplayNameWithDialect_String_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayNameWithDialect", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayNameWithDialect\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getDisplayNameWithDialect](https://developer.android.com/reference/android/icu/util/ULocale.html#getDisplayNameWithDialect(java.lang.String,%20android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn getDisplayNameWithDialect_String_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "getDisplayNameWithDialect", .descriptor == "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "getDisplayNameWithDialect\0", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getCharacterOrientation](https://developer.android.com/reference/android/icu/util/ULocale.html#getCharacterOrientation())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getCharacterOrientation<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getCharacterOrientation", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getCharacterOrientation\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getLineOrientation](https://developer.android.com/reference/android/icu/util/ULocale.html#getLineOrientation())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getLineOrientation<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getLineOrientation", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "getLineOrientation\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [acceptLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#acceptLanguage(java.lang.String,%20android.icu.util.ULocale%5B%5D,%20bool%5B%5D))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn acceptLanguage_String_ULocale_array_boolean_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::android::icu::util::ULocale, crate::java::lang::Throwable>>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::BooleanArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "acceptLanguage", .descriptor == "(Ljava/lang/String;[Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "acceptLanguage\0", "(Ljava/lang/String;[Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [acceptLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#acceptLanguage(android.icu.util.ULocale%5B%5D,%20android.icu.util.ULocale%5B%5D,%20bool%5B%5D))
///
/// Required features: "android-icu-util-ULocale"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale")))]
pub fn acceptLanguage_ULocale_array_ULocale_array_boolean_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::android::icu::util::ULocale, crate::java::lang::Throwable>>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::android::icu::util::ULocale, crate::java::lang::Throwable>>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::BooleanArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "acceptLanguage", .descriptor == "([Landroid/icu/util/ULocale;[Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "acceptLanguage\0", "([Landroid/icu/util/ULocale;[Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [acceptLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#acceptLanguage(java.lang.String,%20bool%5B%5D))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn acceptLanguage_String_boolean_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::BooleanArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "acceptLanguage", .descriptor == "(Ljava/lang/String;[Z)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "acceptLanguage\0", "(Ljava/lang/String;[Z)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [acceptLanguage](https://developer.android.com/reference/android/icu/util/ULocale.html#acceptLanguage(android.icu.util.ULocale%5B%5D,%20bool%5B%5D))
///
/// Required features: "android-icu-util-ULocale"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale")))]
pub fn acceptLanguage_ULocale_array_boolean_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::android::icu::util::ULocale, crate::java::lang::Throwable>>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::BooleanArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "acceptLanguage", .descriptor == "([Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "acceptLanguage\0", "([Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [addLikelySubtags](https://developer.android.com/reference/android/icu/util/ULocale.html#addLikelySubtags(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale")))]
pub fn addLikelySubtags<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "addLikelySubtags", .descriptor == "(Landroid/icu/util/ULocale;)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "addLikelySubtags\0", "(Landroid/icu/util/ULocale;)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [minimizeSubtags](https://developer.android.com/reference/android/icu/util/ULocale.html#minimizeSubtags(android.icu.util.ULocale))
///
/// Required features: "android-icu-util-ULocale"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale")))]
pub fn minimizeSubtags<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "minimizeSubtags", .descriptor == "(Landroid/icu/util/ULocale;)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "minimizeSubtags\0", "(Landroid/icu/util/ULocale;)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getExtension](https://developer.android.com/reference/android/icu/util/ULocale.html#getExtension(char))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getExtension<'env>(&'env self, arg0: __jni_bindgen::jchar) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getExtension", .descriptor == "(C)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getExtension\0", "(C)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getExtensionKeys](https://developer.android.com/reference/android/icu/util/ULocale.html#getExtensionKeys())
///
/// Required features: "java-util-Set"
#[cfg(any(feature = "all", all(feature = "java-util-Set")))]
pub fn getExtensionKeys<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Set>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getExtensionKeys", .descriptor == "()Ljava/util/Set;"
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/icu/util/ULocale\0", "getExtensionKeys\0", "()Ljava/util/Set;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getUnicodeLocaleAttributes](https://developer.android.com/reference/android/icu/util/ULocale.html#getUnicodeLocaleAttributes())
///
/// Required features: "java-util-Set"
#[cfg(any(feature = "all", all(feature = "java-util-Set")))]
pub fn getUnicodeLocaleAttributes<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Set>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getUnicodeLocaleAttributes", .descriptor == "()Ljava/util/Set;"
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/icu/util/ULocale\0", "getUnicodeLocaleAttributes\0", "()Ljava/util/Set;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getUnicodeLocaleType](https://developer.android.com/reference/android/icu/util/ULocale.html#getUnicodeLocaleType(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getUnicodeLocaleType<'env>(&'env self, 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getUnicodeLocaleType", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/ULocale\0", "getUnicodeLocaleType\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getUnicodeLocaleKeys](https://developer.android.com/reference/android/icu/util/ULocale.html#getUnicodeLocaleKeys())
///
/// Required features: "java-util-Set"
#[cfg(any(feature = "all", all(feature = "java-util-Set")))]
pub fn getUnicodeLocaleKeys<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Set>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "getUnicodeLocaleKeys", .descriptor == "()Ljava/util/Set;"
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/icu/util/ULocale\0", "getUnicodeLocaleKeys\0", "()Ljava/util/Set;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toLanguageTag](https://developer.android.com/reference/android/icu/util/ULocale.html#toLanguageTag())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toLanguageTag<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC, .name == "toLanguageTag", .descriptor == "()Ljava/lang/String;"
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/icu/util/ULocale\0", "toLanguageTag\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [forLanguageTag](https://developer.android.com/reference/android/icu/util/ULocale.html#forLanguageTag(java.lang.String))
///
/// Required features: "android-icu-util-ULocale", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale", feature = "java-lang-String")))]
pub fn forLanguageTag<'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::util::ULocale>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "forLanguageTag", .descriptor == "(Ljava/lang/String;)Landroid/icu/util/ULocale;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "forLanguageTag\0", "(Ljava/lang/String;)Landroid/icu/util/ULocale;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [toUnicodeLocaleKey](https://developer.android.com/reference/android/icu/util/ULocale.html#toUnicodeLocaleKey(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toUnicodeLocaleKey<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "toUnicodeLocaleKey", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "toUnicodeLocaleKey\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [toUnicodeLocaleType](https://developer.android.com/reference/android/icu/util/ULocale.html#toUnicodeLocaleType(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toUnicodeLocaleType<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "toUnicodeLocaleType", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "toUnicodeLocaleType\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [toLegacyKey](https://developer.android.com/reference/android/icu/util/ULocale.html#toLegacyKey(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toLegacyKey<'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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "toLegacyKey", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "toLegacyKey\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [toLegacyType](https://developer.android.com/reference/android/icu/util/ULocale.html#toLegacyType(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toLegacyType<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/icu/util/ULocale", java.flags == PUBLIC | STATIC, .name == "toLegacyType", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/icu/util/ULocale\0", "toLegacyType\0", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// **get** public static final [CANADA](https://developer.android.com/reference/android/icu/util/ULocale.html#CANADA)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn CANADA<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "CANADA\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [CANADA_FRENCH](https://developer.android.com/reference/android/icu/util/ULocale.html#CANADA_FRENCH)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn CANADA_FRENCH<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "CANADA_FRENCH\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [CHINA](https://developer.android.com/reference/android/icu/util/ULocale.html#CHINA)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn CHINA<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "CHINA\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [CHINESE](https://developer.android.com/reference/android/icu/util/ULocale.html#CHINESE)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn CHINESE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "CHINESE\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [ENGLISH](https://developer.android.com/reference/android/icu/util/ULocale.html#ENGLISH)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn ENGLISH<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "ENGLISH\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [FRANCE](https://developer.android.com/reference/android/icu/util/ULocale.html#FRANCE)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn FRANCE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "FRANCE\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [FRENCH](https://developer.android.com/reference/android/icu/util/ULocale.html#FRENCH)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn FRENCH<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "FRENCH\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [GERMAN](https://developer.android.com/reference/android/icu/util/ULocale.html#GERMAN)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn GERMAN<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "GERMAN\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [GERMANY](https://developer.android.com/reference/android/icu/util/ULocale.html#GERMANY)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn GERMANY<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "GERMANY\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [ITALIAN](https://developer.android.com/reference/android/icu/util/ULocale.html#ITALIAN)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn ITALIAN<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "ITALIAN\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [ITALY](https://developer.android.com/reference/android/icu/util/ULocale.html#ITALY)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn ITALY<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "ITALY\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [JAPAN](https://developer.android.com/reference/android/icu/util/ULocale.html#JAPAN)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn JAPAN<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "JAPAN\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [JAPANESE](https://developer.android.com/reference/android/icu/util/ULocale.html#JAPANESE)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn JAPANESE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "JAPANESE\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [KOREA](https://developer.android.com/reference/android/icu/util/ULocale.html#KOREA)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn KOREA<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "KOREA\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [KOREAN](https://developer.android.com/reference/android/icu/util/ULocale.html#KOREAN)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn KOREAN<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "KOREAN\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [PRC](https://developer.android.com/reference/android/icu/util/ULocale.html#PRC)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn PRC<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "PRC\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// public static final [PRIVATE_USE_EXTENSION](https://developer.android.com/reference/android/icu/util/ULocale.html#PRIVATE_USE_EXTENSION)
pub const PRIVATE_USE_EXTENSION : __jni_bindgen::jchar = __jni_bindgen::jchar(120);
/// **get** public static final [ROOT](https://developer.android.com/reference/android/icu/util/ULocale.html#ROOT)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn ROOT<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "ROOT\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [SIMPLIFIED_CHINESE](https://developer.android.com/reference/android/icu/util/ULocale.html#SIMPLIFIED_CHINESE)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn SIMPLIFIED_CHINESE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "SIMPLIFIED_CHINESE\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [TAIWAN](https://developer.android.com/reference/android/icu/util/ULocale.html#TAIWAN)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn TAIWAN<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "TAIWAN\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [TRADITIONAL_CHINESE](https://developer.android.com/reference/android/icu/util/ULocale.html#TRADITIONAL_CHINESE)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn TRADITIONAL_CHINESE<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "TRADITIONAL_CHINESE\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [UK](https://developer.android.com/reference/android/icu/util/ULocale.html#UK)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn UK<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "UK\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// public static final [UNICODE_LOCALE_EXTENSION](https://developer.android.com/reference/android/icu/util/ULocale.html#UNICODE_LOCALE_EXTENSION)
pub const UNICODE_LOCALE_EXTENSION : __jni_bindgen::jchar = __jni_bindgen::jchar(117);
/// **get** public static final [US](https://developer.android.com/reference/android/icu/util/ULocale.html#US)
///
/// Required feature: "android-icu-util-ULocale"
#[cfg(any(feature = "all", feature = "android-icu-util-ULocale"))]
pub fn US<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::icu::util::ULocale>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/icu/util/ULocale\0", "US\0", "Landroid/icu/util/ULocale;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}