Package apple.contacts
Class CNMutableContact
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.contacts.CNContact
-
- apple.contacts.CNMutableContact
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSItemProviderReading,NSItemProviderWriting,NSMutableCopying,NSSecureCoding,NSObject
public class CNMutableContact extends CNContact
A mutable value object representing a contact. CNMutableContact is not thread safe. If this is a mutable copy of CNContact then it will throw CNContactPropertyNotFetchedExceptionName when accessing a property that was not fetched for the CNContact. [@note] To remove properties when saving a mutable contact, set string properties and array properties to empty values. Set other properties to nil.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.contacts.CNContact
CNContact.Block_comparatorForNameSortOrder_ret
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.foundation.protocol.NSItemProviderWriting
NSItemProviderWriting.Block_loadDataWithTypeIdentifierForItemProviderCompletionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCNMutableContact(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long_itemProviderVisibilityForRepresentationWithTypeIdentifier_static(@NotNull java.lang.String typeIdentifier)@Nullable CNMutableContact_objectWithItemProviderDataTypeIdentifierError(@NotNull NSData data, @NotNull java.lang.String typeIdentifier, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)@NotNull NSArray<java.lang.String>_readableTypeIdentifiersForItemProvider()boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.@NotNull NSArray<java.lang.String>_writableTypeIdentifiersForItemProvider_static()static booleanaccessInstanceVariablesDirectly()static CNMutableContactalloc()static CNMutableContactallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)@Nullable NSDateComponentsbirthday()The Gregorian birthday.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static CNContact.Block_comparatorForNameSortOrder_retcomparatorForNameSortOrder(long sortOrder)@NotNull NSArray<? extends CNLabeledValue<CNContactRelation>>contactRelations()longcontactType()@NotNull NSArray<? extends CNLabeledValue<NSDateComponents>>dates()Other Gregorian dates (anniversaries, etc).static java.lang.StringdebugDescription_static()@NotNull java.lang.StringdepartmentName()static java.lang.Stringdescription_static()static @NotNull CNKeyDescriptordescriptorForAllComparatorKeys()@NotNull NSArray<? extends CNLabeledValue<java.lang.String>>emailAddresses()@NotNull java.lang.StringfamilyName()@NotNull java.lang.StringgivenName()static longhash_static()@Nullable NSDataimageData()CNMutableContactinit()CNMutableContactinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERstatic NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)@NotNull NSArray<? extends CNLabeledValue<CNInstantMessageAddress>>instantMessageAddresses()static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static longitemProviderVisibilityForRepresentationWithTypeIdentifier_static(@NotNull java.lang.String typeIdentifier)@NotNull java.lang.StringjobTitle()static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static @NotNull java.lang.StringlocalizedStringForKey(@NotNull java.lang.String key)@NotNull java.lang.StringmiddleName()@NotNull java.lang.StringnamePrefix()@NotNull java.lang.StringnameSuffix()static CNMutableContactnew_objc()@NotNull java.lang.Stringnickname()@Nullable NSDateComponentsnonGregorianBirthday()The alternate birthday (Lunisolar).@NotNull java.lang.Stringnote()static @Nullable CNMutableContactobjectWithItemProviderDataTypeIdentifierError(@NotNull NSData data, @NotNull java.lang.String typeIdentifier, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)@NotNull java.lang.StringorganizationName()@NotNull NSArray<? extends CNLabeledValue<CNPhoneNumber>>phoneNumbers()@NotNull java.lang.StringphoneticFamilyName()@NotNull java.lang.StringphoneticGivenName()@NotNull java.lang.StringphoneticMiddleName()@NotNull java.lang.StringphoneticOrganizationName()API-Since: 10.0@NotNull NSArray<? extends CNLabeledValue<CNPostalAddress>>postalAddresses()static @NotNull NSPredicatepredicateForContactsInContainerWithIdentifier(@NotNull java.lang.String containerIdentifier)static @NotNull NSPredicatepredicateForContactsInGroupWithIdentifier(@NotNull java.lang.String groupIdentifier)static @NotNull NSPredicatepredicateForContactsMatchingEmailAddress(@NotNull java.lang.String emailAddress)static @NotNull NSPredicatepredicateForContactsMatchingName(@NotNull java.lang.String name)static @NotNull NSPredicatepredicateForContactsMatchingPhoneNumber(@NotNull CNPhoneNumber phoneNumber)static @NotNull NSPredicatepredicateForContactsWithIdentifiers(@NotNull NSArray<java.lang.String> identifiers)@NotNull java.lang.StringpreviousFamilyName()static @NotNull NSArray<java.lang.String>readableTypeIdentifiersForItemProvider()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetBirthday(@Nullable NSDateComponents value)The Gregorian birthday.voidsetContactRelations(@NotNull NSArray<? extends CNLabeledValue<CNContactRelation>> value)voidsetContactType(long value)voidsetDates(@NotNull NSArray<? extends CNLabeledValue<NSDateComponents>> value)Other Gregorian dates (anniversaries, etc).voidsetDepartmentName(@NotNull java.lang.String value)voidsetEmailAddresses(@NotNull NSArray<? extends CNLabeledValue<java.lang.String>> value)voidsetFamilyName(@NotNull java.lang.String value)voidsetGivenName(@NotNull java.lang.String value)voidsetImageData(@Nullable NSData value)voidsetInstantMessageAddresses(@NotNull NSArray<? extends CNLabeledValue<CNInstantMessageAddress>> value)voidsetJobTitle(@NotNull java.lang.String value)voidsetMiddleName(@NotNull java.lang.String value)voidsetNamePrefix(@NotNull java.lang.String value)voidsetNameSuffix(@NotNull java.lang.String value)voidsetNickname(@NotNull java.lang.String value)voidsetNonGregorianBirthday(@Nullable NSDateComponents value)The alternate birthday (Lunisolar).voidsetNote(@NotNull java.lang.String value)voidsetOrganizationName(@NotNull java.lang.String value)voidsetPhoneNumbers(@NotNull NSArray<? extends CNLabeledValue<CNPhoneNumber>> value)voidsetPhoneticFamilyName(@NotNull java.lang.String value)voidsetPhoneticGivenName(@NotNull java.lang.String value)voidsetPhoneticMiddleName(@NotNull java.lang.String value)voidsetPhoneticOrganizationName(@NotNull java.lang.String value)voidsetPostalAddresses(@NotNull NSArray<? extends CNLabeledValue<CNPostalAddress>> value)voidsetPreviousFamilyName(@NotNull java.lang.String value)voidsetSocialProfiles(@NotNull NSArray<? extends CNLabeledValue<CNSocialProfile>> value)voidsetUrlAddresses(@NotNull NSArray<? extends CNLabeledValue<java.lang.String>> value)static voidsetVersion_static(long aVersion)@NotNull NSArray<? extends CNLabeledValue<CNSocialProfile>>socialProfiles()static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()@NotNull NSArray<? extends CNLabeledValue<java.lang.String>>urlAddresses()static booleanuseStoredAccessor()Deprecated.static longversion_static()static @NotNull NSArray<java.lang.String>writableTypeIdentifiersForItemProvider_static()-
Methods inherited from class apple.contacts.CNContact
areKeysAvailable, copyWithZone, encodeWithCoder, identifier, imageDataAvailable, isKeyAvailable, isUnifiedWithContactWithIdentifier, itemProviderVisibilityForRepresentationWithTypeIdentifier, loadDataWithTypeIdentifierForItemProviderCompletionHandler, mutableCopyWithZone, thumbnailImageData, writableTypeIdentifiersForItemProvider
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static CNMutableContact alloc()
-
allocWithZone
public static CNMutableContact allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
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()
-
comparatorForNameSortOrder
@NotNull public static CNContact.Block_comparatorForNameSortOrder_ret comparatorForNameSortOrder(long sortOrder)
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
descriptorForAllComparatorKeys
@NotNull public static @NotNull CNKeyDescriptor descriptorForAllComparatorKeys()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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)
-
localizedStringForKey
@NotNull public static @NotNull java.lang.String localizedStringForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static CNMutableContact new_objc()
-
predicateForContactsInContainerWithIdentifier
@NotNull public static @NotNull NSPredicate predicateForContactsInContainerWithIdentifier(@NotNull @NotNull java.lang.String containerIdentifier)
-
predicateForContactsInGroupWithIdentifier
@NotNull public static @NotNull NSPredicate predicateForContactsInGroupWithIdentifier(@NotNull @NotNull java.lang.String groupIdentifier)
-
predicateForContactsMatchingName
@NotNull public static @NotNull NSPredicate predicateForContactsMatchingName(@NotNull @NotNull java.lang.String name)
-
predicateForContactsWithIdentifiers
@NotNull public static @NotNull NSPredicate predicateForContactsWithIdentifiers(@NotNull @NotNull NSArray<java.lang.String> identifiers)
-
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()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
birthday
@Nullable public @Nullable NSDateComponents birthday()
The Gregorian birthday. [@description] Only uses day, month and year components. Needs to have at least a day and a month.
-
contactRelations
@NotNull public @NotNull NSArray<? extends CNLabeledValue<CNContactRelation>> contactRelations()
- Overrides:
contactRelationsin classCNContact
-
contactType
public long contactType()
- Overrides:
contactTypein classCNContact
-
dates
@NotNull public @NotNull NSArray<? extends CNLabeledValue<NSDateComponents>> dates()
Other Gregorian dates (anniversaries, etc). [@description] Only uses day, month and year components. Needs to have at least a day and a month.
-
departmentName
@NotNull public @NotNull java.lang.String departmentName()
- Overrides:
departmentNamein classCNContact
-
emailAddresses
@NotNull public @NotNull NSArray<? extends CNLabeledValue<java.lang.String>> emailAddresses()
- Overrides:
emailAddressesin classCNContact
-
familyName
@NotNull public @NotNull java.lang.String familyName()
- Overrides:
familyNamein classCNContact
-
givenName
@NotNull public @NotNull java.lang.String givenName()
-
init
public CNMutableContact init()
-
initWithCoder
public CNMutableContact initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classCNContact
-
instantMessageAddresses
@NotNull public @NotNull NSArray<? extends CNLabeledValue<CNInstantMessageAddress>> instantMessageAddresses()
- Overrides:
instantMessageAddressesin classCNContact
-
jobTitle
@NotNull public @NotNull java.lang.String jobTitle()
-
middleName
@NotNull public @NotNull java.lang.String middleName()
- Overrides:
middleNamein classCNContact
-
namePrefix
@NotNull public @NotNull java.lang.String namePrefix()
- Overrides:
namePrefixin classCNContact
-
nameSuffix
@NotNull public @NotNull java.lang.String nameSuffix()
- Overrides:
nameSuffixin classCNContact
-
nickname
@NotNull public @NotNull java.lang.String nickname()
-
nonGregorianBirthday
@Nullable public @Nullable NSDateComponents nonGregorianBirthday()
The alternate birthday (Lunisolar). [@description] Only uses day, month, year and calendar components. Needs to have at least a day and a month. Calendar must be Chinese, Hebrew or Islamic.- Overrides:
nonGregorianBirthdayin classCNContact
-
organizationName
@NotNull public @NotNull java.lang.String organizationName()
- Overrides:
organizationNamein classCNContact
-
phoneNumbers
@NotNull public @NotNull NSArray<? extends CNLabeledValue<CNPhoneNumber>> phoneNumbers()
- Overrides:
phoneNumbersin classCNContact
-
phoneticFamilyName
@NotNull public @NotNull java.lang.String phoneticFamilyName()
- Overrides:
phoneticFamilyNamein classCNContact
-
phoneticGivenName
@NotNull public @NotNull java.lang.String phoneticGivenName()
- Overrides:
phoneticGivenNamein classCNContact
-
phoneticMiddleName
@NotNull public @NotNull java.lang.String phoneticMiddleName()
- Overrides:
phoneticMiddleNamein classCNContact
-
phoneticOrganizationName
@NotNull public @NotNull java.lang.String phoneticOrganizationName()
Description copied from class:CNContactAPI-Since: 10.0- Overrides:
phoneticOrganizationNamein classCNContact
-
postalAddresses
@NotNull public @NotNull NSArray<? extends CNLabeledValue<CNPostalAddress>> postalAddresses()
- Overrides:
postalAddressesin classCNContact
-
previousFamilyName
@NotNull public @NotNull java.lang.String previousFamilyName()
- Overrides:
previousFamilyNamein classCNContact
-
setBirthday
public void setBirthday(@Nullable @Nullable NSDateComponents value)The Gregorian birthday. [@description] Only uses day, month and year components. Needs to have at least a day and a month.
-
setContactRelations
public void setContactRelations(@NotNull @NotNull NSArray<? extends CNLabeledValue<CNContactRelation>> value)
-
setContactType
public void setContactType(long value)
-
setDates
public void setDates(@NotNull @NotNull NSArray<? extends CNLabeledValue<NSDateComponents>> value)Other Gregorian dates (anniversaries, etc). [@description] Only uses day, month and year components. Needs to have at least a day and a month.
-
setDepartmentName
public void setDepartmentName(@NotNull @NotNull java.lang.String value)
-
setEmailAddresses
public void setEmailAddresses(@NotNull @NotNull NSArray<? extends CNLabeledValue<java.lang.String>> value)
-
setFamilyName
public void setFamilyName(@NotNull @NotNull java.lang.String value)
-
setGivenName
public void setGivenName(@NotNull @NotNull java.lang.String value)
-
setImageData
public void setImageData(@Nullable @Nullable NSData value)
-
setInstantMessageAddresses
public void setInstantMessageAddresses(@NotNull @NotNull NSArray<? extends CNLabeledValue<CNInstantMessageAddress>> value)
-
setJobTitle
public void setJobTitle(@NotNull @NotNull java.lang.String value)
-
setMiddleName
public void setMiddleName(@NotNull @NotNull java.lang.String value)
-
setNamePrefix
public void setNamePrefix(@NotNull @NotNull java.lang.String value)
-
setNameSuffix
public void setNameSuffix(@NotNull @NotNull java.lang.String value)
-
setNickname
public void setNickname(@NotNull @NotNull java.lang.String value)
-
setNonGregorianBirthday
public void setNonGregorianBirthday(@Nullable @Nullable NSDateComponents value)The alternate birthday (Lunisolar). [@description] Only uses day, month, year and calendar components. Needs to have at least a day and a month. Calendar must be Chinese, Hebrew or Islamic.
-
setNote
public void setNote(@NotNull @NotNull java.lang.String value)
-
setOrganizationName
public void setOrganizationName(@NotNull @NotNull java.lang.String value)
-
setPhoneNumbers
public void setPhoneNumbers(@NotNull @NotNull NSArray<? extends CNLabeledValue<CNPhoneNumber>> value)
-
setPhoneticFamilyName
public void setPhoneticFamilyName(@NotNull @NotNull java.lang.String value)
-
setPhoneticGivenName
public void setPhoneticGivenName(@NotNull @NotNull java.lang.String value)
-
setPhoneticMiddleName
public void setPhoneticMiddleName(@NotNull @NotNull java.lang.String value)
-
setPhoneticOrganizationName
public void setPhoneticOrganizationName(@NotNull @NotNull java.lang.String value)
-
setPostalAddresses
public void setPostalAddresses(@NotNull @NotNull NSArray<? extends CNLabeledValue<CNPostalAddress>> value)
-
setPreviousFamilyName
public void setPreviousFamilyName(@NotNull @NotNull java.lang.String value)
-
setSocialProfiles
public void setSocialProfiles(@NotNull @NotNull NSArray<? extends CNLabeledValue<CNSocialProfile>> value)
-
setUrlAddresses
public void setUrlAddresses(@NotNull @NotNull NSArray<? extends CNLabeledValue<java.lang.String>> value)
-
socialProfiles
@NotNull public @NotNull NSArray<? extends CNLabeledValue<CNSocialProfile>> socialProfiles()
- Overrides:
socialProfilesin classCNContact
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding- Overrides:
_supportsSecureCodingin classCNContact
-
urlAddresses
@NotNull public @NotNull NSArray<? extends CNLabeledValue<java.lang.String>> urlAddresses()
- Overrides:
urlAddressesin classCNContact
-
itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public static long itemProviderVisibilityForRepresentationWithTypeIdentifier_static(@NotNull @NotNull java.lang.String typeIdentifier)
-
_itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public long _itemProviderVisibilityForRepresentationWithTypeIdentifier_static(@NotNull @NotNull java.lang.String typeIdentifier)- Specified by:
_itemProviderVisibilityForRepresentationWithTypeIdentifier_staticin interfaceNSItemProviderWriting- Overrides:
_itemProviderVisibilityForRepresentationWithTypeIdentifier_staticin classCNContact
-
objectWithItemProviderDataTypeIdentifierError
@Nullable public static @Nullable CNMutableContact objectWithItemProviderDataTypeIdentifierError(@NotNull @NotNull NSData data, @NotNull @NotNull java.lang.String typeIdentifier, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
-
_objectWithItemProviderDataTypeIdentifierError
@Nullable public @Nullable CNMutableContact _objectWithItemProviderDataTypeIdentifierError(@NotNull @NotNull NSData data, @NotNull @NotNull java.lang.String typeIdentifier, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
- Specified by:
_objectWithItemProviderDataTypeIdentifierErrorin interfaceNSItemProviderReading- Overrides:
_objectWithItemProviderDataTypeIdentifierErrorin classCNContact
-
readableTypeIdentifiersForItemProvider
@NotNull public static @NotNull NSArray<java.lang.String> readableTypeIdentifiersForItemProvider()
-
_readableTypeIdentifiersForItemProvider
@NotNull public @NotNull NSArray<java.lang.String> _readableTypeIdentifiersForItemProvider()
- Specified by:
_readableTypeIdentifiersForItemProviderin interfaceNSItemProviderReading- Overrides:
_readableTypeIdentifiersForItemProviderin classCNContact
-
writableTypeIdentifiersForItemProvider_static
@NotNull public static @NotNull NSArray<java.lang.String> writableTypeIdentifiersForItemProvider_static()
-
_writableTypeIdentifiersForItemProvider_static
@NotNull public @NotNull NSArray<java.lang.String> _writableTypeIdentifiersForItemProvider_static()
- Specified by:
_writableTypeIdentifiersForItemProvider_staticin interfaceNSItemProviderWriting- Overrides:
_writableTypeIdentifiersForItemProvider_staticin classCNContact
-
predicateForContactsMatchingEmailAddress
@NotNull public static @NotNull NSPredicate predicateForContactsMatchingEmailAddress(@NotNull @NotNull java.lang.String emailAddress)
-
predicateForContactsMatchingPhoneNumber
@NotNull public static @NotNull NSPredicate predicateForContactsMatchingPhoneNumber(@NotNull @NotNull CNPhoneNumber phoneNumber)
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-