static bool n_Route_Lcom_spotify_protocol_WampMessage_(IntPtr jnienv, IntPtr native__this, IntPtr native_message)
        {
            global::Com.Spotify.Protocol.Client.WampRouterImpl __this  = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.WampRouterImpl> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Spotify.Protocol.WampMessage           message = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.WampMessage> (native_message, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.Route(message);

            return(__ret);
        }
        public virtual unsafe bool Route(global::Com.Spotify.Protocol.WampMessage message)
        {
            const string __id = "route.(Lcom/spotify/protocol/WampMessage;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((message == null) ? IntPtr.Zero : ((global::Java.Lang.Object)message).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args);
                return(__rm);
            } finally {
            }
        }
Example #3
0
 static int n_GetIntAt_I(IntPtr jnienv, IntPtr native__this, int index)
 {
     global::Com.Spotify.Protocol.WampMessage __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.WampMessage> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.GetIntAt(index));
 }
Example #4
0
 static IntPtr n_GetObjectAt_I(IntPtr jnienv, IntPtr native__this, int i)
 {
     global::Com.Spotify.Protocol.WampMessage __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.WampMessage> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.GetObjectAt(i)));
 }