jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-app-Notification_Builder"))]
__jni_bindgen! {
    /// public class [Notification.Builder](https://developer.android.com/reference/android/app/Notification.Builder.html)
    ///
    /// Required feature: "android-app-Notification_Builder"
    public class Notification_Builder ("android/app/Notification$Builder") extends crate::java::lang::Object {

        /// [Builder](https://developer.android.com/reference/android/app/Notification.Builder.html#Builder(android.content.Context))
        ///
        /// Required features: "android-content-Context"
        #[cfg(any(feature = "all", all(feature = "android-content-Context")))]
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/content/Context;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/app/Notification$Builder\0", "<init>\0", "(Landroid/content/Context;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

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

        /// [setSmallIcon](https://developer.android.com/reference/android/app/Notification.Builder.html#setSmallIcon(int))
        ///
        /// Required features: "android-app-Notification_Builder"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder")))]
        pub fn setSmallIcon_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setSmallIcon", .descriptor == "(I)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setSmallIcon\0", "(I)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setSmallIcon](https://developer.android.com/reference/android/app/Notification.Builder.html#setSmallIcon(int,%20int))
        ///
        /// Required features: "android-app-Notification_Builder"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder")))]
        pub fn setSmallIcon_int_int<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setSmallIcon", .descriptor == "(II)Landroid/app/Notification$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/app/Notification$Builder\0", "setSmallIcon\0", "(II)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setContentTitle](https://developer.android.com/reference/android/app/Notification.Builder.html#setContentTitle(java.lang.CharSequence))
        ///
        /// Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "java-lang-CharSequence")))]
        pub fn setContentTitle<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setContentTitle", .descriptor == "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setContentTitle\0", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setContentText](https://developer.android.com/reference/android/app/Notification.Builder.html#setContentText(java.lang.CharSequence))
        ///
        /// Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "java-lang-CharSequence")))]
        pub fn setContentText<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setContentText", .descriptor == "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setContentText\0", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setNumber](https://developer.android.com/reference/android/app/Notification.Builder.html#setNumber(int))
        ///
        /// Required features: "android-app-Notification_Builder"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder")))]
        pub fn setNumber<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setNumber", .descriptor == "(I)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setNumber\0", "(I)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setContentInfo](https://developer.android.com/reference/android/app/Notification.Builder.html#setContentInfo(java.lang.CharSequence))
        ///
        /// Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "java-lang-CharSequence")))]
        pub fn setContentInfo<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setContentInfo", .descriptor == "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setContentInfo\0", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setContent](https://developer.android.com/reference/android/app/Notification.Builder.html#setContent(android.widget.RemoteViews))
        ///
        /// Required features: "android-app-Notification_Builder", "android-widget-RemoteViews"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "android-widget-RemoteViews")))]
        pub fn setContent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::widget::RemoteViews>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setContent", .descriptor == "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setContent\0", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setContentIntent](https://developer.android.com/reference/android/app/Notification.Builder.html#setContentIntent(android.app.PendingIntent))
        ///
        /// Required features: "android-app-Notification_Builder", "android-app-PendingIntent"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "android-app-PendingIntent")))]
        pub fn setContentIntent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::PendingIntent>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setContentIntent", .descriptor == "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setContentIntent\0", "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setDeleteIntent](https://developer.android.com/reference/android/app/Notification.Builder.html#setDeleteIntent(android.app.PendingIntent))
        ///
        /// Required features: "android-app-Notification_Builder", "android-app-PendingIntent"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "android-app-PendingIntent")))]
        pub fn setDeleteIntent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::PendingIntent>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setDeleteIntent", .descriptor == "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setDeleteIntent\0", "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setFullScreenIntent](https://developer.android.com/reference/android/app/Notification.Builder.html#setFullScreenIntent(android.app.PendingIntent,%20boolean))
        ///
        /// Required features: "android-app-Notification_Builder", "android-app-PendingIntent"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "android-app-PendingIntent")))]
        pub fn setFullScreenIntent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::PendingIntent>>, arg1: bool) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setFullScreenIntent", .descriptor == "(Landroid/app/PendingIntent;Z)Landroid/app/Notification$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/app/Notification$Builder\0", "setFullScreenIntent\0", "(Landroid/app/PendingIntent;Z)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setTicker](https://developer.android.com/reference/android/app/Notification.Builder.html#setTicker(java.lang.CharSequence))
        ///
        /// Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "java-lang-CharSequence")))]
        pub fn setTicker_CharSequence<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setTicker", .descriptor == "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setTicker\0", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setTicker](https://developer.android.com/reference/android/app/Notification.Builder.html#setTicker(java.lang.CharSequence,%20android.widget.RemoteViews))
        ///
        /// Required features: "android-app-Notification_Builder", "android-widget-RemoteViews", "java-lang-CharSequence"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "android-widget-RemoteViews", feature = "java-lang-CharSequence")))]
        pub fn setTicker_CharSequence_RemoteViews<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::widget::RemoteViews>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setTicker", .descriptor == "(Ljava/lang/CharSequence;Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setTicker\0", "(Ljava/lang/CharSequence;Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setLargeIcon](https://developer.android.com/reference/android/app/Notification.Builder.html#setLargeIcon(android.graphics.Bitmap))
        ///
        /// Required features: "android-app-Notification_Builder", "android-graphics-Bitmap"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "android-graphics-Bitmap")))]
        pub fn setLargeIcon<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Bitmap>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setLargeIcon", .descriptor == "(Landroid/graphics/Bitmap;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setLargeIcon\0", "(Landroid/graphics/Bitmap;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setSound](https://developer.android.com/reference/android/app/Notification.Builder.html#setSound(android.net.Uri))
        ///
        /// Required features: "android-app-Notification_Builder", "android-net-Uri"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "android-net-Uri")))]
        pub fn setSound_Uri<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setSound", .descriptor == "(Landroid/net/Uri;)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setSound\0", "(Landroid/net/Uri;)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setSound](https://developer.android.com/reference/android/app/Notification.Builder.html#setSound(android.net.Uri,%20int))
        ///
        /// Required features: "android-app-Notification_Builder", "android-net-Uri"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder", feature = "android-net-Uri")))]
        pub fn setSound_Uri_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setSound", .descriptor == "(Landroid/net/Uri;I)Landroid/app/Notification$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/app/Notification$Builder\0", "setSound\0", "(Landroid/net/Uri;I)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setVibrate](https://developer.android.com/reference/android/app/Notification.Builder.html#setVibrate(long%5B%5D))
        ///
        /// Required features: "android-app-Notification_Builder"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder")))]
        pub fn setVibrate<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::LongArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setVibrate", .descriptor == "([J)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setVibrate\0", "([J)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setLights](https://developer.android.com/reference/android/app/Notification.Builder.html#setLights(int,%20int,%20int))
        ///
        /// Required features: "android-app-Notification_Builder"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder")))]
        pub fn setLights<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setLights", .descriptor == "(III)Landroid/app/Notification$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/app/Notification$Builder\0", "setLights\0", "(III)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setOngoing](https://developer.android.com/reference/android/app/Notification.Builder.html#setOngoing(boolean))
        ///
        /// Required features: "android-app-Notification_Builder"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder")))]
        pub fn setOngoing<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setOngoing", .descriptor == "(Z)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setOngoing\0", "(Z)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setOnlyAlertOnce](https://developer.android.com/reference/android/app/Notification.Builder.html#setOnlyAlertOnce(boolean))
        ///
        /// Required features: "android-app-Notification_Builder"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder")))]
        pub fn setOnlyAlertOnce<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setOnlyAlertOnce", .descriptor == "(Z)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setOnlyAlertOnce\0", "(Z)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setAutoCancel](https://developer.android.com/reference/android/app/Notification.Builder.html#setAutoCancel(boolean))
        ///
        /// Required features: "android-app-Notification_Builder"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder")))]
        pub fn setAutoCancel<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setAutoCancel", .descriptor == "(Z)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setAutoCancel\0", "(Z)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setDefaults](https://developer.android.com/reference/android/app/Notification.Builder.html#setDefaults(int))
        ///
        /// Required features: "android-app-Notification_Builder"
        #[cfg(any(feature = "all", all(feature = "android-app-Notification_Builder")))]
        pub fn setDefaults<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::app::Notification_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/Notification$Builder", java.flags == PUBLIC, .name == "setDefaults", .descriptor == "(I)Landroid/app/Notification$Builder;"
            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/app/Notification$Builder\0", "setDefaults\0", "(I)Landroid/app/Notification$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

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