public unsafe TokenResult(global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk __self) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(__self); if (((object)this).GetType() != typeof(TokenResult)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";)V", __args); return; } if (id_ctor_Lcom_alipay_apmobilesecuritysdk_face_APSecuritySdk_ == IntPtr.Zero) { id_ctor_Lcom_alipay_apmobilesecuritysdk_face_APSecuritySdk_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/alipay/apmobilesecuritysdk/face/APSecuritySdk;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_alipay_apmobilesecuritysdk_face_APSecuritySdk_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_alipay_apmobilesecuritysdk_face_APSecuritySdk_, __args); } finally { } }
static void n_InitToken_ILjava_util_Map_Lcom_alipay_apmobilesecuritysdk_face_APSecuritySdk_InitResultListener_(IntPtr jnienv, IntPtr native__this, int p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk __this = global::Java.Lang.Object.GetObject <global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); var p1 = global::Android.Runtime.JavaDictionary <string, string> .FromJniHandle(native_p1, JniHandleOwnership.DoNotTransfer); global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk.IInitResultListener p2 = (global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk.IInitResultListener)global::Java.Lang.Object.GetObject <global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk.IInitResultListener> (native_p2, JniHandleOwnership.DoNotTransfer); __this.InitToken(p0, p1, p2); }
public static unsafe global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk GetInstance(global::Android.Content.Context p0) { if (id_getInstance_Landroid_content_Context_ == IntPtr.Zero) { id_getInstance_Landroid_content_Context_ = JNIEnv.GetStaticMethodID(class_ref, "getInstance", "(Landroid/content/Context;)Lcom/alipay/apmobilesecuritysdk/face/APSecuritySdk;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk __ret = global::Java.Lang.Object.GetObject <global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk> (JNIEnv.CallStaticObjectMethod(class_ref, id_getInstance_Landroid_content_Context_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
static IntPtr n_GetTokenResult(IntPtr jnienv, IntPtr native__this) { global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk __this = global::Java.Lang.Object.GetObject <global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.GetTokenResult())); }
static IntPtr n_GetSdkVersion(IntPtr jnienv, IntPtr native__this) { global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk __this = global::Java.Lang.Object.GetObject <global::Com.Alipay.Apmobilesecuritysdk.Face.APSecuritySdk> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.SdkVersion)); }