public unsafe void OnError(global::Com.Microsoft.Identity.Common.Exception.BaseException p0)
        {
            if (id_onError_Lcom_microsoft_identity_common_exception_BaseException_ == IntPtr.Zero)
            {
                id_onError_Lcom_microsoft_identity_common_exception_BaseException_ = JNIEnv.GetMethodID(class_ref, "onError", "(Lcom/microsoft/identity/common/exception/BaseException;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)p0).Handle);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onError_Lcom_microsoft_identity_common_exception_BaseException_, __args);
        }
        public unsafe global::Android.OS.Bundle BundleFromBaseException(global::Com.Microsoft.Identity.Common.Exception.BaseException p0, string p1)
        {
            if (id_bundleFromBaseException_Lcom_microsoft_identity_common_exception_BaseException_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_bundleFromBaseException_Lcom_microsoft_identity_common_exception_BaseException_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "bundleFromBaseException", "(Lcom/microsoft/identity/common/exception/BaseException;Ljava/lang/String;)Landroid/os/Bundle;");
            }
            IntPtr  native_p1 = JNIEnv.NewString(p1);
            JValue *__args    = stackalloc JValue [2];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)p0).Handle);
            __args [1] = new JValue(native_p1);
            var __ret = global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_bundleFromBaseException_Lcom_microsoft_identity_common_exception_BaseException_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);

            JNIEnv.DeleteLocalRef(native_p1);
            return(__ret);
        }
        public virtual unsafe global::Android.OS.Bundle BundleFromBaseException(global::Com.Microsoft.Identity.Common.Exception.BaseException exception, string negotiatedBrokerProtocolVersion)
        {
            const string __id = "bundleFromBaseException.(Lcom/microsoft/identity/common/exception/BaseException;Ljava/lang/String;)Landroid/os/Bundle;";
            IntPtr       native_negotiatedBrokerProtocolVersion = JNIEnv.NewString(negotiatedBrokerProtocolVersion);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((exception == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)exception).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(exception);
            }
        }
        public static unsafe global::Com.Microsoft.Identity.Client.Exception.MsalException MsalExceptionFromBaseException(global::Com.Microsoft.Identity.Common.Exception.BaseException e)
        {
            const string __id = "msalExceptionFromBaseException.(Lcom/microsoft/identity/common/exception/BaseException;)Lcom/microsoft/identity/client/exception/MsalException;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((e == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)e).Handle);
                var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Microsoft.Identity.Client.Exception.MsalException> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                global::System.GC.KeepAlive(e);
            }
        }
        public virtual unsafe global::Com.Microsoft.Identity.Common.Internal.Telemetry.Events.BrokerEndEvent PutException(global::Com.Microsoft.Identity.Common.Exception.BaseException exception)
        {
            const string __id = "putException.(Lcom/microsoft/identity/common/exception/BaseException;)Lcom/microsoft/identity/common/internal/telemetry/events/BrokerEndEvent;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((exception == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)exception).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Microsoft.Identity.Common.Internal.Telemetry.Events.BrokerEndEvent> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
                global::System.GC.KeepAlive(exception);
            }
        }
		public static unsafe void ApplyCliTelemInfo (global::Com.Microsoft.Identity.Common.Internal.Telemetry.CliTelemInfo cliTelemInfo, global::Com.Microsoft.Identity.Common.Exception.BaseException outErr)
		{
			const string __id = "applyCliTelemInfo.(Lcom/microsoft/identity/common/internal/telemetry/CliTelemInfo;Lcom/microsoft/identity/common/exception/BaseException;)V";
			try {
				JniArgumentValue* __args = stackalloc JniArgumentValue [2];
				__args [0] = new JniArgumentValue ((cliTelemInfo == null) ? IntPtr.Zero : ((global::Java.Lang.Object) cliTelemInfo).Handle);
				__args [1] = new JniArgumentValue ((outErr == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable) outErr).Handle);
				_members.StaticMethods.InvokeVoidMethod (__id, __args);
			} finally {
				global::System.GC.KeepAlive (cliTelemInfo);
				global::System.GC.KeepAlive (outErr);
			}
		}