Class CNContactVCardSerialization

  • All Implemented Interfaces:
    NSObject

    public class CNContactVCardSerialization
    extends NSObject
    Contact vCard support. This converts between a contact and its vCard representation.
    • Constructor Detail

      • CNContactVCardSerialization

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

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

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

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

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • contactsWithDataError

        @Nullable
        public static @Nullable NSArray<? extends CNContact> contactsWithDataError​(@NotNull
                                                                                   @NotNull NSData data,
                                                                                   @Nullable
                                                                                   @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Parse data into contacts. [@returns] The parsed contacts. If the parsing fails, this will be @c nil.
        Parameters:
        data - The data to parse.
        error - An optional outparameter. If the parsing fails, this will be set.
      • dataWithContactsError

        @Nullable
        public static @Nullable NSData dataWithContactsError​(@NotNull
                                                             @NotNull NSArray<? extends CNContact> contacts,
                                                             @Nullable
                                                             @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Serialize contacts to data. The contacts to be serialized must have been fetched with [@c] +descriptorForRequiredKeys. [@returns] The encoded data. If the serialization fails, this will be @c nil.
        Parameters:
        contacts - The contacts to serialize.
        error - An optional outparameter. If the serialization fails, this will be set.
      • debugDescription_static

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

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

        @NotNull
        public static @NotNull CNKeyDescriptor descriptorForRequiredKeys()
        Descriptor for all contact keys required by vCard serialization This descriptor must be passed to the fetch request if the returned contacts are to be serialized with dataWithContacts:error:.
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.