Esempio n. 1
0
        static IntPtr n_Hello_Ljava_lang_Class_(IntPtr jnienv, IntPtr native__this, IntPtr native_resultType)
        {
            global::Com.Spotify.Protocol.Client.RemoteWampClient __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.RemoteWampClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Class resultType = global::Java.Lang.Object.GetObject <global::Java.Lang.Class> (native_resultType, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Hello(resultType));

            return(__ret);
        }
Esempio n. 2
0
        static IntPtr n_Call_Ljava_lang_String_Ljava_lang_Class_(IntPtr jnienv, IntPtr native__this, IntPtr native_procedureUri, IntPtr native_resultType)
        {
            global::Com.Spotify.Protocol.Client.RemoteWampClient __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.RemoteWampClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string procedureUri = JNIEnv.GetString(native_procedureUri, JniHandleOwnership.DoNotTransfer);

            global::Java.Lang.Class resultType = global::Java.Lang.Object.GetObject <global::Java.Lang.Class> (native_resultType, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Call(procedureUri, resultType));

            return(__ret);
        }
Esempio n. 3
0
        static IntPtr n_Subscribe_Ljava_lang_String_Ljava_lang_Class_(IntPtr jnienv, IntPtr native__this, IntPtr native_topic, IntPtr native_eventType)
        {
            global::Com.Spotify.Protocol.Client.RemoteWampClient __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.RemoteWampClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string topic = JNIEnv.GetString(native_topic, JniHandleOwnership.DoNotTransfer);

            global::Java.Lang.Class eventType = global::Java.Lang.Object.GetObject <global::Java.Lang.Class> (native_eventType, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Subscribe(topic, eventType));

            return(__ret);
        }
Esempio n. 4
0
 static void n_Unsubscribe_Lcom_spotify_protocol_client_Subscription_(IntPtr jnienv, IntPtr native__this, IntPtr native_subscription)
 {
     global::Com.Spotify.Protocol.Client.RemoteWampClient __this       = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.RemoteWampClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Spotify.Protocol.Client.Subscription     subscription = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.Subscription> (native_subscription, JniHandleOwnership.DoNotTransfer);
     __this.Unsubscribe(subscription);
 }
Esempio n. 5
0
 static void n_SetOnConnectionTerminatedListener_Lcom_spotify_protocol_client_OnConnectionTerminatedListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_listener)
 {
     global::Com.Spotify.Protocol.Client.RemoteWampClient __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.RemoteWampClient> (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);
 }
Esempio n. 6
0
 static void n_Goodbye(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Spotify.Protocol.Client.RemoteWampClient __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.RemoteWampClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Goodbye();
 }