Example #1
0
        static void n_PlayVoiceMessage_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Liveperson.Infra.Controller.IAudioPlayable __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Controller.IAudioPlayable> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.PlayVoiceMessage(p0);
        }
 public unsafe void RemovePlaying(global::Com.Liveperson.Infra.Controller.IAudioPlayable p0)
 {
     if (id_removePlaying_Lcom_liveperson_infra_controller_AudioPlayable_ == IntPtr.Zero)
     {
         id_removePlaying_Lcom_liveperson_infra_controller_AudioPlayable_ = JNIEnv.GetMethodID(class_ref, "removePlaying", "(Lcom/liveperson/infra/controller/AudioPlayable;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_removePlaying_Lcom_liveperson_infra_controller_AudioPlayable_, __args);
     } finally {
     }
 }
Example #3
0
 static void n_StopPlaying(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Controller.IAudioPlayable __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Controller.IAudioPlayable> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.StopPlaying();
 }