static void n_OnServiceConnected_Landroid_content_ComponentName_Landroid_os_IBinder_(IntPtr jnienv, IntPtr native__this, IntPtr native_name, IntPtr native_service)
 {
     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::Android.Content.ComponentName name    = global::Java.Lang.Object.GetObject <global::Android.Content.ComponentName> (native_name, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.IBinder            service = (global::Android.OS.IBinder)global::Java.Lang.Object.GetObject <global::Android.OS.IBinder> (native_service, JniHandleOwnership.DoNotTransfer);
     __this.OnServiceConnected(name, service);
 }
 static void n_WriteData_arrayBI(IntPtr jnienv, IntPtr native__this, IntPtr native_message, int length)
 {
     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);
     byte[] message = (byte[])JNIEnv.GetArray(native_message, JniHandleOwnership.DoNotTransfer, typeof(byte));
     __this.WriteData(message, length);
     if (message != null)
     {
         JNIEnv.CopyArray(message, native_message);
     }
 }
 static bool n_IsConnected(IntPtr jnienv, IntPtr native__this)
 {
     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);
     return(__this.IsConnected);
 }
 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);
 }
 static void n_SetDataInput_Lcom_spotify_protocol_client_AppProtocolIo_DataInput_(IntPtr jnienv, IntPtr native__this, IntPtr native_dataInput)
 {
     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.IAppProtocolIoDataInput    dataInput = (global::Com.Spotify.Protocol.Client.IAppProtocolIoDataInput)global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.IAppProtocolIoDataInput> (native_dataInput, JniHandleOwnership.DoNotTransfer);
     __this.SetDataInput(dataInput);
 }
 static void n_Disconnect(IntPtr jnienv, IntPtr native__this)
 {
     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);
     __this.Disconnect();
 }
 static IntPtr n_Connect(IntPtr jnienv, IntPtr native__this)
 {
     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);
     return(JNIEnv.ToLocalJniHandle(__this.Connect()));
 }