static void n_SetOnConnectionTerminatedListener_Lcom_spotify_protocol_client_OnConnectionTerminatedListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_listener) { global::Com.Spotify.Android.Appremote.Internal.RemoteServiceIo __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Android.Appremote.Internal.RemoteServiceIo> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Spotify.Protocol.Client.IOnConnectionTerminatedListener listener = (global::Com.Spotify.Protocol.Client.IOnConnectionTerminatedListener)global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.IOnConnectionTerminatedListener> (native_listener, JniHandleOwnership.DoNotTransfer); __this.SetOnConnectionTerminatedListener(listener); }