public virtual unsafe void ScheduleLocalNotification(global::Com.Bluecats.Sdk.BCLocalNotification localNotification) { if (id_scheduleLocalNotification_Lcom_bluecats_sdk_BCLocalNotification_ == IntPtr.Zero) { id_scheduleLocalNotification_Lcom_bluecats_sdk_BCLocalNotification_ = JNIEnv.GetMethodID(class_ref, "scheduleLocalNotification", "(Lcom/bluecats/sdk/BCLocalNotification;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(localNotification); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_scheduleLocalNotification_Lcom_bluecats_sdk_BCLocalNotification_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "scheduleLocalNotification", "(Lcom/bluecats/sdk/BCLocalNotification;)V"), __args); } } finally { } }
static void n_ScheduleLocalNotification_Lcom_bluecats_sdk_BCLocalNotification_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_localNotification, bool storeLocalNotificationToPreferences) { global::Com.Bluecats.Sdk.BCLocalNotificationManager __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCLocalNotificationManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Bluecats.Sdk.BCLocalNotification localNotification = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCLocalNotification> (native_localNotification, JniHandleOwnership.DoNotTransfer); __this.ScheduleLocalNotification(localNotification, storeLocalNotificationToPreferences); }