Exemple #1
0
            static void n_AssertTrue_ZLjava_lang_String_(IntPtr jnienv, IntPtr native__this, bool p0, IntPtr native_p1)
            {
                global::Com.Spotify.Protocol.Client.Debug.IAssertion __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.Debug.IAssertion> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                string p1 = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer);

                __this.AssertTrue(p0, p1);
            }
Exemple #2
0
        public static unsafe void SetAssertion(global::Com.Spotify.Protocol.Client.Debug.IAssertion assertion)
        {
            const string __id = "setAssertion.(Lcom/spotify/protocol/client/Debug$Assertion;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((assertion == null) ? IntPtr.Zero : ((global::Java.Lang.Object)assertion).Handle);
                _members.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
            }
        }