public override unsafe bool GetDeviceMode(global::Com.Microsoft.Identity.Common.Internal.Commands.Parameters.CommandParameters parameters)
        {
            const string __id = "getDeviceMode.(Lcom/microsoft/identity/common/internal/commands/parameters/CommandParameters;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((parameters == null) ? IntPtr.Zero : ((global::Java.Lang.Object)parameters).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args);
                return(__rm);
            } finally {
                global::System.GC.KeepAlive(parameters);
            }
        }
Beispiel #2
0
        public virtual unsafe global::Android.OS.Bundle GetRequestBundleForGetAccounts(global::Com.Microsoft.Identity.Common.Internal.Commands.Parameters.CommandParameters parameters, string negotiatedBrokerProtocolVersion)
        {
            const string __id = "getRequestBundleForGetAccounts.(Lcom/microsoft/identity/common/internal/commands/parameters/CommandParameters;Ljava/lang/String;)Landroid/os/Bundle;";
            IntPtr       native_negotiatedBrokerProtocolVersion = JNIEnv.NewString(negotiatedBrokerProtocolVersion);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((parameters == null) ? IntPtr.Zero : ((global::Java.Lang.Object)parameters).Handle);
                __args [1] = new JniArgumentValue(native_negotiatedBrokerProtocolVersion);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                JNIEnv.DeleteLocalRef(native_negotiatedBrokerProtocolVersion);
                global::System.GC.KeepAlive(parameters);
            }
        }
Beispiel #3
0
        public override unsafe global::System.Collections.Generic.IList <global::Com.Microsoft.Identity.Common.Internal.Cache.ICacheRecord> GetCurrentAccount(global::Com.Microsoft.Identity.Common.Internal.Commands.Parameters.CommandParameters parameters)
        {
            const string __id = "getCurrentAccount.(Lcom/microsoft/identity/common/internal/commands/parameters/CommandParameters;)Ljava/util/List;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((parameters == null) ? IntPtr.Zero : ((global::Java.Lang.Object)parameters).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Android.Runtime.JavaList <global::Com.Microsoft.Identity.Common.Internal.Cache.ICacheRecord> .FromJniHandle(__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                global::System.GC.KeepAlive(parameters);
            }
        }
Beispiel #4
0
        public virtual unsafe global::Com.Microsoft.Identity.Common.Internal.Telemetry.Events.ApiStartEvent PutProperties(global::Com.Microsoft.Identity.Common.Internal.Commands.Parameters.CommandParameters parameters)
        {
            const string __id = "putProperties.(Lcom/microsoft/identity/common/internal/commands/parameters/CommandParameters;)Lcom/microsoft/identity/common/internal/telemetry/events/ApiStartEvent;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((parameters == null) ? IntPtr.Zero : ((global::Java.Lang.Object)parameters).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Microsoft.Identity.Common.Internal.Telemetry.Events.ApiStartEvent> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                global::System.GC.KeepAlive(parameters);
            }
        }
        public virtual unsafe string Hello(global::Com.Microsoft.Identity.Common.Internal.Broker.Ipc.IIpcStrategy strategy, global::Com.Microsoft.Identity.Common.Internal.Commands.Parameters.CommandParameters parameters)
        {
            const string __id = "hello.(Lcom/microsoft/identity/common/internal/broker/ipc/IIpcStrategy;Lcom/microsoft/identity/common/internal/commands/parameters/CommandParameters;)Ljava/lang/String;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((strategy == null) ? IntPtr.Zero : ((global::Java.Lang.Object)strategy).Handle);
                __args [1] = new JniArgumentValue((parameters == null) ? IntPtr.Zero : ((global::Java.Lang.Object)parameters).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(JNIEnv.GetString(__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                global::System.GC.KeepAlive(strategy);
                global::System.GC.KeepAlive(parameters);
            }
        }