Esempio n. 1
0
        public virtual void SetService(global::Android.App.Service p0)
        {
            if (id_setService_Landroid_app_Service_ == IntPtr.Zero)
            {
                id_setService_Landroid_app_Service_ = JNIEnv.GetMethodID(class_ref, "setService", "(Landroid/app/Service;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_setService_Landroid_app_Service_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setService", "(Landroid/app/Service;)V"), new JValue(p0));
            }
        }
Esempio n. 2
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);
 }