public class EKCalendarItem extends EKObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
EKCalendarItem(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
void |
addAlarm(EKAlarm alarm)
addAlarm:
|
void |
addRecurrenceRule(EKRecurrenceRule rule) |
NSArray<? extends EKAlarm> |
alarms()
An array of EKAlarm objects
|
static EKCalendarItem |
alloc() |
static EKCalendarItem |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSArray<? extends EKParticipant> |
attendees()
An array of EKParticipant objects
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
EKCalendar |
calendar()
[@property] calendar
|
java.lang.String |
calendarItemExternalIdentifier()
[@property] calendarItemExternalIdentifier
|
java.lang.String |
calendarItemIdentifier()
[@property] calendarItemIdentifier
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
NSDate |
creationDate() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
boolean |
hasAlarms()
These exist to do simple checks for the presence of data without
loading said data.
|
boolean |
hasAttendees() |
static long |
hash_static() |
boolean |
hasNotes() |
boolean |
hasRecurrenceRules() |
EKCalendarItem |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
NSDate |
lastModifiedDate() |
java.lang.String |
location() |
static EKCalendarItem |
new_objc() |
java.lang.String |
notes() |
NSArray<? extends EKRecurrenceRule> |
recurrenceRules()
[@property] recurrenceRules
|
void |
removeAlarm(EKAlarm alarm)
removeAlarm:
|
void |
removeRecurrenceRule(EKRecurrenceRule rule) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAlarms(NSArray<? extends EKAlarm> value)
An array of EKAlarm objects
|
void |
setCalendar(EKCalendar value)
[@property] calendar
|
void |
setLocation(java.lang.String value) |
void |
setNotes(java.lang.String value) |
void |
setRecurrenceRules(NSArray<? extends EKRecurrenceRule> value)
[@property] recurrenceRules
|
void |
setTimeZone(NSTimeZone value) |
void |
setTitle(java.lang.String value)
[@property] title
|
void |
setURL(NSURL value) |
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
NSTimeZone |
timeZone() |
java.lang.String |
title()
[@property] title
|
NSURL |
URL() |
java.lang.String |
UUID()
Deprecated.
|
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static EKCalendarItem alloc()
public static EKCalendarItem allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static EKCalendarItem new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public NSURL URL()
@Deprecated public java.lang.String UUID()
This is now deprecated; use calendarItemIdentifier instead.
public void addAlarm(EKAlarm alarm)
Adds an alarm to this item.
This method add an alarm to an item. Be warned that some calendars can only allow a certain maximum number of alarms. When this item is saved, it will truncate any extra alarms from the array.
public void addRecurrenceRule(EKRecurrenceRule rule)
public NSArray<? extends EKParticipant> attendees()
public EKCalendar calendar()
The calendar that this calendar item belongs to.
This will be nil for new calendar items until you set it.
public java.lang.String calendarItemExternalIdentifier()
A server-provided identifier for this calendar item
This identifier, provided by the server, allows you to reference the same event or reminder across multiple devices. For calendars stored locally on the device, including the birthday calendar, it simply passes through to calendarItemIdentifier.
This identifier is unique as of creation for every calendar item. However, there are some cases where duplicate copies of a calendar item can exist in the same database, including: - A calendar item was imported from an ICS file into multiple calendars - An event was created in a calendar shared with the user and the user was also invited to the event - The user is a delegate of a calendar that also has this event - A subscribed calendar was added to multiple accounts In such cases, you should choose between calendar items based on other factors, such as the calendar or source.
This identifier is the same for all occurrences of a recurring event. If you wish to differentiate between occurrences, you may want to use the start date.
This may be nil for new calendar items that do not yet belong to a calendar.
In addition, there are two caveats for Exchange-based calendars: - This identifier will be different between EventKit on iOS versus OS X - This identifier will be different between devices for EKReminders
public java.lang.String calendarItemIdentifier()
A unique identifier for a calendar item.
Item identifiers are not sync-proof in that a full sync will lose this identifier, so you should always have a back up plan for dealing with a reminder that is no longer fetchable by this property, e.g. by title, etc. Use [EKEventStore calendarItemWithIdentifier:] to look up the item by this value.
public NSDate creationDate()
public boolean hasAlarms()
public boolean hasAttendees()
public boolean hasNotes()
public boolean hasRecurrenceRules()
public EKCalendarItem init()
public NSDate lastModifiedDate()
public java.lang.String location()
public java.lang.String notes()
public NSArray<? extends EKRecurrenceRule> recurrenceRules()
An array of EKRecurrenceRules, or nil if none.
public void removeAlarm(EKAlarm alarm)
Removes an alarm from this item.
public void removeRecurrenceRule(EKRecurrenceRule rule)
public void setCalendar(EKCalendar value)
The calendar that this calendar item belongs to.
This will be nil for new calendar items until you set it.
public void setLocation(java.lang.String value)
public void setNotes(java.lang.String value)
public void setRecurrenceRules(NSArray<? extends EKRecurrenceRule> value)
An array of EKRecurrenceRules, or nil if none.
public void setTimeZone(NSTimeZone value)
public void setTitle(java.lang.String value)
The title of this calendar item.
This will be nill for new calendar items until you set it.
public void setURL(NSURL value)
public NSTimeZone timeZone()
public java.lang.String title()
The title of this calendar item.
This will be nill for new calendar items until you set it.