// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-text-style-TtsSpan_FractionBuilder"))]
__jni_bindgen! {
    /// public class [TtsSpan.FractionBuilder](https://developer.android.com/reference/android/text/style/TtsSpan.FractionBuilder.html)
    ///
    /// Required feature: android-text-style-TtsSpan_FractionBuilder
    public class TtsSpan_FractionBuilder ("android/text/style/TtsSpan$FractionBuilder") extends crate::android::text::style::TtsSpan_SemioticClassBuilder {

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

        /// [FractionBuilder](https://developer.android.com/reference/android/text/style/TtsSpan.FractionBuilder.html#FractionBuilder(long,%20long,%20long))
        pub fn new_long_long_long<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i64, arg2: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::text::style::TtsSpan_FractionBuilder>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/text/style/TtsSpan$FractionBuilder", java.flags == PUBLIC, .name == "<init>", .descriptor == "(JJJ)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/text/style/TtsSpan$FractionBuilder\0", "<init>\0", "(JJJ)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setIntegerPart](https://developer.android.com/reference/android/text/style/TtsSpan.FractionBuilder.html#setIntegerPart(long))
        ///
        /// Required features: "android-text-style-TtsSpan_FractionBuilder"
        #[cfg(any(feature = "all", all(feature = "android-text-style-TtsSpan_FractionBuilder")))]
        pub fn setIntegerPart_long<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::text::style::TtsSpan_FractionBuilder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/text/style/TtsSpan$FractionBuilder", java.flags == PUBLIC, .name == "setIntegerPart", .descriptor == "(J)Landroid/text/style/TtsSpan$FractionBuilder;"
            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/text/style/TtsSpan$FractionBuilder\0", "setIntegerPart\0", "(J)Landroid/text/style/TtsSpan$FractionBuilder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setIntegerPart](https://developer.android.com/reference/android/text/style/TtsSpan.FractionBuilder.html#setIntegerPart(java.lang.String))
        ///
        /// Required features: "android-text-style-TtsSpan_FractionBuilder", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-text-style-TtsSpan_FractionBuilder", feature = "java-lang-String")))]
        pub fn setIntegerPart_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::android::text::style::TtsSpan_FractionBuilder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/text/style/TtsSpan$FractionBuilder", java.flags == PUBLIC, .name == "setIntegerPart", .descriptor == "(Ljava/lang/String;)Landroid/text/style/TtsSpan$FractionBuilder;"
            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/text/style/TtsSpan$FractionBuilder\0", "setIntegerPart\0", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$FractionBuilder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setNumerator](https://developer.android.com/reference/android/text/style/TtsSpan.FractionBuilder.html#setNumerator(long))
        ///
        /// Required features: "android-text-style-TtsSpan_FractionBuilder"
        #[cfg(any(feature = "all", all(feature = "android-text-style-TtsSpan_FractionBuilder")))]
        pub fn setNumerator_long<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::text::style::TtsSpan_FractionBuilder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/text/style/TtsSpan$FractionBuilder", java.flags == PUBLIC, .name == "setNumerator", .descriptor == "(J)Landroid/text/style/TtsSpan$FractionBuilder;"
            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/text/style/TtsSpan$FractionBuilder\0", "setNumerator\0", "(J)Landroid/text/style/TtsSpan$FractionBuilder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setNumerator](https://developer.android.com/reference/android/text/style/TtsSpan.FractionBuilder.html#setNumerator(java.lang.String))
        ///
        /// Required features: "android-text-style-TtsSpan_FractionBuilder", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-text-style-TtsSpan_FractionBuilder", feature = "java-lang-String")))]
        pub fn setNumerator_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::android::text::style::TtsSpan_FractionBuilder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/text/style/TtsSpan$FractionBuilder", java.flags == PUBLIC, .name == "setNumerator", .descriptor == "(Ljava/lang/String;)Landroid/text/style/TtsSpan$FractionBuilder;"
            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/text/style/TtsSpan$FractionBuilder\0", "setNumerator\0", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$FractionBuilder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setDenominator](https://developer.android.com/reference/android/text/style/TtsSpan.FractionBuilder.html#setDenominator(long))
        ///
        /// Required features: "android-text-style-TtsSpan_FractionBuilder"
        #[cfg(any(feature = "all", all(feature = "android-text-style-TtsSpan_FractionBuilder")))]
        pub fn setDenominator_long<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::text::style::TtsSpan_FractionBuilder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/text/style/TtsSpan$FractionBuilder", java.flags == PUBLIC, .name == "setDenominator", .descriptor == "(J)Landroid/text/style/TtsSpan$FractionBuilder;"
            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/text/style/TtsSpan$FractionBuilder\0", "setDenominator\0", "(J)Landroid/text/style/TtsSpan$FractionBuilder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setDenominator](https://developer.android.com/reference/android/text/style/TtsSpan.FractionBuilder.html#setDenominator(java.lang.String))
        ///
        /// Required features: "android-text-style-TtsSpan_FractionBuilder", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-text-style-TtsSpan_FractionBuilder", feature = "java-lang-String")))]
        pub fn setDenominator_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::android::text::style::TtsSpan_FractionBuilder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/text/style/TtsSpan$FractionBuilder", java.flags == PUBLIC, .name == "setDenominator", .descriptor == "(Ljava/lang/String;)Landroid/text/style/TtsSpan$FractionBuilder;"
            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/text/style/TtsSpan$FractionBuilder\0", "setDenominator\0", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$FractionBuilder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}
