Ejemplo n.º 1
0
        static void n_OnSuccess_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Alibaba.Sdk.Android.Push.ICommonCallback __this = global::Java.Lang.Object.GetObject <global::Com.Alibaba.Sdk.Android.Push.ICommonCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.OnSuccess(p0);
        }
Ejemplo n.º 2
0
 public unsafe void A(global::Com.Alibaba.Sdk.Android.Push.ICommonCallback p0)
 {
     if (id_a_Lcom_alibaba_sdk_android_push_CommonCallback_ == IntPtr.Zero)
     {
         id_a_Lcom_alibaba_sdk_android_push_CommonCallback_ = JNIEnv.GetMethodID(class_ref, "a", "(Lcom/alibaba/sdk/android/push/CommonCallback;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_a_Lcom_alibaba_sdk_android_push_CommonCallback_, __args);
     } finally {
     }
 }