Class EKCalendar

  • All Implemented Interfaces:
    NSObject

    public class EKCalendar
    extends EKObject
    EKCalendar The EKCalendar class represents a calendar for events.
    • Constructor Detail

      • EKCalendar

        protected EKCalendar​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • calendarForEntityTypeEventStore

        public static EKCalendar calendarForEntityTypeEventStore​(long entityType,
                                                                 EKEventStore eventStore)
        calendarForEntityType: Creates a new autoreleased calendar that may contain the given entity type. You can only create calendars that accept either reminders or events via our API. However, other servers might allow mixing the two (though it is not common).
        Parameters:
        entityType - The entity type that this calendar may support.
        eventStore - The event store in which to create this calendar.
      • calendarWithEventStore

        @Deprecated
        public static EKCalendar calendarWithEventStore​(EKEventStore eventStore)
        Deprecated.
        Create a new calendar in the specified event store. You should use calendarForEntityType in iOS 6 or later.
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • CGColor

        public CGColorRef CGColor()
        [@property] color Returns the calendar color as a CGColorRef. This will be nil for new calendars until you set it.
      • allowedEntityTypes

        public long allowedEntityTypes()
        [@property] allowedEntityTypes Returns the entity types this calendar can contain. While our API only allows creation of single-entity calendars, other servers might allow mixed-entity calendars.
      • allowsContentModifications

        public boolean allowsContentModifications()
        [@property] allowsContentModifications Represents whether you can this add, remove, or modify items in this calendar.
      • calendarIdentifier

        public java.lang.String calendarIdentifier()
        [@property] calendarIdentifier A unique identifier for the calendar. It is 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 calendar that is no longer fetchable by this property, e.g. by title, type, color, etc. Use [EKEventStore calendarWithIdentifier:] to look up the calendar by this value.
      • isImmutable

        public boolean isImmutable()
        [@property] immutable If this is set to YES, it means you cannot modify any attributes of the calendar or delete it. It does NOT imply that you cannot add events or reminders to the calendar.
      • isSubscribed

        public boolean isSubscribed()
        [@property] subscribed YES if this calendar is a subscribed calendar.
      • setCGColor

        public void setCGColor​(CGColorRef value)
        [@property] color Returns the calendar color as a CGColorRef. This will be nil for new calendars until you set it.
      • setSource

        public void setSource​(EKSource value)
        [@property] source The source representing the 'account' this calendar belongs to. This is only settable when initially creating a calendar and then effectively read-only after that. That is, you can create a calendar, but you cannot move it to another source. This will be nil for new calendars until you set it.
      • setTitle

        public void setTitle​(java.lang.String value)
        [@property] title The title of the calendar.
      • source

        public EKSource source()
        [@property] source The source representing the 'account' this calendar belongs to. This is only settable when initially creating a calendar and then effectively read-only after that. That is, you can create a calendar, but you cannot move it to another source. This will be nil for new calendars until you set it.
      • supportedEventAvailabilities

        public long supportedEventAvailabilities()
        [@property] supportedEventAvailabilities Returns a bitfield of supported event availabilities, or EKCalendarEventAvailabilityNone if this calendar does not support setting availability on an event.
      • title

        public java.lang.String title()
        [@property] title The title of the calendar.
      • type

        public long type()
        [@property] type The type of the calendar as a EKCalendarType. This is actually based on what source the calendar is in, as well as whether it is a subscribed calendar. CalDAV subscribed calendars have type EKCalendarTypeCalDAV with isSubscribed = YES.