public static unsafe bool SetDefaultImpl(global::Com.Microsoft.Aad.Adal.IBrokerAccountService impl)
        {
            const string __id = "setDefaultImpl.(Lcom/microsoft/aad/adal/IBrokerAccountService;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((impl == null) ? IntPtr.Zero : ((global::Java.Lang.Object)impl).Handle);
                var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args);
                return(__rm);
            } finally {
                global::System.GC.KeepAlive(impl);
            }
        }
Exemplo n.º 2
0
        public virtual unsafe global::Android.OS.Bundle PerformOperationInternal(global::Com.Microsoft.Identity.Common.Internal.Broker.Ipc.BrokerOperationBundle brokerOperationBundle, global::Com.Microsoft.Aad.Adal.IBrokerAccountService brokerAccountService)
        {
            const string __id = "performOperationInternal.(Lcom/microsoft/identity/common/internal/broker/ipc/BrokerOperationBundle;Lcom/microsoft/aad/adal/IBrokerAccountService;)Landroid/os/Bundle;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((brokerOperationBundle == null) ? IntPtr.Zero : ((global::Java.Lang.Object)brokerOperationBundle).Handle);
                __args [1] = new JniArgumentValue((brokerAccountService == null) ? IntPtr.Zero : ((global::Java.Lang.Object)brokerAccountService).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                global::System.GC.KeepAlive(brokerOperationBundle);
                global::System.GC.KeepAlive(brokerAccountService);
            }
        }