static void n_SetConnectionTerminatedListener_Lcom_spotify_protocol_client_OnConnectionTerminatedListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_listener) { global::Com.Spotify.Android.Appremote.Internal.SdkRemoteClientConnector __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Android.Appremote.Internal.SdkRemoteClientConnector> (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.SetConnectionTerminatedListener(listener); }
static void n_Connect_Lcom_spotify_protocol_client_RemoteClientConnector_ConnectionCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_connectionCallback) { global::Com.Spotify.Android.Appremote.Internal.SdkRemoteClientConnector __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Android.Appremote.Internal.SdkRemoteClientConnector> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Spotify.Protocol.Client.IRemoteClientConnectorConnectionCallback connectionCallback = (global::Com.Spotify.Protocol.Client.IRemoteClientConnectorConnectionCallback)global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.IRemoteClientConnectorConnectionCallback> (native_connectionCallback, JniHandleOwnership.DoNotTransfer); __this.Connect(connectionCallback); }
static void n_Disconnect(IntPtr jnienv, IntPtr native__this) { global::Com.Spotify.Android.Appremote.Internal.SdkRemoteClientConnector __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Android.Appremote.Internal.SdkRemoteClientConnector> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Disconnect(); }