/** * @since Available in iOS 4.0 and later. */ public boolean saveEvent(EKEvent event, EKSpan span) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = saveEvent(event, span, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 5.0 and later. */ public boolean saveEvent(EKEvent event, EKSpan span, boolean commit) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = saveEvent(event, span, commit, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 5.0 and later. */ public boolean saveEvent(EKEvent event, EKSpan span, boolean commit) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = saveEvent(event, span, commit, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 5.0 and later. */ public boolean saveEvent(EKEvent event, EKSpan span, boolean commit) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = saveEvent(event, span, commit, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean saveEvent(EKEvent event, EKSpan span) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = saveEvent(event, span, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean saveEvent(EKEvent event, EKSpan span) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = saveEvent(event, span, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**