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
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


__jni_bindgen! {
    /// public class [RemoteConference.Callback](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html)
    ///
    /// Required feature: android-telecom-RemoteConference_Callback
    #[cfg(any(feature = "all", feature = "android-telecom-RemoteConference_Callback"))]
    public class RemoteConference_Callback extends crate::java::lang::Object {

        /// <init>
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::android::telecom::RemoteConference_Callback>> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/telecom/RemoteConference$Callback\0", "<init>\0", "()V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [onStateChanged](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html#onStateChanged(android,%2520telecom,%2520RemoteConference,%2520int,%2520int))
        ///
        /// Required features: "android-telecom-RemoteConference"
        #[cfg(any(feature = "all", all(feature = "android-telecom-RemoteConference")))]
        pub fn on_state_changed<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConference>>, arg1: i32, arg2: i32) -> __jni_bindgen::Result<()> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "onStateChanged", .descriptor == "(Landroid/telecom/RemoteConference;II)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __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/telecom/RemoteConference$Callback\0", "onStateChanged\0", "(Landroid/telecom/RemoteConference;II)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [onDisconnected](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html#onDisconnected(android,%2520telecom,%2520RemoteConference,%2520android,%2520telecom,%2520DisconnectCause))
        ///
        /// Required features: "android-telecom-DisconnectCause", "android-telecom-RemoteConference"
        #[cfg(any(feature = "all", all(feature = "android-telecom-DisconnectCause", feature = "android-telecom-RemoteConference")))]
        pub fn on_disconnected<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConference>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::DisconnectCause>>) -> __jni_bindgen::Result<()> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "onDisconnected", .descriptor == "(Landroid/telecom/RemoteConference;Landroid/telecom/DisconnectCause;)V"
            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/telecom/RemoteConference$Callback\0", "onDisconnected\0", "(Landroid/telecom/RemoteConference;Landroid/telecom/DisconnectCause;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [onConnectionAdded](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html#onConnectionAdded(android,%2520telecom,%2520RemoteConference,%2520android,%2520telecom,%2520RemoteConnection))
        ///
        /// Required features: "android-telecom-RemoteConference", "android-telecom-RemoteConnection"
        #[cfg(any(feature = "all", all(feature = "android-telecom-RemoteConference", feature = "android-telecom-RemoteConnection")))]
        pub fn on_connection_added<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConference>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConnection>>) -> __jni_bindgen::Result<()> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "onConnectionAdded", .descriptor == "(Landroid/telecom/RemoteConference;Landroid/telecom/RemoteConnection;)V"
            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/telecom/RemoteConference$Callback\0", "onConnectionAdded\0", "(Landroid/telecom/RemoteConference;Landroid/telecom/RemoteConnection;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [onConnectionRemoved](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html#onConnectionRemoved(android,%2520telecom,%2520RemoteConference,%2520android,%2520telecom,%2520RemoteConnection))
        ///
        /// Required features: "android-telecom-RemoteConference", "android-telecom-RemoteConnection"
        #[cfg(any(feature = "all", all(feature = "android-telecom-RemoteConference", feature = "android-telecom-RemoteConnection")))]
        pub fn on_connection_removed<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConference>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConnection>>) -> __jni_bindgen::Result<()> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "onConnectionRemoved", .descriptor == "(Landroid/telecom/RemoteConference;Landroid/telecom/RemoteConnection;)V"
            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/telecom/RemoteConference$Callback\0", "onConnectionRemoved\0", "(Landroid/telecom/RemoteConference;Landroid/telecom/RemoteConnection;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [onConnectionCapabilitiesChanged](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html#onConnectionCapabilitiesChanged(android,%2520telecom,%2520RemoteConference,%2520int))
        ///
        /// Required features: "android-telecom-RemoteConference"
        #[cfg(any(feature = "all", all(feature = "android-telecom-RemoteConference")))]
        pub fn on_connection_capabilities_changed<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConference>>, arg1: i32) -> __jni_bindgen::Result<()> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "onConnectionCapabilitiesChanged", .descriptor == "(Landroid/telecom/RemoteConference;I)V"
            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/telecom/RemoteConference$Callback\0", "onConnectionCapabilitiesChanged\0", "(Landroid/telecom/RemoteConference;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [onConnectionPropertiesChanged](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html#onConnectionPropertiesChanged(android,%2520telecom,%2520RemoteConference,%2520int))
        ///
        /// Required features: "android-telecom-RemoteConference"
        #[cfg(any(feature = "all", all(feature = "android-telecom-RemoteConference")))]
        pub fn on_connection_properties_changed<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConference>>, arg1: i32) -> __jni_bindgen::Result<()> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "onConnectionPropertiesChanged", .descriptor == "(Landroid/telecom/RemoteConference;I)V"
            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/telecom/RemoteConference$Callback\0", "onConnectionPropertiesChanged\0", "(Landroid/telecom/RemoteConference;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [onConferenceableConnectionsChanged](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html#onConferenceableConnectionsChanged(android,%2520telecom,%2520RemoteConference,%2520java,%2520util,%2520List))
        ///
        /// Required features: "android-telecom-RemoteConference", "java-util-List"
        #[cfg(any(feature = "all", all(feature = "android-telecom-RemoteConference", feature = "java-util-List")))]
        pub fn on_conferenceable_connections_changed<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConference>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::List>>) -> __jni_bindgen::Result<()> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "onConferenceableConnectionsChanged", .descriptor == "(Landroid/telecom/RemoteConference;Ljava/util/List;)V"
            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/telecom/RemoteConference$Callback\0", "onConferenceableConnectionsChanged\0", "(Landroid/telecom/RemoteConference;Ljava/util/List;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [onDestroyed](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html#onDestroyed(android,%2520telecom,%2520RemoteConference))
        ///
        /// Required features: "android-telecom-RemoteConference"
        #[cfg(any(feature = "all", all(feature = "android-telecom-RemoteConference")))]
        pub fn on_destroyed<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConference>>) -> __jni_bindgen::Result<()> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "onDestroyed", .descriptor == "(Landroid/telecom/RemoteConference;)V"
            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/telecom/RemoteConference$Callback\0", "onDestroyed\0", "(Landroid/telecom/RemoteConference;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [onExtrasChanged](https://developer.android.com/reference/android/telecom/RemoteConference.Callback.html#onExtrasChanged(android,%2520telecom,%2520RemoteConference,%2520android,%2520os,%2520Bundle))
        ///
        /// Required features: "android-os-Bundle", "android-telecom-RemoteConference"
        #[cfg(any(feature = "all", all(feature = "android-os-Bundle", feature = "android-telecom-RemoteConference")))]
        pub fn on_extras_changed<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::telecom::RemoteConference>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Bundle>>) -> __jni_bindgen::Result<()> {
            // class.path == "android/telecom/RemoteConference$Callback", java.flags == PUBLIC, .name == "onExtrasChanged", .descriptor == "(Landroid/telecom/RemoteConference;Landroid/os/Bundle;)V"
            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/telecom/RemoteConference$Callback\0", "onExtrasChanged\0", "(Landroid/telecom/RemoteConference;Landroid/os/Bundle;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}