示例#1
0
        static void n_SetChannel_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Parse.PushCallback __this = global::Java.Lang.Object.GetObject <global::Com.Parse.PushCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.SetChannel(p0);
        }
示例#2
0
        public static void OnPush(global::Android.Content.Context p0, string p1, global::Com.Parse.PushCallback p2)
        {
            if (id_onPush_Landroid_content_Context_Ljava_lang_String_Lcom_parse_PushCallback_ == IntPtr.Zero)
            {
                id_onPush_Landroid_content_Context_Ljava_lang_String_Lcom_parse_PushCallback_ = JNIEnv.GetStaticMethodID(class_ref, "onPush", "(Landroid/content/Context;Ljava/lang/String;Lcom/parse/PushCallback;)V");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);

            JNIEnv.CallStaticVoidMethod(class_ref, id_onPush_Landroid_content_Context_Ljava_lang_String_Lcom_parse_PushCallback_, new JValue(p0), new JValue(native_p1), new JValue(p2));
            JNIEnv.DeleteLocalRef(native_p1);
        }
示例#3
0
 static void n_Run(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Parse.PushCallback __this = global::Java.Lang.Object.GetObject <global::Com.Parse.PushCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Run();
 }
示例#4
0
 static void n_SetService_Landroid_app_Service_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Parse.PushCallback __this = global::Java.Lang.Object.GetObject <global::Com.Parse.PushCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.App.Service    p0     = global::Java.Lang.Object.GetObject <global::Android.App.Service> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetService(p0);
 }
示例#5
0
 static void n_SetPushData_Lorg_json_JSONObject_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Parse.PushCallback __this = global::Java.Lang.Object.GetObject <global::Com.Parse.PushCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Json.JSONObject    p0     = global::Java.Lang.Object.GetObject <global::Org.Json.JSONObject> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetPushData(p0);
 }