public static unsafe global::Com.Microsoft.Identity.Common.Internal.Result.IBrokerResultAdapter GetBrokerResultAdapter(global::Com.Microsoft.Identity.Common.Internal.Request.SdkType sdkType)
        {
            const string __id = "getBrokerResultAdapter.(Lcom/microsoft/identity/common/internal/request/SdkType;)Lcom/microsoft/identity/common/internal/result/IBrokerResultAdapter;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((sdkType == null) ? IntPtr.Zero : ((global::Java.Lang.Object)sdkType).Handle);
                var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Microsoft.Identity.Common.Internal.Result.IBrokerResultAdapter> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                global::System.GC.KeepAlive(sdkType);
            }
        }
        public unsafe LocalAuthenticationResult(global::Com.Microsoft.Identity.Common.Internal.Cache.ICacheRecord lastAuthorized, global::System.Collections.Generic.IList <global::Com.Microsoft.Identity.Common.Internal.Cache.ICacheRecord> completeResultFromCache, global::Com.Microsoft.Identity.Common.Internal.Request.SdkType sdkType, bool isServicedFromCache) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Lcom/microsoft/identity/common/internal/cache/ICacheRecord;Ljava/util/List;Lcom/microsoft/identity/common/internal/request/SdkType;Z)V";

            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_completeResultFromCache = global::Android.Runtime.JavaList <global::Com.Microsoft.Identity.Common.Internal.Cache.ICacheRecord> .ToLocalJniHandle(completeResultFromCache);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [4];
                __args [0] = new JniArgumentValue((lastAuthorized == null) ? IntPtr.Zero : ((global::Java.Lang.Object)lastAuthorized).Handle);
                __args [1] = new JniArgumentValue(native_completeResultFromCache);
                __args [2] = new JniArgumentValue((sdkType == null) ? IntPtr.Zero : ((global::Java.Lang.Object)sdkType).Handle);
                __args [3] = new JniArgumentValue(isServicedFromCache);
                var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args);
                SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef);
                _members.InstanceMethods.FinishCreateInstance(__id, this, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_completeResultFromCache);
                global::System.GC.KeepAlive(lastAuthorized);
                global::System.GC.KeepAlive(completeResultFromCache);
                global::System.GC.KeepAlive(sdkType);
            }
        }