Exemple #1
0
        public virtual unsafe void InitTelemetryForCommand(global::Com.Microsoft.Identity.Common.Internal.Commands.BaseCommand command)
        {
            const string __id = "initTelemetryForCommand.(Lcom/microsoft/identity/common/internal/commands/BaseCommand;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((command == null) ? IntPtr.Zero : ((global::Java.Lang.Object)command).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
                global::System.GC.KeepAlive(command);
            }
        }
Exemple #2
0
        public static unsafe void SubmitSilent(global::Com.Microsoft.Identity.Common.Internal.Commands.BaseCommand command)
        {
            const string __id = "submitSilent.(Lcom/microsoft/identity/common/internal/commands/BaseCommand;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((command == null) ? IntPtr.Zero : ((global::Java.Lang.Object)command).Handle);
                _members.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
                global::System.GC.KeepAlive(command);
            }
        }
Exemple #3
0
        public virtual unsafe void Put(global::Com.Microsoft.Identity.Common.Internal.Commands.BaseCommand key, global::Com.Microsoft.Identity.Common.Internal.Controllers.CommandResult value)
        {
            const string __id = "put.(Lcom/microsoft/identity/common/internal/commands/BaseCommand;Lcom/microsoft/identity/common/internal/controllers/CommandResult;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((key == null) ? IntPtr.Zero : ((global::Java.Lang.Object)key).Handle);
                __args [1] = new JniArgumentValue((value == null) ? IntPtr.Zero : ((global::Java.Lang.Object)value).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
                global::System.GC.KeepAlive(key);
                global::System.GC.KeepAlive(value);
            }
        }
Exemple #4
0
        public virtual unsafe global::Com.Microsoft.Identity.Common.Internal.Controllers.CommandResult Get(global::Com.Microsoft.Identity.Common.Internal.Commands.BaseCommand key)
        {
            const string __id = "get.(Lcom/microsoft/identity/common/internal/commands/BaseCommand;)Lcom/microsoft/identity/common/internal/controllers/CommandResult;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((key == null) ? IntPtr.Zero : ((global::Java.Lang.Object)key).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Microsoft.Identity.Common.Internal.Controllers.CommandResult> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                global::System.GC.KeepAlive(key);
            }
        }
Exemple #5
0
        public static unsafe global::Com.Microsoft.Identity.Common.Internal.Result.FinalizableResultFuture SubmitSilentReturningFuture(global::Com.Microsoft.Identity.Common.Internal.Commands.BaseCommand command)
        {
            const string __id = "submitSilentReturningFuture.(Lcom/microsoft/identity/common/internal/commands/BaseCommand;)Lcom/microsoft/identity/common/internal/result/FinalizableResultFuture;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((command == null) ? IntPtr.Zero : ((global::Java.Lang.Object)command).Handle);
                var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Microsoft.Identity.Common.Internal.Result.FinalizableResultFuture> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                global::System.GC.KeepAlive(command);
            }
        }