static IntPtr n_Publish_Lorg_eclipse_paho_client_mqttv3_MqttMessage_(IntPtr jnienv, IntPtr native__this, IntPtr native_message)
        {
            global::Org.Eclipse.Paho.Client.Mqttv3.MqttTopic   __this  = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.MqttTopic> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Org.Eclipse.Paho.Client.Mqttv3.MqttMessage message = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.MqttMessage> (native_message, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Publish(message));

            return(__ret);
        }
        static IntPtr n_Publish_arrayBIZ(IntPtr jnienv, IntPtr native__this, IntPtr native_payload, int qos, bool retained)
        {
            global::Org.Eclipse.Paho.Client.Mqttv3.MqttTopic __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.MqttTopic> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            byte[] payload = (byte[])JNIEnv.GetArray(native_payload, JniHandleOwnership.DoNotTransfer, typeof(byte));
            IntPtr __ret   = JNIEnv.ToLocalJniHandle(__this.Publish(payload, qos, retained));

            if (payload != null)
            {
                JNIEnv.CopyArray(payload, native_payload);
            }
            return(__ret);
        }