1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


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

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

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

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

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

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