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
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


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

        /// [onSendFinished](https://developer.android.com/reference/android/app/PendingIntent.OnFinished.html#onSendFinished(android.app.PendingIntent,%20android.content.Intent,%20int,%20java.lang.String,%20android.os.Bundle))
        ///
        /// Required features: "android-app-PendingIntent", "android-content-Intent", "android-os-Bundle", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-app-PendingIntent", feature = "android-content-Intent", feature = "android-os-Bundle", feature = "java-lang-String")))]
        pub fn onSendFinished<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::PendingIntent>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Intent>>, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Bundle>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/app/PendingIntent$OnFinished", java.flags == PUBLIC | ABSTRACT, .name == "onSendFinished", .descriptor == "(Landroid/app/PendingIntent;Landroid/content/Intent;ILjava/lang/String;Landroid/os/Bundle;)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), __jni_bindgen::AsJValue::as_jvalue(&arg3.into()), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/app/PendingIntent$OnFinished\0", "onSendFinished\0", "(Landroid/app/PendingIntent;Landroid/content/Intent;ILjava/lang/String;Landroid/os/Bundle;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}