contacts

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package contacts provides a fluent Go API over the macOS Contacts framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Errors

Failing calls return errors carrying the Objective-C error domain and code. Match them against this package's Err… sentinel values with errors.Is, or inspect domain, code, and Apple's prose via errors.As with *errkit.Error.

Types

Each base type below lists the concrete types you construct and pass where the base is accepted:

Index

Constants

This section is empty.

Variables

View Source
var ErrCodeAuthorizationDenied = errkit.New("CNErrorDomain", 100)

ErrCodeAuthorizationDenied matches the Contacts error CNErrorCodeAuthorizationDenied.

View Source
var ErrCodeChangeHistoryExpired = errkit.New("CNErrorDomain", 603)

ErrCodeChangeHistoryExpired matches the Contacts error CNErrorCodeChangeHistoryExpired.

View Source
var ErrCodeChangeHistoryInvalidAnchor = errkit.New("CNErrorDomain", 604)

ErrCodeChangeHistoryInvalidAnchor matches the Contacts error CNErrorCodeChangeHistoryInvalidAnchor.

View Source
var ErrCodeChangeHistoryInvalidFetchRequest = errkit.New("CNErrorDomain", 605)

ErrCodeChangeHistoryInvalidFetchRequest matches the Contacts error CNErrorCodeChangeHistoryInvalidFetchRequest.

View Source
var ErrCodeClientIdentifierCollision = errkit.New("CNErrorDomain", 602)

ErrCodeClientIdentifierCollision matches the Contacts error CNErrorCodeClientIdentifierCollision.

View Source
var ErrCodeClientIdentifierDoesNotExist = errkit.New("CNErrorDomain", 601)

ErrCodeClientIdentifierDoesNotExist matches the Contacts error CNErrorCodeClientIdentifierDoesNotExist.

View Source
var ErrCodeClientIdentifierInvalid = errkit.New("CNErrorDomain", 600)

ErrCodeClientIdentifierInvalid matches the Contacts error CNErrorCodeClientIdentifierInvalid.

View Source
var ErrCodeCommunicationError = errkit.New("CNErrorDomain", 1)

ErrCodeCommunicationError matches the Contacts error CNErrorCodeCommunicationError.

View Source
var ErrCodeContainmentCycle = errkit.New("CNErrorDomain", 202)

ErrCodeContainmentCycle matches the Contacts error CNErrorCodeContainmentCycle.

View Source
var ErrCodeContainmentScope = errkit.New("CNErrorDomain", 203)

ErrCodeContainmentScope matches the Contacts error CNErrorCodeContainmentScope.

View Source
var ErrCodeDataAccessError = errkit.New("CNErrorDomain", 2)

ErrCodeDataAccessError matches the Contacts error CNErrorCodeDataAccessError.

View Source
var ErrCodeFeatureDisabledByUser = errkit.New("CNErrorDomain", 103)

ErrCodeFeatureDisabledByUser matches the Contacts error CNErrorCodeFeatureDisabledByUser.

View Source
var ErrCodeFeatureNotAvailable = errkit.New("CNErrorDomain", 104)

ErrCodeFeatureNotAvailable matches the Contacts error CNErrorCodeFeatureNotAvailable.

View Source
var ErrCodeInsertedRecordAlreadyExists = errkit.New("CNErrorDomain", 201)

ErrCodeInsertedRecordAlreadyExists matches the Contacts error CNErrorCodeInsertedRecordAlreadyExists.

View Source
var ErrCodeNoAccessableWritableContainers = errkit.New("CNErrorDomain", 101)

ErrCodeNoAccessableWritableContainers matches the Contacts error CNErrorCodeNoAccessableWritableContainers.

View Source
var ErrCodeParentContainerNotWritable = errkit.New("CNErrorDomain", 207)

ErrCodeParentContainerNotWritable matches the Contacts error CNErrorCodeParentContainerNotWritable.

View Source
var ErrCodeParentRecordDoesNotExist = errkit.New("CNErrorDomain", 204)

ErrCodeParentRecordDoesNotExist matches the Contacts error CNErrorCodeParentRecordDoesNotExist.

View Source
var ErrCodePolicyViolation = errkit.New("CNErrorDomain", 500)

ErrCodePolicyViolation matches the Contacts error CNErrorCodePolicyViolation.

View Source
var ErrCodePredicateInvalid = errkit.New("CNErrorDomain", 400)

ErrCodePredicateInvalid matches the Contacts error CNErrorCodePredicateInvalid.

View Source
var ErrCodeRecordDoesNotExist = errkit.New("CNErrorDomain", 200)

ErrCodeRecordDoesNotExist matches the Contacts error CNErrorCodeRecordDoesNotExist.

View Source
var ErrCodeRecordIdentifierInvalid = errkit.New("CNErrorDomain", 205)

ErrCodeRecordIdentifierInvalid matches the Contacts error CNErrorCodeRecordIdentifierInvalid.

View Source
var ErrCodeRecordNotWritable = errkit.New("CNErrorDomain", 206)

ErrCodeRecordNotWritable matches the Contacts error CNErrorCodeRecordNotWritable.

View Source
var ErrCodeUnauthorizedKeys = errkit.New("CNErrorDomain", 102)

ErrCodeUnauthorizedKeys matches the Contacts error CNErrorCodeUnauthorizedKeys.

View Source
var ErrCodeVCardMalformed = errkit.New("CNErrorDomain", 700)

ErrCodeVCardMalformed matches the Contacts error CNErrorCodeVCardMalformed.

View Source
var ErrCodeVCardSummarizationError = errkit.New("CNErrorDomain", 701)

ErrCodeVCardSummarizationError matches the Contacts error CNErrorCodeVCardSummarizationError.

View Source
var ErrCodeValidationConfigurationError = errkit.New("CNErrorDomain", 302)

ErrCodeValidationConfigurationError matches the Contacts error CNErrorCodeValidationConfigurationError.

View Source
var ErrCodeValidationMultipleErrors = errkit.New("CNErrorDomain", 300)

ErrCodeValidationMultipleErrors matches the Contacts error CNErrorCodeValidationMultipleErrors.

View Source
var ErrCodeValidationTypeMismatch = errkit.New("CNErrorDomain", 301)

ErrCodeValidationTypeMismatch matches the Contacts error CNErrorCodeValidationTypeMismatch.

Functions

func AttributedStringFromContactStyleDefaultAttributes added in v0.17.0

func AttributedStringFromContactStyleDefaultAttributes(contact *Contact, style ContactFormatterStyle, attributes obj.Object) *foundation.AttributedString

AttributedStringFromContactStyleDefaultAttributes formats the contact name as an attributed string.

func AttributedStringFromPostalAddressStyleWithDefaultAttributes added in v0.17.0

func AttributedStringFromPostalAddressStyleWithDefaultAttributes(postalAddress *PostalAddress, style PostalAddressFormatterStyle, attributes obj.Object) *foundation.AttributedString

AttributedStringFromPostalAddressStyleWithDefaultAttributes returns a postal address as an attributed string and formatted for the specified style.

func CNContactBirthdayKey

func CNContactBirthdayKey() obj.Object

CNContactBirthdayKey returns the string constant CNContactBirthdayKey, for use as a dictionary key or argument.

func CNContactDatesKey

func CNContactDatesKey() obj.Object

CNContactDatesKey returns the string constant CNContactDatesKey, for use as a dictionary key or argument.

func CNContactDepartmentNameKey

func CNContactDepartmentNameKey() obj.Object

CNContactDepartmentNameKey returns the string constant CNContactDepartmentNameKey, for use as a dictionary key or argument.

func CNContactEmailAddressesKey

func CNContactEmailAddressesKey() obj.Object

CNContactEmailAddressesKey returns the string constant CNContactEmailAddressesKey, for use as a dictionary key or argument.

func CNContactFamilyNameKey

func CNContactFamilyNameKey() obj.Object

CNContactFamilyNameKey returns the string constant CNContactFamilyNameKey, for use as a dictionary key or argument.

func CNContactGivenNameKey

func CNContactGivenNameKey() obj.Object

CNContactGivenNameKey returns the string constant CNContactGivenNameKey, for use as a dictionary key or argument.

func CNContactIdentifierKey

func CNContactIdentifierKey() obj.Object

CNContactIdentifierKey returns the string constant CNContactIdentifierKey, for use as a dictionary key or argument.

func CNContactImageDataAvailableKey

func CNContactImageDataAvailableKey() obj.Object

CNContactImageDataAvailableKey returns the string constant CNContactImageDataAvailableKey, for use as a dictionary key or argument.

func CNContactImageDataKey

func CNContactImageDataKey() obj.Object

CNContactImageDataKey returns the string constant CNContactImageDataKey, for use as a dictionary key or argument.

func CNContactInstantMessageAddressesKey

func CNContactInstantMessageAddressesKey() obj.Object

CNContactInstantMessageAddressesKey returns the string constant CNContactInstantMessageAddressesKey, for use as a dictionary key or argument.

func CNContactJobTitleKey

func CNContactJobTitleKey() obj.Object

CNContactJobTitleKey returns the string constant CNContactJobTitleKey, for use as a dictionary key or argument.

func CNContactMiddleNameKey

func CNContactMiddleNameKey() obj.Object

CNContactMiddleNameKey returns the string constant CNContactMiddleNameKey, for use as a dictionary key or argument.

func CNContactNamePrefixKey

func CNContactNamePrefixKey() obj.Object

CNContactNamePrefixKey returns the string constant CNContactNamePrefixKey, for use as a dictionary key or argument.

func CNContactNameSuffixKey

func CNContactNameSuffixKey() obj.Object

CNContactNameSuffixKey returns the string constant CNContactNameSuffixKey, for use as a dictionary key or argument.

func CNContactNicknameKey

func CNContactNicknameKey() obj.Object

CNContactNicknameKey returns the string constant CNContactNicknameKey, for use as a dictionary key or argument.

func CNContactNonGregorianBirthdayKey

func CNContactNonGregorianBirthdayKey() obj.Object

CNContactNonGregorianBirthdayKey returns the string constant CNContactNonGregorianBirthdayKey, for use as a dictionary key or argument.

func CNContactNoteKey

func CNContactNoteKey() obj.Object

CNContactNoteKey returns the string constant CNContactNoteKey, for use as a dictionary key or argument.

func CNContactOrganizationNameKey

func CNContactOrganizationNameKey() obj.Object

CNContactOrganizationNameKey returns the string constant CNContactOrganizationNameKey, for use as a dictionary key or argument.

func CNContactPhoneNumbersKey

func CNContactPhoneNumbersKey() obj.Object

CNContactPhoneNumbersKey returns the string constant CNContactPhoneNumbersKey, for use as a dictionary key or argument.

func CNContactPhoneticFamilyNameKey

func CNContactPhoneticFamilyNameKey() obj.Object

CNContactPhoneticFamilyNameKey returns the string constant CNContactPhoneticFamilyNameKey, for use as a dictionary key or argument.

func CNContactPhoneticGivenNameKey

func CNContactPhoneticGivenNameKey() obj.Object

CNContactPhoneticGivenNameKey returns the string constant CNContactPhoneticGivenNameKey, for use as a dictionary key or argument.

func CNContactPhoneticMiddleNameKey

func CNContactPhoneticMiddleNameKey() obj.Object

CNContactPhoneticMiddleNameKey returns the string constant CNContactPhoneticMiddleNameKey, for use as a dictionary key or argument.

func CNContactPhoneticOrganizationNameKey

func CNContactPhoneticOrganizationNameKey() obj.Object

CNContactPhoneticOrganizationNameKey returns the string constant CNContactPhoneticOrganizationNameKey, for use as a dictionary key or argument.

func CNContactPostalAddressesKey

func CNContactPostalAddressesKey() obj.Object

CNContactPostalAddressesKey returns the string constant CNContactPostalAddressesKey, for use as a dictionary key or argument.

func CNContactPreviousFamilyNameKey

func CNContactPreviousFamilyNameKey() obj.Object

CNContactPreviousFamilyNameKey returns the string constant CNContactPreviousFamilyNameKey, for use as a dictionary key or argument.

func CNContactPropertyAttribute

func CNContactPropertyAttribute() obj.Object

CNContactPropertyAttribute returns the string constant CNContactPropertyAttribute, for use as a dictionary key or argument.

func CNContactPropertyNotFetchedExceptionName

func CNContactPropertyNotFetchedExceptionName() obj.Object

CNContactPropertyNotFetchedExceptionName returns the string constant CNContactPropertyNotFetchedExceptionName, for use as a dictionary key or argument.

func CNContactRelationsKey

func CNContactRelationsKey() obj.Object

CNContactRelationsKey returns the string constant CNContactRelationsKey, for use as a dictionary key or argument.

func CNContactSocialProfilesKey

func CNContactSocialProfilesKey() obj.Object

CNContactSocialProfilesKey returns the string constant CNContactSocialProfilesKey, for use as a dictionary key or argument.

func CNContactStoreDidChangeNotification

func CNContactStoreDidChangeNotification() obj.Object

CNContactStoreDidChangeNotification returns the string constant CNContactStoreDidChangeNotification, for use as a dictionary key or argument.

func CNContactThumbnailImageDataKey

func CNContactThumbnailImageDataKey() obj.Object

CNContactThumbnailImageDataKey returns the string constant CNContactThumbnailImageDataKey, for use as a dictionary key or argument.

func CNContactTypeKey

func CNContactTypeKey() obj.Object

CNContactTypeKey returns the string constant CNContactTypeKey, for use as a dictionary key or argument.

func CNContactUrlAddressesKey

func CNContactUrlAddressesKey() obj.Object

CNContactUrlAddressesKey returns the string constant CNContactUrlAddressesKey, for use as a dictionary key or argument.

func CNContainerIdentifierKey

func CNContainerIdentifierKey() obj.Object

CNContainerIdentifierKey returns the string constant CNContainerIdentifierKey, for use as a dictionary key or argument.

func CNContainerNameKey

func CNContainerNameKey() obj.Object

CNContainerNameKey returns the string constant CNContainerNameKey, for use as a dictionary key or argument.

func CNContainerTypeKey

func CNContainerTypeKey() obj.Object

CNContainerTypeKey returns the string constant CNContainerTypeKey, for use as a dictionary key or argument.

func CNErrorDomain

func CNErrorDomain() obj.Object

CNErrorDomain returns the string constant CNErrorDomain, for use as a dictionary key or argument.

func CNErrorUserInfoAffectedRecordIdentifiersKey

func CNErrorUserInfoAffectedRecordIdentifiersKey() obj.Object

CNErrorUserInfoAffectedRecordIdentifiersKey returns the string constant CNErrorUserInfoAffectedRecordIdentifiersKey, for use as a dictionary key or argument.

func CNErrorUserInfoAffectedRecordsKey

func CNErrorUserInfoAffectedRecordsKey() obj.Object

CNErrorUserInfoAffectedRecordsKey returns the string constant CNErrorUserInfoAffectedRecordsKey, for use as a dictionary key or argument.

func CNErrorUserInfoKeyPathsKey

func CNErrorUserInfoKeyPathsKey() obj.Object

CNErrorUserInfoKeyPathsKey returns the string constant CNErrorUserInfoKeyPathsKey, for use as a dictionary key or argument.

func CNErrorUserInfoValidationErrorsKey

func CNErrorUserInfoValidationErrorsKey() obj.Object

CNErrorUserInfoValidationErrorsKey returns the string constant CNErrorUserInfoValidationErrorsKey, for use as a dictionary key or argument.

func CNGroupIdentifierKey

func CNGroupIdentifierKey() obj.Object

CNGroupIdentifierKey returns the string constant CNGroupIdentifierKey, for use as a dictionary key or argument.

func CNGroupNameKey

func CNGroupNameKey() obj.Object

CNGroupNameKey returns the string constant CNGroupNameKey, for use as a dictionary key or argument.

func CNInstantMessageAddressLocalizedStringForKey

func CNInstantMessageAddressLocalizedStringForKey(key string) string

CNInstantMessageAddressLocalizedStringForKey returns a string containing the localized property name.

func CNInstantMessageAddressServiceKey

func CNInstantMessageAddressServiceKey() obj.Object

CNInstantMessageAddressServiceKey returns the string constant CNInstantMessageAddressServiceKey, for use as a dictionary key or argument.

func CNInstantMessageAddressUsernameKey

func CNInstantMessageAddressUsernameKey() obj.Object

CNInstantMessageAddressUsernameKey returns the string constant CNInstantMessageAddressUsernameKey, for use as a dictionary key or argument.

func CNInstantMessageServiceAIM

func CNInstantMessageServiceAIM() obj.Object

CNInstantMessageServiceAIM returns the string constant CNInstantMessageServiceAIM, for use as a dictionary key or argument.

func CNInstantMessageServiceFacebook

func CNInstantMessageServiceFacebook() obj.Object

CNInstantMessageServiceFacebook returns the string constant CNInstantMessageServiceFacebook, for use as a dictionary key or argument.

func CNInstantMessageServiceGaduGadu

func CNInstantMessageServiceGaduGadu() obj.Object

CNInstantMessageServiceGaduGadu returns the string constant CNInstantMessageServiceGaduGadu, for use as a dictionary key or argument.

func CNInstantMessageServiceGoogleTalk

func CNInstantMessageServiceGoogleTalk() obj.Object

CNInstantMessageServiceGoogleTalk returns the string constant CNInstantMessageServiceGoogleTalk, for use as a dictionary key or argument.

func CNInstantMessageServiceICQ

func CNInstantMessageServiceICQ() obj.Object

CNInstantMessageServiceICQ returns the string constant CNInstantMessageServiceICQ, for use as a dictionary key or argument.

func CNInstantMessageServiceJabber

func CNInstantMessageServiceJabber() obj.Object

CNInstantMessageServiceJabber returns the string constant CNInstantMessageServiceJabber, for use as a dictionary key or argument.

func CNInstantMessageServiceMSN

func CNInstantMessageServiceMSN() obj.Object

CNInstantMessageServiceMSN returns the string constant CNInstantMessageServiceMSN, for use as a dictionary key or argument.

func CNInstantMessageServiceQQ

func CNInstantMessageServiceQQ() obj.Object

CNInstantMessageServiceQQ returns the string constant CNInstantMessageServiceQQ, for use as a dictionary key or argument.

func CNInstantMessageServiceSkype

func CNInstantMessageServiceSkype() obj.Object

CNInstantMessageServiceSkype returns the string constant CNInstantMessageServiceSkype, for use as a dictionary key or argument.

func CNInstantMessageServiceYahoo

func CNInstantMessageServiceYahoo() obj.Object

CNInstantMessageServiceYahoo returns the string constant CNInstantMessageServiceYahoo, for use as a dictionary key or argument.

func CNLabelContactRelationAssistant

func CNLabelContactRelationAssistant() obj.Object

CNLabelContactRelationAssistant returns the string constant CNLabelContactRelationAssistant, for use as a dictionary key or argument.

func CNLabelContactRelationAunt

func CNLabelContactRelationAunt() obj.Object

CNLabelContactRelationAunt returns the string constant CNLabelContactRelationAunt, for use as a dictionary key or argument.

func CNLabelContactRelationAuntFathersBrothersWife

func CNLabelContactRelationAuntFathersBrothersWife() obj.Object

CNLabelContactRelationAuntFathersBrothersWife returns the string constant CNLabelContactRelationAuntFathersBrothersWife, for use as a dictionary key or argument.

func CNLabelContactRelationAuntFathersElderBrothersWife

func CNLabelContactRelationAuntFathersElderBrothersWife() obj.Object

CNLabelContactRelationAuntFathersElderBrothersWife returns the string constant CNLabelContactRelationAuntFathersElderBrothersWife, for use as a dictionary key or argument.

func CNLabelContactRelationAuntFathersElderSister

func CNLabelContactRelationAuntFathersElderSister() obj.Object

CNLabelContactRelationAuntFathersElderSister returns the string constant CNLabelContactRelationAuntFathersElderSister, for use as a dictionary key or argument.

func CNLabelContactRelationAuntFathersSister

func CNLabelContactRelationAuntFathersSister() obj.Object

CNLabelContactRelationAuntFathersSister returns the string constant CNLabelContactRelationAuntFathersSister, for use as a dictionary key or argument.

func CNLabelContactRelationAuntFathersYoungerBrothersWife

func CNLabelContactRelationAuntFathersYoungerBrothersWife() obj.Object

CNLabelContactRelationAuntFathersYoungerBrothersWife returns the string constant CNLabelContactRelationAuntFathersYoungerBrothersWife, for use as a dictionary key or argument.

func CNLabelContactRelationAuntFathersYoungerSister

func CNLabelContactRelationAuntFathersYoungerSister() obj.Object

CNLabelContactRelationAuntFathersYoungerSister returns the string constant CNLabelContactRelationAuntFathersYoungerSister, for use as a dictionary key or argument.

func CNLabelContactRelationAuntMothersBrothersWife

func CNLabelContactRelationAuntMothersBrothersWife() obj.Object

CNLabelContactRelationAuntMothersBrothersWife returns the string constant CNLabelContactRelationAuntMothersBrothersWife, for use as a dictionary key or argument.

func CNLabelContactRelationAuntMothersElderSister

func CNLabelContactRelationAuntMothersElderSister() obj.Object

CNLabelContactRelationAuntMothersElderSister returns the string constant CNLabelContactRelationAuntMothersElderSister, for use as a dictionary key or argument.

func CNLabelContactRelationAuntMothersSister

func CNLabelContactRelationAuntMothersSister() obj.Object

CNLabelContactRelationAuntMothersSister returns the string constant CNLabelContactRelationAuntMothersSister, for use as a dictionary key or argument.

func CNLabelContactRelationAuntMothersYoungerSister

func CNLabelContactRelationAuntMothersYoungerSister() obj.Object

CNLabelContactRelationAuntMothersYoungerSister returns the string constant CNLabelContactRelationAuntMothersYoungerSister, for use as a dictionary key or argument.

func CNLabelContactRelationAuntParentsElderSister

func CNLabelContactRelationAuntParentsElderSister() obj.Object

CNLabelContactRelationAuntParentsElderSister returns the string constant CNLabelContactRelationAuntParentsElderSister, for use as a dictionary key or argument.

func CNLabelContactRelationAuntParentsSister

func CNLabelContactRelationAuntParentsSister() obj.Object

CNLabelContactRelationAuntParentsSister returns the string constant CNLabelContactRelationAuntParentsSister, for use as a dictionary key or argument.

func CNLabelContactRelationAuntParentsYoungerSister

func CNLabelContactRelationAuntParentsYoungerSister() obj.Object

CNLabelContactRelationAuntParentsYoungerSister returns the string constant CNLabelContactRelationAuntParentsYoungerSister, for use as a dictionary key or argument.

func CNLabelContactRelationBoyfriend

func CNLabelContactRelationBoyfriend() obj.Object

CNLabelContactRelationBoyfriend returns the string constant CNLabelContactRelationBoyfriend, for use as a dictionary key or argument.

func CNLabelContactRelationBrother

func CNLabelContactRelationBrother() obj.Object

CNLabelContactRelationBrother returns the string constant CNLabelContactRelationBrother, for use as a dictionary key or argument.

func CNLabelContactRelationBrotherInLaw

func CNLabelContactRelationBrotherInLaw() obj.Object

CNLabelContactRelationBrotherInLaw returns the string constant CNLabelContactRelationBrotherInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationBrotherInLawElderSistersHusband

func CNLabelContactRelationBrotherInLawElderSistersHusband() obj.Object

CNLabelContactRelationBrotherInLawElderSistersHusband returns the string constant CNLabelContactRelationBrotherInLawElderSistersHusband, for use as a dictionary key or argument.

func CNLabelContactRelationBrotherInLawHusbandsBrother

func CNLabelContactRelationBrotherInLawHusbandsBrother() obj.Object

CNLabelContactRelationBrotherInLawHusbandsBrother returns the string constant CNLabelContactRelationBrotherInLawHusbandsBrother, for use as a dictionary key or argument.

func CNLabelContactRelationBrotherInLawHusbandsSistersHusband

func CNLabelContactRelationBrotherInLawHusbandsSistersHusband() obj.Object

CNLabelContactRelationBrotherInLawHusbandsSistersHusband returns the string constant CNLabelContactRelationBrotherInLawHusbandsSistersHusband, for use as a dictionary key or argument.

func CNLabelContactRelationBrotherInLawSistersHusband

func CNLabelContactRelationBrotherInLawSistersHusband() obj.Object

CNLabelContactRelationBrotherInLawSistersHusband returns the string constant CNLabelContactRelationBrotherInLawSistersHusband, for use as a dictionary key or argument.

func CNLabelContactRelationBrotherInLawSpousesBrother

func CNLabelContactRelationBrotherInLawSpousesBrother() obj.Object

CNLabelContactRelationBrotherInLawSpousesBrother returns the string constant CNLabelContactRelationBrotherInLawSpousesBrother, for use as a dictionary key or argument.

func CNLabelContactRelationBrotherInLawWifesBrother

func CNLabelContactRelationBrotherInLawWifesBrother() obj.Object

CNLabelContactRelationBrotherInLawWifesBrother returns the string constant CNLabelContactRelationBrotherInLawWifesBrother, for use as a dictionary key or argument.

func CNLabelContactRelationBrotherInLawWifesSistersHusband

func CNLabelContactRelationBrotherInLawWifesSistersHusband() obj.Object

CNLabelContactRelationBrotherInLawWifesSistersHusband returns the string constant CNLabelContactRelationBrotherInLawWifesSistersHusband, for use as a dictionary key or argument.

func CNLabelContactRelationBrotherInLawYoungerSistersHusband

func CNLabelContactRelationBrotherInLawYoungerSistersHusband() obj.Object

CNLabelContactRelationBrotherInLawYoungerSistersHusband returns the string constant CNLabelContactRelationBrotherInLawYoungerSistersHusband, for use as a dictionary key or argument.

func CNLabelContactRelationChild

func CNLabelContactRelationChild() obj.Object

CNLabelContactRelationChild returns the string constant CNLabelContactRelationChild, for use as a dictionary key or argument.

func CNLabelContactRelationChildInLaw

func CNLabelContactRelationChildInLaw() obj.Object

CNLabelContactRelationChildInLaw returns the string constant CNLabelContactRelationChildInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationCoBrotherInLaw

func CNLabelContactRelationCoBrotherInLaw() obj.Object

CNLabelContactRelationCoBrotherInLaw returns the string constant CNLabelContactRelationCoBrotherInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationCoFatherInLaw

func CNLabelContactRelationCoFatherInLaw() obj.Object

CNLabelContactRelationCoFatherInLaw returns the string constant CNLabelContactRelationCoFatherInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationCoMotherInLaw

func CNLabelContactRelationCoMotherInLaw() obj.Object

CNLabelContactRelationCoMotherInLaw returns the string constant CNLabelContactRelationCoMotherInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationCoParentInLaw

func CNLabelContactRelationCoParentInLaw() obj.Object

CNLabelContactRelationCoParentInLaw returns the string constant CNLabelContactRelationCoParentInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationCoSiblingInLaw

func CNLabelContactRelationCoSiblingInLaw() obj.Object

CNLabelContactRelationCoSiblingInLaw returns the string constant CNLabelContactRelationCoSiblingInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationCoSisterInLaw

func CNLabelContactRelationCoSisterInLaw() obj.Object

CNLabelContactRelationCoSisterInLaw returns the string constant CNLabelContactRelationCoSisterInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationColleague

func CNLabelContactRelationColleague() obj.Object

CNLabelContactRelationColleague returns the string constant CNLabelContactRelationColleague, for use as a dictionary key or argument.

func CNLabelContactRelationCousin

func CNLabelContactRelationCousin() obj.Object

CNLabelContactRelationCousin returns the string constant CNLabelContactRelationCousin, for use as a dictionary key or argument.

func CNLabelContactRelationCousinFathersBrothersDaughter

func CNLabelContactRelationCousinFathersBrothersDaughter() obj.Object

CNLabelContactRelationCousinFathersBrothersDaughter returns the string constant CNLabelContactRelationCousinFathersBrothersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationCousinFathersBrothersSon

func CNLabelContactRelationCousinFathersBrothersSon() obj.Object

CNLabelContactRelationCousinFathersBrothersSon returns the string constant CNLabelContactRelationCousinFathersBrothersSon, for use as a dictionary key or argument.

func CNLabelContactRelationCousinFathersSistersDaughter

func CNLabelContactRelationCousinFathersSistersDaughter() obj.Object

CNLabelContactRelationCousinFathersSistersDaughter returns the string constant CNLabelContactRelationCousinFathersSistersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationCousinFathersSistersSon

func CNLabelContactRelationCousinFathersSistersSon() obj.Object

CNLabelContactRelationCousinFathersSistersSon returns the string constant CNLabelContactRelationCousinFathersSistersSon, for use as a dictionary key or argument.

func CNLabelContactRelationCousinGrandparentsSiblingsChild

func CNLabelContactRelationCousinGrandparentsSiblingsChild() obj.Object

CNLabelContactRelationCousinGrandparentsSiblingsChild returns the string constant CNLabelContactRelationCousinGrandparentsSiblingsChild, for use as a dictionary key or argument.

func CNLabelContactRelationCousinGrandparentsSiblingsDaughter

func CNLabelContactRelationCousinGrandparentsSiblingsDaughter() obj.Object

CNLabelContactRelationCousinGrandparentsSiblingsDaughter returns the string constant CNLabelContactRelationCousinGrandparentsSiblingsDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationCousinGrandparentsSiblingsSon

func CNLabelContactRelationCousinGrandparentsSiblingsSon() obj.Object

CNLabelContactRelationCousinGrandparentsSiblingsSon returns the string constant CNLabelContactRelationCousinGrandparentsSiblingsSon, for use as a dictionary key or argument.

func CNLabelContactRelationCousinMothersBrothersDaughter

func CNLabelContactRelationCousinMothersBrothersDaughter() obj.Object

CNLabelContactRelationCousinMothersBrothersDaughter returns the string constant CNLabelContactRelationCousinMothersBrothersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationCousinMothersBrothersSon

func CNLabelContactRelationCousinMothersBrothersSon() obj.Object

CNLabelContactRelationCousinMothersBrothersSon returns the string constant CNLabelContactRelationCousinMothersBrothersSon, for use as a dictionary key or argument.

func CNLabelContactRelationCousinMothersSistersDaughter

func CNLabelContactRelationCousinMothersSistersDaughter() obj.Object

CNLabelContactRelationCousinMothersSistersDaughter returns the string constant CNLabelContactRelationCousinMothersSistersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationCousinMothersSistersSon

func CNLabelContactRelationCousinMothersSistersSon() obj.Object

CNLabelContactRelationCousinMothersSistersSon returns the string constant CNLabelContactRelationCousinMothersSistersSon, for use as a dictionary key or argument.

func CNLabelContactRelationCousinOrSiblingsChild

func CNLabelContactRelationCousinOrSiblingsChild() obj.Object

CNLabelContactRelationCousinOrSiblingsChild returns the string constant CNLabelContactRelationCousinOrSiblingsChild, for use as a dictionary key or argument.

func CNLabelContactRelationCousinParentsSiblingsChild

func CNLabelContactRelationCousinParentsSiblingsChild() obj.Object

CNLabelContactRelationCousinParentsSiblingsChild returns the string constant CNLabelContactRelationCousinParentsSiblingsChild, for use as a dictionary key or argument.

func CNLabelContactRelationCousinParentsSiblingsDaughter

func CNLabelContactRelationCousinParentsSiblingsDaughter() obj.Object

CNLabelContactRelationCousinParentsSiblingsDaughter returns the string constant CNLabelContactRelationCousinParentsSiblingsDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationCousinParentsSiblingsSon

func CNLabelContactRelationCousinParentsSiblingsSon() obj.Object

CNLabelContactRelationCousinParentsSiblingsSon returns the string constant CNLabelContactRelationCousinParentsSiblingsSon, for use as a dictionary key or argument.

func CNLabelContactRelationDaughter

func CNLabelContactRelationDaughter() obj.Object

CNLabelContactRelationDaughter returns the string constant CNLabelContactRelationDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationDaughterInLaw

func CNLabelContactRelationDaughterInLaw() obj.Object

CNLabelContactRelationDaughterInLaw returns the string constant CNLabelContactRelationDaughterInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationDaughterInLawOrSisterInLaw

func CNLabelContactRelationDaughterInLawOrSisterInLaw() obj.Object

CNLabelContactRelationDaughterInLawOrSisterInLaw returns the string constant CNLabelContactRelationDaughterInLawOrSisterInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationDaughterInLawOrStepdaughter

func CNLabelContactRelationDaughterInLawOrStepdaughter() obj.Object

CNLabelContactRelationDaughterInLawOrStepdaughter returns the string constant CNLabelContactRelationDaughterInLawOrStepdaughter, for use as a dictionary key or argument.

func CNLabelContactRelationElderBrother

func CNLabelContactRelationElderBrother() obj.Object

CNLabelContactRelationElderBrother returns the string constant CNLabelContactRelationElderBrother, for use as a dictionary key or argument.

func CNLabelContactRelationElderBrotherInLaw

func CNLabelContactRelationElderBrotherInLaw() obj.Object

CNLabelContactRelationElderBrotherInLaw returns the string constant CNLabelContactRelationElderBrotherInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousin

func CNLabelContactRelationElderCousin() obj.Object

CNLabelContactRelationElderCousin returns the string constant CNLabelContactRelationElderCousin, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinFathersBrothersDaughter

func CNLabelContactRelationElderCousinFathersBrothersDaughter() obj.Object

CNLabelContactRelationElderCousinFathersBrothersDaughter returns the string constant CNLabelContactRelationElderCousinFathersBrothersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinFathersBrothersSon

func CNLabelContactRelationElderCousinFathersBrothersSon() obj.Object

CNLabelContactRelationElderCousinFathersBrothersSon returns the string constant CNLabelContactRelationElderCousinFathersBrothersSon, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinFathersSistersDaughter

func CNLabelContactRelationElderCousinFathersSistersDaughter() obj.Object

CNLabelContactRelationElderCousinFathersSistersDaughter returns the string constant CNLabelContactRelationElderCousinFathersSistersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinFathersSistersSon

func CNLabelContactRelationElderCousinFathersSistersSon() obj.Object

CNLabelContactRelationElderCousinFathersSistersSon returns the string constant CNLabelContactRelationElderCousinFathersSistersSon, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinMothersBrothersDaughter

func CNLabelContactRelationElderCousinMothersBrothersDaughter() obj.Object

CNLabelContactRelationElderCousinMothersBrothersDaughter returns the string constant CNLabelContactRelationElderCousinMothersBrothersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinMothersBrothersSon

func CNLabelContactRelationElderCousinMothersBrothersSon() obj.Object

CNLabelContactRelationElderCousinMothersBrothersSon returns the string constant CNLabelContactRelationElderCousinMothersBrothersSon, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinMothersSiblingsDaughterOrFathersSistersDaughter

func CNLabelContactRelationElderCousinMothersSiblingsDaughterOrFathersSistersDaughter() obj.Object

CNLabelContactRelationElderCousinMothersSiblingsDaughterOrFathersSistersDaughter returns the string constant CNLabelContactRelationElderCousinMothersSiblingsDaughterOrFathersSistersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinMothersSiblingsSonOrFathersSistersSon

func CNLabelContactRelationElderCousinMothersSiblingsSonOrFathersSistersSon() obj.Object

CNLabelContactRelationElderCousinMothersSiblingsSonOrFathersSistersSon returns the string constant CNLabelContactRelationElderCousinMothersSiblingsSonOrFathersSistersSon, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinMothersSistersDaughter

func CNLabelContactRelationElderCousinMothersSistersDaughter() obj.Object

CNLabelContactRelationElderCousinMothersSistersDaughter returns the string constant CNLabelContactRelationElderCousinMothersSistersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinMothersSistersSon

func CNLabelContactRelationElderCousinMothersSistersSon() obj.Object

CNLabelContactRelationElderCousinMothersSistersSon returns the string constant CNLabelContactRelationElderCousinMothersSistersSon, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinParentsSiblingsDaughter

func CNLabelContactRelationElderCousinParentsSiblingsDaughter() obj.Object

CNLabelContactRelationElderCousinParentsSiblingsDaughter returns the string constant CNLabelContactRelationElderCousinParentsSiblingsDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationElderCousinParentsSiblingsSon

func CNLabelContactRelationElderCousinParentsSiblingsSon() obj.Object

CNLabelContactRelationElderCousinParentsSiblingsSon returns the string constant CNLabelContactRelationElderCousinParentsSiblingsSon, for use as a dictionary key or argument.

func CNLabelContactRelationElderSibling

func CNLabelContactRelationElderSibling() obj.Object

CNLabelContactRelationElderSibling returns the string constant CNLabelContactRelationElderSibling, for use as a dictionary key or argument.

func CNLabelContactRelationElderSiblingInLaw

func CNLabelContactRelationElderSiblingInLaw() obj.Object

CNLabelContactRelationElderSiblingInLaw returns the string constant CNLabelContactRelationElderSiblingInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationElderSister

func CNLabelContactRelationElderSister() obj.Object

CNLabelContactRelationElderSister returns the string constant CNLabelContactRelationElderSister, for use as a dictionary key or argument.

func CNLabelContactRelationElderSisterInLaw

func CNLabelContactRelationElderSisterInLaw() obj.Object

CNLabelContactRelationElderSisterInLaw returns the string constant CNLabelContactRelationElderSisterInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationEldestBrother

func CNLabelContactRelationEldestBrother() obj.Object

CNLabelContactRelationEldestBrother returns the string constant CNLabelContactRelationEldestBrother, for use as a dictionary key or argument.

func CNLabelContactRelationEldestSister

func CNLabelContactRelationEldestSister() obj.Object

CNLabelContactRelationEldestSister returns the string constant CNLabelContactRelationEldestSister, for use as a dictionary key or argument.

func CNLabelContactRelationFather

func CNLabelContactRelationFather() obj.Object

CNLabelContactRelationFather returns the string constant CNLabelContactRelationFather, for use as a dictionary key or argument.

func CNLabelContactRelationFatherInLaw

func CNLabelContactRelationFatherInLaw() obj.Object

CNLabelContactRelationFatherInLaw returns the string constant CNLabelContactRelationFatherInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationFatherInLawHusbandsFather

func CNLabelContactRelationFatherInLawHusbandsFather() obj.Object

CNLabelContactRelationFatherInLawHusbandsFather returns the string constant CNLabelContactRelationFatherInLawHusbandsFather, for use as a dictionary key or argument.

func CNLabelContactRelationFatherInLawOrStepfather

func CNLabelContactRelationFatherInLawOrStepfather() obj.Object

CNLabelContactRelationFatherInLawOrStepfather returns the string constant CNLabelContactRelationFatherInLawOrStepfather, for use as a dictionary key or argument.

func CNLabelContactRelationFatherInLawWifesFather

func CNLabelContactRelationFatherInLawWifesFather() obj.Object

CNLabelContactRelationFatherInLawWifesFather returns the string constant CNLabelContactRelationFatherInLawWifesFather, for use as a dictionary key or argument.

func CNLabelContactRelationFemaleCousin

func CNLabelContactRelationFemaleCousin() obj.Object

CNLabelContactRelationFemaleCousin returns the string constant CNLabelContactRelationFemaleCousin, for use as a dictionary key or argument.

func CNLabelContactRelationFemaleFriend

func CNLabelContactRelationFemaleFriend() obj.Object

CNLabelContactRelationFemaleFriend returns the string constant CNLabelContactRelationFemaleFriend, for use as a dictionary key or argument.

func CNLabelContactRelationFemalePartner

func CNLabelContactRelationFemalePartner() obj.Object

CNLabelContactRelationFemalePartner returns the string constant CNLabelContactRelationFemalePartner, for use as a dictionary key or argument.

func CNLabelContactRelationFriend

func CNLabelContactRelationFriend() obj.Object

CNLabelContactRelationFriend returns the string constant CNLabelContactRelationFriend, for use as a dictionary key or argument.

func CNLabelContactRelationGirlfriend

func CNLabelContactRelationGirlfriend() obj.Object

CNLabelContactRelationGirlfriend returns the string constant CNLabelContactRelationGirlfriend, for use as a dictionary key or argument.

func CNLabelContactRelationGirlfriendOrBoyfriend

func CNLabelContactRelationGirlfriendOrBoyfriend() obj.Object

CNLabelContactRelationGirlfriendOrBoyfriend returns the string constant CNLabelContactRelationGirlfriendOrBoyfriend, for use as a dictionary key or argument.

func CNLabelContactRelationGrandaunt

func CNLabelContactRelationGrandaunt() obj.Object

CNLabelContactRelationGrandaunt returns the string constant CNLabelContactRelationGrandaunt, for use as a dictionary key or argument.

func CNLabelContactRelationGrandchild

func CNLabelContactRelationGrandchild() obj.Object

CNLabelContactRelationGrandchild returns the string constant CNLabelContactRelationGrandchild, for use as a dictionary key or argument.

func CNLabelContactRelationGrandchildOrSiblingsChild

func CNLabelContactRelationGrandchildOrSiblingsChild() obj.Object

CNLabelContactRelationGrandchildOrSiblingsChild returns the string constant CNLabelContactRelationGrandchildOrSiblingsChild, for use as a dictionary key or argument.

func CNLabelContactRelationGranddaughter

func CNLabelContactRelationGranddaughter() obj.Object

CNLabelContactRelationGranddaughter returns the string constant CNLabelContactRelationGranddaughter, for use as a dictionary key or argument.

func CNLabelContactRelationGranddaughterDaughtersDaughter

func CNLabelContactRelationGranddaughterDaughtersDaughter() obj.Object

CNLabelContactRelationGranddaughterDaughtersDaughter returns the string constant CNLabelContactRelationGranddaughterDaughtersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationGranddaughterOrNiece

func CNLabelContactRelationGranddaughterOrNiece() obj.Object

CNLabelContactRelationGranddaughterOrNiece returns the string constant CNLabelContactRelationGranddaughterOrNiece, for use as a dictionary key or argument.

func CNLabelContactRelationGranddaughterSonsDaughter

func CNLabelContactRelationGranddaughterSonsDaughter() obj.Object

CNLabelContactRelationGranddaughterSonsDaughter returns the string constant CNLabelContactRelationGranddaughterSonsDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationGrandfather

func CNLabelContactRelationGrandfather() obj.Object

CNLabelContactRelationGrandfather returns the string constant CNLabelContactRelationGrandfather, for use as a dictionary key or argument.

func CNLabelContactRelationGrandfatherFathersFather

func CNLabelContactRelationGrandfatherFathersFather() obj.Object

CNLabelContactRelationGrandfatherFathersFather returns the string constant CNLabelContactRelationGrandfatherFathersFather, for use as a dictionary key or argument.

func CNLabelContactRelationGrandfatherMothersFather

func CNLabelContactRelationGrandfatherMothersFather() obj.Object

CNLabelContactRelationGrandfatherMothersFather returns the string constant CNLabelContactRelationGrandfatherMothersFather, for use as a dictionary key or argument.

func CNLabelContactRelationGrandmother

func CNLabelContactRelationGrandmother() obj.Object

CNLabelContactRelationGrandmother returns the string constant CNLabelContactRelationGrandmother, for use as a dictionary key or argument.

func CNLabelContactRelationGrandmotherFathersMother

func CNLabelContactRelationGrandmotherFathersMother() obj.Object

CNLabelContactRelationGrandmotherFathersMother returns the string constant CNLabelContactRelationGrandmotherFathersMother, for use as a dictionary key or argument.

func CNLabelContactRelationGrandmotherMothersMother

func CNLabelContactRelationGrandmotherMothersMother() obj.Object

CNLabelContactRelationGrandmotherMothersMother returns the string constant CNLabelContactRelationGrandmotherMothersMother, for use as a dictionary key or argument.

func CNLabelContactRelationGrandnephew

func CNLabelContactRelationGrandnephew() obj.Object

CNLabelContactRelationGrandnephew returns the string constant CNLabelContactRelationGrandnephew, for use as a dictionary key or argument.

func CNLabelContactRelationGrandnephewBrothersGrandson

func CNLabelContactRelationGrandnephewBrothersGrandson() obj.Object

CNLabelContactRelationGrandnephewBrothersGrandson returns the string constant CNLabelContactRelationGrandnephewBrothersGrandson, for use as a dictionary key or argument.

func CNLabelContactRelationGrandnephewSistersGrandson

func CNLabelContactRelationGrandnephewSistersGrandson() obj.Object

CNLabelContactRelationGrandnephewSistersGrandson returns the string constant CNLabelContactRelationGrandnephewSistersGrandson, for use as a dictionary key or argument.

func CNLabelContactRelationGrandniece

func CNLabelContactRelationGrandniece() obj.Object

CNLabelContactRelationGrandniece returns the string constant CNLabelContactRelationGrandniece, for use as a dictionary key or argument.

func CNLabelContactRelationGrandnieceBrothersGranddaughter

func CNLabelContactRelationGrandnieceBrothersGranddaughter() obj.Object

CNLabelContactRelationGrandnieceBrothersGranddaughter returns the string constant CNLabelContactRelationGrandnieceBrothersGranddaughter, for use as a dictionary key or argument.

func CNLabelContactRelationGrandnieceSistersGranddaughter

func CNLabelContactRelationGrandnieceSistersGranddaughter() obj.Object

CNLabelContactRelationGrandnieceSistersGranddaughter returns the string constant CNLabelContactRelationGrandnieceSistersGranddaughter, for use as a dictionary key or argument.

func CNLabelContactRelationGrandparent

func CNLabelContactRelationGrandparent() obj.Object

CNLabelContactRelationGrandparent returns the string constant CNLabelContactRelationGrandparent, for use as a dictionary key or argument.

func CNLabelContactRelationGrandson

func CNLabelContactRelationGrandson() obj.Object

CNLabelContactRelationGrandson returns the string constant CNLabelContactRelationGrandson, for use as a dictionary key or argument.

func CNLabelContactRelationGrandsonDaughtersSon

func CNLabelContactRelationGrandsonDaughtersSon() obj.Object

CNLabelContactRelationGrandsonDaughtersSon returns the string constant CNLabelContactRelationGrandsonDaughtersSon, for use as a dictionary key or argument.

func CNLabelContactRelationGrandsonOrNephew

func CNLabelContactRelationGrandsonOrNephew() obj.Object

CNLabelContactRelationGrandsonOrNephew returns the string constant CNLabelContactRelationGrandsonOrNephew, for use as a dictionary key or argument.

func CNLabelContactRelationGrandsonSonsSon

func CNLabelContactRelationGrandsonSonsSon() obj.Object

CNLabelContactRelationGrandsonSonsSon returns the string constant CNLabelContactRelationGrandsonSonsSon, for use as a dictionary key or argument.

func CNLabelContactRelationGranduncle

func CNLabelContactRelationGranduncle() obj.Object

CNLabelContactRelationGranduncle returns the string constant CNLabelContactRelationGranduncle, for use as a dictionary key or argument.

func CNLabelContactRelationGreatGrandchild

func CNLabelContactRelationGreatGrandchild() obj.Object

CNLabelContactRelationGreatGrandchild returns the string constant CNLabelContactRelationGreatGrandchild, for use as a dictionary key or argument.

func CNLabelContactRelationGreatGrandchildOrSiblingsGrandchild

func CNLabelContactRelationGreatGrandchildOrSiblingsGrandchild() obj.Object

CNLabelContactRelationGreatGrandchildOrSiblingsGrandchild returns the string constant CNLabelContactRelationGreatGrandchildOrSiblingsGrandchild, for use as a dictionary key or argument.

func CNLabelContactRelationGreatGranddaughter

func CNLabelContactRelationGreatGranddaughter() obj.Object

CNLabelContactRelationGreatGranddaughter returns the string constant CNLabelContactRelationGreatGranddaughter, for use as a dictionary key or argument.

func CNLabelContactRelationGreatGrandfather

func CNLabelContactRelationGreatGrandfather() obj.Object

CNLabelContactRelationGreatGrandfather returns the string constant CNLabelContactRelationGreatGrandfather, for use as a dictionary key or argument.

func CNLabelContactRelationGreatGrandmother

func CNLabelContactRelationGreatGrandmother() obj.Object

CNLabelContactRelationGreatGrandmother returns the string constant CNLabelContactRelationGreatGrandmother, for use as a dictionary key or argument.

func CNLabelContactRelationGreatGrandparent

func CNLabelContactRelationGreatGrandparent() obj.Object

CNLabelContactRelationGreatGrandparent returns the string constant CNLabelContactRelationGreatGrandparent, for use as a dictionary key or argument.

func CNLabelContactRelationGreatGrandson

func CNLabelContactRelationGreatGrandson() obj.Object

CNLabelContactRelationGreatGrandson returns the string constant CNLabelContactRelationGreatGrandson, for use as a dictionary key or argument.

func CNLabelContactRelationHusband

func CNLabelContactRelationHusband() obj.Object

CNLabelContactRelationHusband returns the string constant CNLabelContactRelationHusband, for use as a dictionary key or argument.

func CNLabelContactRelationMaleCousin

func CNLabelContactRelationMaleCousin() obj.Object

CNLabelContactRelationMaleCousin returns the string constant CNLabelContactRelationMaleCousin, for use as a dictionary key or argument.

func CNLabelContactRelationMaleFriend

func CNLabelContactRelationMaleFriend() obj.Object

CNLabelContactRelationMaleFriend returns the string constant CNLabelContactRelationMaleFriend, for use as a dictionary key or argument.

func CNLabelContactRelationMalePartner

func CNLabelContactRelationMalePartner() obj.Object

CNLabelContactRelationMalePartner returns the string constant CNLabelContactRelationMalePartner, for use as a dictionary key or argument.

func CNLabelContactRelationManager

func CNLabelContactRelationManager() obj.Object

CNLabelContactRelationManager returns the string constant CNLabelContactRelationManager, for use as a dictionary key or argument.

func CNLabelContactRelationMother

func CNLabelContactRelationMother() obj.Object

CNLabelContactRelationMother returns the string constant CNLabelContactRelationMother, for use as a dictionary key or argument.

func CNLabelContactRelationMotherInLaw

func CNLabelContactRelationMotherInLaw() obj.Object

CNLabelContactRelationMotherInLaw returns the string constant CNLabelContactRelationMotherInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationMotherInLawHusbandsMother

func CNLabelContactRelationMotherInLawHusbandsMother() obj.Object

CNLabelContactRelationMotherInLawHusbandsMother returns the string constant CNLabelContactRelationMotherInLawHusbandsMother, for use as a dictionary key or argument.

func CNLabelContactRelationMotherInLawOrStepmother

func CNLabelContactRelationMotherInLawOrStepmother() obj.Object

CNLabelContactRelationMotherInLawOrStepmother returns the string constant CNLabelContactRelationMotherInLawOrStepmother, for use as a dictionary key or argument.

func CNLabelContactRelationMotherInLawWifesMother

func CNLabelContactRelationMotherInLawWifesMother() obj.Object

CNLabelContactRelationMotherInLawWifesMother returns the string constant CNLabelContactRelationMotherInLawWifesMother, for use as a dictionary key or argument.

func CNLabelContactRelationNephew

func CNLabelContactRelationNephew() obj.Object

CNLabelContactRelationNephew returns the string constant CNLabelContactRelationNephew, for use as a dictionary key or argument.

func CNLabelContactRelationNephewBrothersSon

func CNLabelContactRelationNephewBrothersSon() obj.Object

CNLabelContactRelationNephewBrothersSon returns the string constant CNLabelContactRelationNephewBrothersSon, for use as a dictionary key or argument.

func CNLabelContactRelationNephewBrothersSonOrHusbandsSiblingsSon

func CNLabelContactRelationNephewBrothersSonOrHusbandsSiblingsSon() obj.Object

CNLabelContactRelationNephewBrothersSonOrHusbandsSiblingsSon returns the string constant CNLabelContactRelationNephewBrothersSonOrHusbandsSiblingsSon, for use as a dictionary key or argument.

func CNLabelContactRelationNephewOrCousin

func CNLabelContactRelationNephewOrCousin() obj.Object

CNLabelContactRelationNephewOrCousin returns the string constant CNLabelContactRelationNephewOrCousin, for use as a dictionary key or argument.

func CNLabelContactRelationNephewSistersSon

func CNLabelContactRelationNephewSistersSon() obj.Object

CNLabelContactRelationNephewSistersSon returns the string constant CNLabelContactRelationNephewSistersSon, for use as a dictionary key or argument.

func CNLabelContactRelationNephewSistersSonOrWifesSiblingsSon

func CNLabelContactRelationNephewSistersSonOrWifesSiblingsSon() obj.Object

CNLabelContactRelationNephewSistersSonOrWifesSiblingsSon returns the string constant CNLabelContactRelationNephewSistersSonOrWifesSiblingsSon, for use as a dictionary key or argument.

func CNLabelContactRelationNiece

func CNLabelContactRelationNiece() obj.Object

CNLabelContactRelationNiece returns the string constant CNLabelContactRelationNiece, for use as a dictionary key or argument.

func CNLabelContactRelationNieceBrothersDaughter

func CNLabelContactRelationNieceBrothersDaughter() obj.Object

CNLabelContactRelationNieceBrothersDaughter returns the string constant CNLabelContactRelationNieceBrothersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationNieceBrothersDaughterOrHusbandsSiblingsDaughter

func CNLabelContactRelationNieceBrothersDaughterOrHusbandsSiblingsDaughter() obj.Object

CNLabelContactRelationNieceBrothersDaughterOrHusbandsSiblingsDaughter returns the string constant CNLabelContactRelationNieceBrothersDaughterOrHusbandsSiblingsDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationNieceOrCousin

func CNLabelContactRelationNieceOrCousin() obj.Object

CNLabelContactRelationNieceOrCousin returns the string constant CNLabelContactRelationNieceOrCousin, for use as a dictionary key or argument.

func CNLabelContactRelationNieceSistersDaughter

func CNLabelContactRelationNieceSistersDaughter() obj.Object

CNLabelContactRelationNieceSistersDaughter returns the string constant CNLabelContactRelationNieceSistersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationNieceSistersDaughterOrWifesSiblingsDaughter

func CNLabelContactRelationNieceSistersDaughterOrWifesSiblingsDaughter() obj.Object

CNLabelContactRelationNieceSistersDaughterOrWifesSiblingsDaughter returns the string constant CNLabelContactRelationNieceSistersDaughterOrWifesSiblingsDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationParent

func CNLabelContactRelationParent() obj.Object

CNLabelContactRelationParent returns the string constant CNLabelContactRelationParent, for use as a dictionary key or argument.

func CNLabelContactRelationParentInLaw

func CNLabelContactRelationParentInLaw() obj.Object

CNLabelContactRelationParentInLaw returns the string constant CNLabelContactRelationParentInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationParentsElderSibling

func CNLabelContactRelationParentsElderSibling() obj.Object

CNLabelContactRelationParentsElderSibling returns the string constant CNLabelContactRelationParentsElderSibling, for use as a dictionary key or argument.

func CNLabelContactRelationParentsSibling

func CNLabelContactRelationParentsSibling() obj.Object

CNLabelContactRelationParentsSibling returns the string constant CNLabelContactRelationParentsSibling, for use as a dictionary key or argument.

func CNLabelContactRelationParentsSiblingFathersElderSibling

func CNLabelContactRelationParentsSiblingFathersElderSibling() obj.Object

CNLabelContactRelationParentsSiblingFathersElderSibling returns the string constant CNLabelContactRelationParentsSiblingFathersElderSibling, for use as a dictionary key or argument.

func CNLabelContactRelationParentsSiblingFathersSibling

func CNLabelContactRelationParentsSiblingFathersSibling() obj.Object

CNLabelContactRelationParentsSiblingFathersSibling returns the string constant CNLabelContactRelationParentsSiblingFathersSibling, for use as a dictionary key or argument.

func CNLabelContactRelationParentsSiblingFathersYoungerSibling

func CNLabelContactRelationParentsSiblingFathersYoungerSibling() obj.Object

CNLabelContactRelationParentsSiblingFathersYoungerSibling returns the string constant CNLabelContactRelationParentsSiblingFathersYoungerSibling, for use as a dictionary key or argument.

func CNLabelContactRelationParentsSiblingMothersElderSibling

func CNLabelContactRelationParentsSiblingMothersElderSibling() obj.Object

CNLabelContactRelationParentsSiblingMothersElderSibling returns the string constant CNLabelContactRelationParentsSiblingMothersElderSibling, for use as a dictionary key or argument.

func CNLabelContactRelationParentsSiblingMothersSibling

func CNLabelContactRelationParentsSiblingMothersSibling() obj.Object

CNLabelContactRelationParentsSiblingMothersSibling returns the string constant CNLabelContactRelationParentsSiblingMothersSibling, for use as a dictionary key or argument.

func CNLabelContactRelationParentsSiblingMothersYoungerSibling

func CNLabelContactRelationParentsSiblingMothersYoungerSibling() obj.Object

CNLabelContactRelationParentsSiblingMothersYoungerSibling returns the string constant CNLabelContactRelationParentsSiblingMothersYoungerSibling, for use as a dictionary key or argument.

func CNLabelContactRelationParentsYoungerSibling

func CNLabelContactRelationParentsYoungerSibling() obj.Object

CNLabelContactRelationParentsYoungerSibling returns the string constant CNLabelContactRelationParentsYoungerSibling, for use as a dictionary key or argument.

func CNLabelContactRelationPartner

func CNLabelContactRelationPartner() obj.Object

CNLabelContactRelationPartner returns the string constant CNLabelContactRelationPartner, for use as a dictionary key or argument.

func CNLabelContactRelationSibling

func CNLabelContactRelationSibling() obj.Object

CNLabelContactRelationSibling returns the string constant CNLabelContactRelationSibling, for use as a dictionary key or argument.

func CNLabelContactRelationSiblingInLaw

func CNLabelContactRelationSiblingInLaw() obj.Object

CNLabelContactRelationSiblingInLaw returns the string constant CNLabelContactRelationSiblingInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationSiblingsChild

func CNLabelContactRelationSiblingsChild() obj.Object

CNLabelContactRelationSiblingsChild returns the string constant CNLabelContactRelationSiblingsChild, for use as a dictionary key or argument.

func CNLabelContactRelationSister

func CNLabelContactRelationSister() obj.Object

CNLabelContactRelationSister returns the string constant CNLabelContactRelationSister, for use as a dictionary key or argument.

func CNLabelContactRelationSisterInLaw

func CNLabelContactRelationSisterInLaw() obj.Object

CNLabelContactRelationSisterInLaw returns the string constant CNLabelContactRelationSisterInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationSisterInLawBrothersWife

func CNLabelContactRelationSisterInLawBrothersWife() obj.Object

CNLabelContactRelationSisterInLawBrothersWife returns the string constant CNLabelContactRelationSisterInLawBrothersWife, for use as a dictionary key or argument.

func CNLabelContactRelationSisterInLawElderBrothersWife

func CNLabelContactRelationSisterInLawElderBrothersWife() obj.Object

CNLabelContactRelationSisterInLawElderBrothersWife returns the string constant CNLabelContactRelationSisterInLawElderBrothersWife, for use as a dictionary key or argument.

func CNLabelContactRelationSisterInLawHusbandsBrothersWife

func CNLabelContactRelationSisterInLawHusbandsBrothersWife() obj.Object

CNLabelContactRelationSisterInLawHusbandsBrothersWife returns the string constant CNLabelContactRelationSisterInLawHusbandsBrothersWife, for use as a dictionary key or argument.

func CNLabelContactRelationSisterInLawHusbandsSister

func CNLabelContactRelationSisterInLawHusbandsSister() obj.Object

CNLabelContactRelationSisterInLawHusbandsSister returns the string constant CNLabelContactRelationSisterInLawHusbandsSister, for use as a dictionary key or argument.

func CNLabelContactRelationSisterInLawSpousesSister

func CNLabelContactRelationSisterInLawSpousesSister() obj.Object

CNLabelContactRelationSisterInLawSpousesSister returns the string constant CNLabelContactRelationSisterInLawSpousesSister, for use as a dictionary key or argument.

func CNLabelContactRelationSisterInLawWifesBrothersWife

func CNLabelContactRelationSisterInLawWifesBrothersWife() obj.Object

CNLabelContactRelationSisterInLawWifesBrothersWife returns the string constant CNLabelContactRelationSisterInLawWifesBrothersWife, for use as a dictionary key or argument.

func CNLabelContactRelationSisterInLawWifesSister

func CNLabelContactRelationSisterInLawWifesSister() obj.Object

CNLabelContactRelationSisterInLawWifesSister returns the string constant CNLabelContactRelationSisterInLawWifesSister, for use as a dictionary key or argument.

func CNLabelContactRelationSisterInLawYoungerBrothersWife

func CNLabelContactRelationSisterInLawYoungerBrothersWife() obj.Object

CNLabelContactRelationSisterInLawYoungerBrothersWife returns the string constant CNLabelContactRelationSisterInLawYoungerBrothersWife, for use as a dictionary key or argument.

func CNLabelContactRelationSon

func CNLabelContactRelationSon() obj.Object

CNLabelContactRelationSon returns the string constant CNLabelContactRelationSon, for use as a dictionary key or argument.

func CNLabelContactRelationSonInLaw

func CNLabelContactRelationSonInLaw() obj.Object

CNLabelContactRelationSonInLaw returns the string constant CNLabelContactRelationSonInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationSonInLawOrBrotherInLaw

func CNLabelContactRelationSonInLawOrBrotherInLaw() obj.Object

CNLabelContactRelationSonInLawOrBrotherInLaw returns the string constant CNLabelContactRelationSonInLawOrBrotherInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationSonInLawOrStepson

func CNLabelContactRelationSonInLawOrStepson() obj.Object

CNLabelContactRelationSonInLawOrStepson returns the string constant CNLabelContactRelationSonInLawOrStepson, for use as a dictionary key or argument.

func CNLabelContactRelationSpouse

func CNLabelContactRelationSpouse() obj.Object

CNLabelContactRelationSpouse returns the string constant CNLabelContactRelationSpouse, for use as a dictionary key or argument.

func CNLabelContactRelationStepbrother

func CNLabelContactRelationStepbrother() obj.Object

CNLabelContactRelationStepbrother returns the string constant CNLabelContactRelationStepbrother, for use as a dictionary key or argument.

func CNLabelContactRelationStepchild

func CNLabelContactRelationStepchild() obj.Object

CNLabelContactRelationStepchild returns the string constant CNLabelContactRelationStepchild, for use as a dictionary key or argument.

func CNLabelContactRelationStepdaughter

func CNLabelContactRelationStepdaughter() obj.Object

CNLabelContactRelationStepdaughter returns the string constant CNLabelContactRelationStepdaughter, for use as a dictionary key or argument.

func CNLabelContactRelationStepfather

func CNLabelContactRelationStepfather() obj.Object

CNLabelContactRelationStepfather returns the string constant CNLabelContactRelationStepfather, for use as a dictionary key or argument.

func CNLabelContactRelationStepmother

func CNLabelContactRelationStepmother() obj.Object

CNLabelContactRelationStepmother returns the string constant CNLabelContactRelationStepmother, for use as a dictionary key or argument.

func CNLabelContactRelationStepparent

func CNLabelContactRelationStepparent() obj.Object

CNLabelContactRelationStepparent returns the string constant CNLabelContactRelationStepparent, for use as a dictionary key or argument.

func CNLabelContactRelationStepsister

func CNLabelContactRelationStepsister() obj.Object

CNLabelContactRelationStepsister returns the string constant CNLabelContactRelationStepsister, for use as a dictionary key or argument.

func CNLabelContactRelationStepson

func CNLabelContactRelationStepson() obj.Object

CNLabelContactRelationStepson returns the string constant CNLabelContactRelationStepson, for use as a dictionary key or argument.

func CNLabelContactRelationTeacher

func CNLabelContactRelationTeacher() obj.Object

CNLabelContactRelationTeacher returns the string constant CNLabelContactRelationTeacher, for use as a dictionary key or argument.

func CNLabelContactRelationUncle

func CNLabelContactRelationUncle() obj.Object

CNLabelContactRelationUncle returns the string constant CNLabelContactRelationUncle, for use as a dictionary key or argument.

func CNLabelContactRelationUncleFathersBrother

func CNLabelContactRelationUncleFathersBrother() obj.Object

CNLabelContactRelationUncleFathersBrother returns the string constant CNLabelContactRelationUncleFathersBrother, for use as a dictionary key or argument.

func CNLabelContactRelationUncleFathersElderBrother

func CNLabelContactRelationUncleFathersElderBrother() obj.Object

CNLabelContactRelationUncleFathersElderBrother returns the string constant CNLabelContactRelationUncleFathersElderBrother, for use as a dictionary key or argument.

func CNLabelContactRelationUncleFathersElderSistersHusband

func CNLabelContactRelationUncleFathersElderSistersHusband() obj.Object

CNLabelContactRelationUncleFathersElderSistersHusband returns the string constant CNLabelContactRelationUncleFathersElderSistersHusband, for use as a dictionary key or argument.

func CNLabelContactRelationUncleFathersSistersHusband

func CNLabelContactRelationUncleFathersSistersHusband() obj.Object

CNLabelContactRelationUncleFathersSistersHusband returns the string constant CNLabelContactRelationUncleFathersSistersHusband, for use as a dictionary key or argument.

func CNLabelContactRelationUncleFathersYoungerBrother

func CNLabelContactRelationUncleFathersYoungerBrother() obj.Object

CNLabelContactRelationUncleFathersYoungerBrother returns the string constant CNLabelContactRelationUncleFathersYoungerBrother, for use as a dictionary key or argument.

func CNLabelContactRelationUncleFathersYoungerSistersHusband

func CNLabelContactRelationUncleFathersYoungerSistersHusband() obj.Object

CNLabelContactRelationUncleFathersYoungerSistersHusband returns the string constant CNLabelContactRelationUncleFathersYoungerSistersHusband, for use as a dictionary key or argument.

func CNLabelContactRelationUncleMothersBrother

func CNLabelContactRelationUncleMothersBrother() obj.Object

CNLabelContactRelationUncleMothersBrother returns the string constant CNLabelContactRelationUncleMothersBrother, for use as a dictionary key or argument.

func CNLabelContactRelationUncleMothersElderBrother

func CNLabelContactRelationUncleMothersElderBrother() obj.Object

CNLabelContactRelationUncleMothersElderBrother returns the string constant CNLabelContactRelationUncleMothersElderBrother, for use as a dictionary key or argument.

func CNLabelContactRelationUncleMothersSistersHusband

func CNLabelContactRelationUncleMothersSistersHusband() obj.Object

CNLabelContactRelationUncleMothersSistersHusband returns the string constant CNLabelContactRelationUncleMothersSistersHusband, for use as a dictionary key or argument.

func CNLabelContactRelationUncleMothersYoungerBrother

func CNLabelContactRelationUncleMothersYoungerBrother() obj.Object

CNLabelContactRelationUncleMothersYoungerBrother returns the string constant CNLabelContactRelationUncleMothersYoungerBrother, for use as a dictionary key or argument.

func CNLabelContactRelationUncleParentsBrother

func CNLabelContactRelationUncleParentsBrother() obj.Object

CNLabelContactRelationUncleParentsBrother returns the string constant CNLabelContactRelationUncleParentsBrother, for use as a dictionary key or argument.

func CNLabelContactRelationUncleParentsElderBrother

func CNLabelContactRelationUncleParentsElderBrother() obj.Object

CNLabelContactRelationUncleParentsElderBrother returns the string constant CNLabelContactRelationUncleParentsElderBrother, for use as a dictionary key or argument.

func CNLabelContactRelationUncleParentsYoungerBrother

func CNLabelContactRelationUncleParentsYoungerBrother() obj.Object

CNLabelContactRelationUncleParentsYoungerBrother returns the string constant CNLabelContactRelationUncleParentsYoungerBrother, for use as a dictionary key or argument.

func CNLabelContactRelationWife

func CNLabelContactRelationWife() obj.Object

CNLabelContactRelationWife returns the string constant CNLabelContactRelationWife, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerBrother

func CNLabelContactRelationYoungerBrother() obj.Object

CNLabelContactRelationYoungerBrother returns the string constant CNLabelContactRelationYoungerBrother, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerBrotherInLaw

func CNLabelContactRelationYoungerBrotherInLaw() obj.Object

CNLabelContactRelationYoungerBrotherInLaw returns the string constant CNLabelContactRelationYoungerBrotherInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousin

func CNLabelContactRelationYoungerCousin() obj.Object

CNLabelContactRelationYoungerCousin returns the string constant CNLabelContactRelationYoungerCousin, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinFathersBrothersDaughter

func CNLabelContactRelationYoungerCousinFathersBrothersDaughter() obj.Object

CNLabelContactRelationYoungerCousinFathersBrothersDaughter returns the string constant CNLabelContactRelationYoungerCousinFathersBrothersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinFathersBrothersSon

func CNLabelContactRelationYoungerCousinFathersBrothersSon() obj.Object

CNLabelContactRelationYoungerCousinFathersBrothersSon returns the string constant CNLabelContactRelationYoungerCousinFathersBrothersSon, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinFathersSistersDaughter

func CNLabelContactRelationYoungerCousinFathersSistersDaughter() obj.Object

CNLabelContactRelationYoungerCousinFathersSistersDaughter returns the string constant CNLabelContactRelationYoungerCousinFathersSistersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinFathersSistersSon

func CNLabelContactRelationYoungerCousinFathersSistersSon() obj.Object

CNLabelContactRelationYoungerCousinFathersSistersSon returns the string constant CNLabelContactRelationYoungerCousinFathersSistersSon, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinMothersBrothersDaughter

func CNLabelContactRelationYoungerCousinMothersBrothersDaughter() obj.Object

CNLabelContactRelationYoungerCousinMothersBrothersDaughter returns the string constant CNLabelContactRelationYoungerCousinMothersBrothersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinMothersBrothersSon

func CNLabelContactRelationYoungerCousinMothersBrothersSon() obj.Object

CNLabelContactRelationYoungerCousinMothersBrothersSon returns the string constant CNLabelContactRelationYoungerCousinMothersBrothersSon, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter

func CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter() obj.Object

CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter returns the string constant CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinMothersSiblingsSonOrFathersSistersSon

func CNLabelContactRelationYoungerCousinMothersSiblingsSonOrFathersSistersSon() obj.Object

CNLabelContactRelationYoungerCousinMothersSiblingsSonOrFathersSistersSon returns the string constant CNLabelContactRelationYoungerCousinMothersSiblingsSonOrFathersSistersSon, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinMothersSistersDaughter

func CNLabelContactRelationYoungerCousinMothersSistersDaughter() obj.Object

CNLabelContactRelationYoungerCousinMothersSistersDaughter returns the string constant CNLabelContactRelationYoungerCousinMothersSistersDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinMothersSistersSon

func CNLabelContactRelationYoungerCousinMothersSistersSon() obj.Object

CNLabelContactRelationYoungerCousinMothersSistersSon returns the string constant CNLabelContactRelationYoungerCousinMothersSistersSon, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinParentsSiblingsDaughter

func CNLabelContactRelationYoungerCousinParentsSiblingsDaughter() obj.Object

CNLabelContactRelationYoungerCousinParentsSiblingsDaughter returns the string constant CNLabelContactRelationYoungerCousinParentsSiblingsDaughter, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerCousinParentsSiblingsSon

func CNLabelContactRelationYoungerCousinParentsSiblingsSon() obj.Object

CNLabelContactRelationYoungerCousinParentsSiblingsSon returns the string constant CNLabelContactRelationYoungerCousinParentsSiblingsSon, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerSibling

func CNLabelContactRelationYoungerSibling() obj.Object

CNLabelContactRelationYoungerSibling returns the string constant CNLabelContactRelationYoungerSibling, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerSiblingInLaw

func CNLabelContactRelationYoungerSiblingInLaw() obj.Object

CNLabelContactRelationYoungerSiblingInLaw returns the string constant CNLabelContactRelationYoungerSiblingInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerSister

func CNLabelContactRelationYoungerSister() obj.Object

CNLabelContactRelationYoungerSister returns the string constant CNLabelContactRelationYoungerSister, for use as a dictionary key or argument.

func CNLabelContactRelationYoungerSisterInLaw

func CNLabelContactRelationYoungerSisterInLaw() obj.Object

CNLabelContactRelationYoungerSisterInLaw returns the string constant CNLabelContactRelationYoungerSisterInLaw, for use as a dictionary key or argument.

func CNLabelContactRelationYoungestBrother

func CNLabelContactRelationYoungestBrother() obj.Object

CNLabelContactRelationYoungestBrother returns the string constant CNLabelContactRelationYoungestBrother, for use as a dictionary key or argument.

func CNLabelContactRelationYoungestSister

func CNLabelContactRelationYoungestSister() obj.Object

CNLabelContactRelationYoungestSister returns the string constant CNLabelContactRelationYoungestSister, for use as a dictionary key or argument.

func CNLabelDateAnniversary

func CNLabelDateAnniversary() obj.Object

CNLabelDateAnniversary returns the string constant CNLabelDateAnniversary, for use as a dictionary key or argument.

func CNLabelEmailiCloud

func CNLabelEmailiCloud() obj.Object

CNLabelEmailiCloud returns the string constant CNLabelEmailiCloud, for use as a dictionary key or argument.

func CNLabelHome

func CNLabelHome() obj.Object

CNLabelHome returns the string constant CNLabelHome, for use as a dictionary key or argument.

func CNLabelOther

func CNLabelOther() obj.Object

CNLabelOther returns the string constant CNLabelOther, for use as a dictionary key or argument.

func CNLabelPhoneNumberAppleWatch

func CNLabelPhoneNumberAppleWatch() obj.Object

CNLabelPhoneNumberAppleWatch returns the string constant CNLabelPhoneNumberAppleWatch, for use as a dictionary key or argument.

func CNLabelPhoneNumberHomeFax

func CNLabelPhoneNumberHomeFax() obj.Object

CNLabelPhoneNumberHomeFax returns the string constant CNLabelPhoneNumberHomeFax, for use as a dictionary key or argument.

func CNLabelPhoneNumberMain

func CNLabelPhoneNumberMain() obj.Object

CNLabelPhoneNumberMain returns the string constant CNLabelPhoneNumberMain, for use as a dictionary key or argument.

func CNLabelPhoneNumberMobile

func CNLabelPhoneNumberMobile() obj.Object

CNLabelPhoneNumberMobile returns the string constant CNLabelPhoneNumberMobile, for use as a dictionary key or argument.

func CNLabelPhoneNumberOtherFax

func CNLabelPhoneNumberOtherFax() obj.Object

CNLabelPhoneNumberOtherFax returns the string constant CNLabelPhoneNumberOtherFax, for use as a dictionary key or argument.

func CNLabelPhoneNumberPager

func CNLabelPhoneNumberPager() obj.Object

CNLabelPhoneNumberPager returns the string constant CNLabelPhoneNumberPager, for use as a dictionary key or argument.

func CNLabelPhoneNumberWorkFax

func CNLabelPhoneNumberWorkFax() obj.Object

CNLabelPhoneNumberWorkFax returns the string constant CNLabelPhoneNumberWorkFax, for use as a dictionary key or argument.

func CNLabelPhoneNumberiPhone

func CNLabelPhoneNumberiPhone() obj.Object

CNLabelPhoneNumberiPhone returns the string constant CNLabelPhoneNumberiPhone, for use as a dictionary key or argument.

func CNLabelSchool

func CNLabelSchool() obj.Object

CNLabelSchool returns the string constant CNLabelSchool, for use as a dictionary key or argument.

func CNLabelURLAddressHomePage

func CNLabelURLAddressHomePage() obj.Object

CNLabelURLAddressHomePage returns the string constant CNLabelURLAddressHomePage, for use as a dictionary key or argument.

func CNLabelWork

func CNLabelWork() obj.Object

CNLabelWork returns the string constant CNLabelWork, for use as a dictionary key or argument.

func CNPostalAddressCityKey

func CNPostalAddressCityKey() obj.Object

CNPostalAddressCityKey returns the string constant CNPostalAddressCityKey, for use as a dictionary key or argument.

func CNPostalAddressCountryKey

func CNPostalAddressCountryKey() obj.Object

CNPostalAddressCountryKey returns the string constant CNPostalAddressCountryKey, for use as a dictionary key or argument.

func CNPostalAddressISOCountryCodeKey

func CNPostalAddressISOCountryCodeKey() obj.Object

CNPostalAddressISOCountryCodeKey returns the string constant CNPostalAddressISOCountryCodeKey, for use as a dictionary key or argument.

func CNPostalAddressLocalizedPropertyNameAttribute

func CNPostalAddressLocalizedPropertyNameAttribute() obj.Object

CNPostalAddressLocalizedPropertyNameAttribute returns the string constant CNPostalAddressLocalizedPropertyNameAttribute, for use as a dictionary key or argument.

func CNPostalAddressLocalizedStringForKey

func CNPostalAddressLocalizedStringForKey(key string) string

CNPostalAddressLocalizedStringForKey returns the localized name for the property associated with the specified key.

func CNPostalAddressPostalCodeKey

func CNPostalAddressPostalCodeKey() obj.Object

CNPostalAddressPostalCodeKey returns the string constant CNPostalAddressPostalCodeKey, for use as a dictionary key or argument.

func CNPostalAddressPropertyAttribute

func CNPostalAddressPropertyAttribute() obj.Object

CNPostalAddressPropertyAttribute returns the string constant CNPostalAddressPropertyAttribute, for use as a dictionary key or argument.

func CNPostalAddressStateKey

func CNPostalAddressStateKey() obj.Object

CNPostalAddressStateKey returns the string constant CNPostalAddressStateKey, for use as a dictionary key or argument.

func CNPostalAddressStreetKey

func CNPostalAddressStreetKey() obj.Object

CNPostalAddressStreetKey returns the string constant CNPostalAddressStreetKey, for use as a dictionary key or argument.

func CNPostalAddressSubAdministrativeAreaKey

func CNPostalAddressSubAdministrativeAreaKey() obj.Object

CNPostalAddressSubAdministrativeAreaKey returns the string constant CNPostalAddressSubAdministrativeAreaKey, for use as a dictionary key or argument.

func CNPostalAddressSubLocalityKey

func CNPostalAddressSubLocalityKey() obj.Object

CNPostalAddressSubLocalityKey returns the string constant CNPostalAddressSubLocalityKey, for use as a dictionary key or argument.

func CNSocialProfileLocalizedStringForKey

func CNSocialProfileLocalizedStringForKey(key string) string

CNSocialProfileLocalizedStringForKey returns the localized name of the property for the specified key.

func CNSocialProfileLocalizedStringForService

func CNSocialProfileLocalizedStringForService(service string) string

CNSocialProfileLocalizedStringForService returns the localized name of the specified service.

func CNSocialProfileServiceFacebook

func CNSocialProfileServiceFacebook() obj.Object

CNSocialProfileServiceFacebook returns the string constant CNSocialProfileServiceFacebook, for use as a dictionary key or argument.

func CNSocialProfileServiceFlickr

func CNSocialProfileServiceFlickr() obj.Object

CNSocialProfileServiceFlickr returns the string constant CNSocialProfileServiceFlickr, for use as a dictionary key or argument.

func CNSocialProfileServiceGameCenter

func CNSocialProfileServiceGameCenter() obj.Object

CNSocialProfileServiceGameCenter returns the string constant CNSocialProfileServiceGameCenter, for use as a dictionary key or argument.

func CNSocialProfileServiceKey

func CNSocialProfileServiceKey() obj.Object

CNSocialProfileServiceKey returns the string constant CNSocialProfileServiceKey, for use as a dictionary key or argument.

func CNSocialProfileServiceLinkedIn

func CNSocialProfileServiceLinkedIn() obj.Object

CNSocialProfileServiceLinkedIn returns the string constant CNSocialProfileServiceLinkedIn, for use as a dictionary key or argument.

func CNSocialProfileServiceMySpace

func CNSocialProfileServiceMySpace() obj.Object

CNSocialProfileServiceMySpace returns the string constant CNSocialProfileServiceMySpace, for use as a dictionary key or argument.

func CNSocialProfileServiceSinaWeibo

func CNSocialProfileServiceSinaWeibo() obj.Object

CNSocialProfileServiceSinaWeibo returns the string constant CNSocialProfileServiceSinaWeibo, for use as a dictionary key or argument.

func CNSocialProfileServiceTencentWeibo

func CNSocialProfileServiceTencentWeibo() obj.Object

CNSocialProfileServiceTencentWeibo returns the string constant CNSocialProfileServiceTencentWeibo, for use as a dictionary key or argument.

func CNSocialProfileServiceTwitter

func CNSocialProfileServiceTwitter() obj.Object

CNSocialProfileServiceTwitter returns the string constant CNSocialProfileServiceTwitter, for use as a dictionary key or argument.

func CNSocialProfileServiceYelp

func CNSocialProfileServiceYelp() obj.Object

CNSocialProfileServiceYelp returns the string constant CNSocialProfileServiceYelp, for use as a dictionary key or argument.

func CNSocialProfileURLStringKey

func CNSocialProfileURLStringKey() obj.Object

CNSocialProfileURLStringKey returns the string constant CNSocialProfileURLStringKey, for use as a dictionary key or argument.

func CNSocialProfileUserIdentifierKey

func CNSocialProfileUserIdentifierKey() obj.Object

CNSocialProfileUserIdentifierKey returns the string constant CNSocialProfileUserIdentifierKey, for use as a dictionary key or argument.

func CNSocialProfileUsernameKey

func CNSocialProfileUsernameKey() obj.Object

CNSocialProfileUsernameKey returns the string constant CNSocialProfileUsernameKey, for use as a dictionary key or argument.

func DataWithContacts added in v0.17.0

func DataWithContacts(contacts []*Contact) (result []byte, err error)

DataWithContacts returns the vCard representation of the specified contacts.

func DelimiterForContact added in v0.17.0

func DelimiterForContact(contact *Contact) string

DelimiterForContact returns the delimiter to use between name components.

func LabeledValueWithLabelValue added in v0.17.0

func LabeledValueWithLabelValue(label string, value obj.Object) obj.Object

LabeledValueWithLabelValue returns a new labeled value identifier.

func LocalizedStringForKey added in v0.17.0

func LocalizedStringForKey(key string) string

LocalizedStringForKey returns a string containing the localized contact property name.

func LocalizedStringForLabel added in v0.17.0

func LocalizedStringForLabel(label string) string

LocalizedStringForLabel returns a localized string for the specified label.

func LocalizedStringForService added in v0.17.0

func LocalizedStringForService(service string) string

LocalizedStringForService returns a string containing the localized name of the specified service.

func PredicateForContactsInContainerWithIdentifier added in v0.17.0

func PredicateForContactsInContainerWithIdentifier(containerIdentifier string) *foundation.Predicate

PredicateForContactsInContainerWithIdentifier returns a predicate to find the contacts in the specified container.

func PredicateForContactsInGroupWithIdentifier added in v0.17.0

func PredicateForContactsInGroupWithIdentifier(groupIdentifier string) *foundation.Predicate

PredicateForContactsInGroupWithIdentifier returns a predicate to find the contacts that are members in the specified group.

func PredicateForContactsMatchingEmailAddress added in v0.17.0

func PredicateForContactsMatchingEmailAddress(emailAddress string) *foundation.Predicate

PredicateForContactsMatchingEmailAddress returns a predicate to find the contacts whose email address matches the specified value.

func PredicateForContactsMatchingName added in v0.17.0

func PredicateForContactsMatchingName(name string) *foundation.Predicate

PredicateForContactsMatchingName returns a predicate to find the contacts matching the specified name.

func PredicateForContactsMatchingPhoneNumber added in v0.17.0

func PredicateForContactsMatchingPhoneNumber(phoneNumber *PhoneNumber) *foundation.Predicate

PredicateForContactsMatchingPhoneNumber returns a predicate to find the contacts whose phone number matches the specified value.

func PredicateForContactsWithIdentifiers added in v0.17.0

func PredicateForContactsWithIdentifiers(identifiers []string) *foundation.Predicate

PredicateForContactsWithIdentifiers returns a predicate to find the contacts matching the specified identifiers.

func PredicateForContainerOfContactWithIdentifier added in v0.17.0

func PredicateForContainerOfContactWithIdentifier(contactIdentifier string) *foundation.Predicate

PredicateForContainerOfContactWithIdentifier returns a predicate to find the container of the specified contact.

func PredicateForContainerOfGroupWithIdentifier added in v0.17.0

func PredicateForContainerOfGroupWithIdentifier(groupIdentifier string) *foundation.Predicate

PredicateForContainerOfGroupWithIdentifier returns a predicate to find the container of the specified group.

func PredicateForContainersWithIdentifiers added in v0.17.0

func PredicateForContainersWithIdentifiers(identifiers []string) *foundation.Predicate

PredicateForContainersWithIdentifiers returns a predicate to find the containers with the specified identifiers.

func PredicateForGroupsInContainerWithIdentifier added in v0.17.0

func PredicateForGroupsInContainerWithIdentifier(containerIdentifier string) *foundation.Predicate

PredicateForGroupsInContainerWithIdentifier returns a predicate to find groups in the specified container.

func PredicateForGroupsWithIdentifiers added in v0.17.0

func PredicateForGroupsWithIdentifiers(identifiers []string) *foundation.Predicate

PredicateForGroupsWithIdentifiers returns a predicate to find groups with the specified identifiers.

func PredicateForSubgroupsInGroupWithIdentifier added in v0.17.0

func PredicateForSubgroupsInGroupWithIdentifier(parentGroupIdentifier string) *foundation.Predicate

PredicateForSubgroupsInGroupWithIdentifier returns a predicate to find subgroups in the specified parent group.

func StringFromContactStyle added in v0.17.0

func StringFromContactStyle(contact *Contact, style ContactFormatterStyle) string

StringFromContactStyle returns the contact name, formatted with the specified formatter.

func StringFromPostalAddressStyle added in v0.17.0

func StringFromPostalAddressStyle(postalAddress *PostalAddress, style PostalAddressFormatterStyle) string

StringFromPostalAddressStyle returns a postal address as a string and formatted for the specified style.

Types

type AuthorizationStatus added in v0.17.0

type AuthorizationStatus int64

An authorization status the user can grant for an app to access the specified entity type.

const (
	// The user has not yet made a choice regarding whether the application may access contact data.
	AuthorizationStatusNotDetermined AuthorizationStatus = 0
	// The application is not authorized to access contact data. The user cannot change this application’s status, possibly due to active restrictions such as parental controls being in place.
	AuthorizationStatusRestricted AuthorizationStatus = 1
	// The user explicitly denied access to contact data for the application.
	AuthorizationStatusDenied AuthorizationStatus = 2
	// The application is authorized to access contact data.
	AuthorizationStatusAuthorized AuthorizationStatus = 3
	// The app has access to a limited subset of contacts, chosen by the person using the app.
	AuthorizationStatusLimited AuthorizationStatus = 4
)

func AuthorizationStatusForEntityType added in v0.17.0

func AuthorizationStatusForEntityType(entityType EntityType) AuthorizationStatus

AuthorizationStatusForEntityType returns the current authorization status to access the contact data.

func (AuthorizationStatus) String added in v0.17.0

func (e AuthorizationStatus) String() string

String returns the AuthorizationStatus constant's name, or its numeric form when the value is not a known constant.

type ChangeHistoryAddContactEvent added in v0.17.0

type ChangeHistoryAddContactEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryAddContactEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryAddContactEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents a user adding a contact.

func ChangeHistoryAddContactEventFromID added in v0.17.0

func ChangeHistoryAddContactEventFromID(id objc.ID) *ChangeHistoryAddContactEvent

ChangeHistoryAddContactEventFromID adopts an existing Objective-C object as a ChangeHistoryAddContactEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryAddContactEvent added in v0.17.0

func NewChangeHistoryAddContactEvent() *ChangeHistoryAddContactEvent

NewChangeHistoryAddContactEvent creates a new ChangeHistoryAddContactEvent.

func (*ChangeHistoryAddContactEvent) Contact added in v0.17.0

func (chace *ChangeHistoryAddContactEvent) Contact() *Contact

Contact returns the contact.

func (*ChangeHistoryAddContactEvent) ContainerIdentifier added in v0.17.0

func (chace *ChangeHistoryAddContactEvent) ContainerIdentifier() string

ContainerIdentifier returns the container identifier.

type ChangeHistoryAddGroupEvent added in v0.17.0

type ChangeHistoryAddGroupEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryAddGroupEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryAddGroupEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents a user adding a group.

func ChangeHistoryAddGroupEventFromID added in v0.17.0

func ChangeHistoryAddGroupEventFromID(id objc.ID) *ChangeHistoryAddGroupEvent

ChangeHistoryAddGroupEventFromID adopts an existing Objective-C object as a ChangeHistoryAddGroupEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryAddGroupEvent added in v0.17.0

func NewChangeHistoryAddGroupEvent() *ChangeHistoryAddGroupEvent

NewChangeHistoryAddGroupEvent creates a new ChangeHistoryAddGroupEvent.

func (*ChangeHistoryAddGroupEvent) ContainerIdentifier added in v0.17.0

func (chage *ChangeHistoryAddGroupEvent) ContainerIdentifier() string

ContainerIdentifier returns the container identifier.

func (*ChangeHistoryAddGroupEvent) Group added in v0.17.0

func (chage *ChangeHistoryAddGroupEvent) Group() *Group

Group returns the group.

type ChangeHistoryAddMemberToGroupEvent added in v0.17.0

type ChangeHistoryAddMemberToGroupEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryAddMemberToGroupEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryAddMemberToGroupEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents a user adding a contact to a group.

func ChangeHistoryAddMemberToGroupEventFromID added in v0.17.0

func ChangeHistoryAddMemberToGroupEventFromID(id objc.ID) *ChangeHistoryAddMemberToGroupEvent

ChangeHistoryAddMemberToGroupEventFromID adopts an existing Objective-C object as a ChangeHistoryAddMemberToGroupEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryAddMemberToGroupEvent added in v0.17.0

func NewChangeHistoryAddMemberToGroupEvent() *ChangeHistoryAddMemberToGroupEvent

NewChangeHistoryAddMemberToGroupEvent creates a new ChangeHistoryAddMemberToGroupEvent.

func (*ChangeHistoryAddMemberToGroupEvent) Group added in v0.17.0

func (chamtge *ChangeHistoryAddMemberToGroupEvent) Group() *Group

Group returns the group.

func (*ChangeHistoryAddMemberToGroupEvent) Member added in v0.17.0

func (chamtge *ChangeHistoryAddMemberToGroupEvent) Member() *Contact

Member returns the member.

type ChangeHistoryAddSubgroupToGroupEvent added in v0.17.0

type ChangeHistoryAddSubgroupToGroupEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryAddSubgroupToGroupEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryAddSubgroupToGroupEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents a user adding a subgroup to a group.

func ChangeHistoryAddSubgroupToGroupEventFromID added in v0.17.0

func ChangeHistoryAddSubgroupToGroupEventFromID(id objc.ID) *ChangeHistoryAddSubgroupToGroupEvent

ChangeHistoryAddSubgroupToGroupEventFromID adopts an existing Objective-C object as a ChangeHistoryAddSubgroupToGroupEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryAddSubgroupToGroupEvent added in v0.17.0

func NewChangeHistoryAddSubgroupToGroupEvent() *ChangeHistoryAddSubgroupToGroupEvent

NewChangeHistoryAddSubgroupToGroupEvent creates a new ChangeHistoryAddSubgroupToGroupEvent.

func (*ChangeHistoryAddSubgroupToGroupEvent) Group added in v0.17.0

func (chastge *ChangeHistoryAddSubgroupToGroupEvent) Group() *Group

Group returns the group.

func (*ChangeHistoryAddSubgroupToGroupEvent) Subgroup added in v0.17.0

func (chastge *ChangeHistoryAddSubgroupToGroupEvent) Subgroup() *Group

Subgroup returns the subgroup.

type ChangeHistoryDeleteContactEvent added in v0.17.0

type ChangeHistoryDeleteContactEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryDeleteContactEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryDeleteContactEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents a user deleting a contact.

func ChangeHistoryDeleteContactEventFromID added in v0.17.0

func ChangeHistoryDeleteContactEventFromID(id objc.ID) *ChangeHistoryDeleteContactEvent

ChangeHistoryDeleteContactEventFromID adopts an existing Objective-C object as a ChangeHistoryDeleteContactEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryDeleteContactEvent added in v0.17.0

func NewChangeHistoryDeleteContactEvent() *ChangeHistoryDeleteContactEvent

NewChangeHistoryDeleteContactEvent creates a new ChangeHistoryDeleteContactEvent.

func (*ChangeHistoryDeleteContactEvent) ContactIdentifier added in v0.17.0

func (chdce *ChangeHistoryDeleteContactEvent) ContactIdentifier() string

ContactIdentifier returns the contact identifier.

type ChangeHistoryDeleteGroupEvent added in v0.17.0

type ChangeHistoryDeleteGroupEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryDeleteGroupEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryDeleteGroupEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents a user deleting a group.

func ChangeHistoryDeleteGroupEventFromID added in v0.17.0

func ChangeHistoryDeleteGroupEventFromID(id objc.ID) *ChangeHistoryDeleteGroupEvent

ChangeHistoryDeleteGroupEventFromID adopts an existing Objective-C object as a ChangeHistoryDeleteGroupEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryDeleteGroupEvent added in v0.17.0

func NewChangeHistoryDeleteGroupEvent() *ChangeHistoryDeleteGroupEvent

NewChangeHistoryDeleteGroupEvent creates a new ChangeHistoryDeleteGroupEvent.

func (*ChangeHistoryDeleteGroupEvent) GroupIdentifier added in v0.17.0

func (chdge *ChangeHistoryDeleteGroupEvent) GroupIdentifier() string

GroupIdentifier returns the group identifier.

type ChangeHistoryDropEverythingEvent added in v0.17.0

type ChangeHistoryDropEverythingEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryDropEverythingEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryDropEverythingEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that indicates the delegate should drop all contacts and groups before handling change events.

func ChangeHistoryDropEverythingEventFromID added in v0.17.0

func ChangeHistoryDropEverythingEventFromID(id objc.ID) *ChangeHistoryDropEverythingEvent

ChangeHistoryDropEverythingEventFromID adopts an existing Objective-C object as a ChangeHistoryDropEverythingEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryDropEverythingEvent added in v0.17.0

func NewChangeHistoryDropEverythingEvent() *ChangeHistoryDropEverythingEvent

NewChangeHistoryDropEverythingEvent creates a new ChangeHistoryDropEverythingEvent.

type ChangeHistoryEvent added in v0.17.0

type ChangeHistoryEvent struct {
	objref.Handle
}

ChangeHistoryEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryEvent.

ChangeHistoryEvent is an abstract base — you do not construct it directly. Construct one of ChangeHistoryAddContactEvent, ChangeHistoryAddGroupEvent, ChangeHistoryAddMemberToGroupEvent, ChangeHistoryAddSubgroupToGroupEvent, ChangeHistoryDeleteContactEvent, ChangeHistoryDeleteGroupEvent, ChangeHistoryDropEverythingEvent, ChangeHistoryRemoveMemberFromGroupEvent, ChangeHistoryRemoveSubgroupFromGroupEvent, ChangeHistoryUpdateContactEvent, ChangeHistoryUpdateGroupEvent and pass it where a ChangeHistoryEvent is accepted.

An object that represents the user adding, updating, or deleting a contact or group.

func ChangeHistoryEventFromID added in v0.17.0

func ChangeHistoryEventFromID(id objc.ID) *ChangeHistoryEvent

ChangeHistoryEventFromID adopts an existing Objective-C object as a ChangeHistoryEvent (nil for 0), retaining it and registering a release finalizer.

func (*ChangeHistoryEvent) Description added in v0.17.0

func (che *ChangeHistoryEvent) Description() string

Description returns the object's -description text.

func (*ChangeHistoryEvent) IsEqual added in v0.17.0

func (che *ChangeHistoryEvent) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ChangeHistoryEvent) IsKind added in v0.17.0

func (che *ChangeHistoryEvent) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ChangeHistoryEvent) String added in v0.17.0

func (che *ChangeHistoryEvent) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type ChangeHistoryEventProvider added in v0.17.0

type ChangeHistoryEventProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

ChangeHistoryEventProvider is accepted wherever a CNChangeHistoryEvent (or one of its subclasses) is expected.

type ChangeHistoryEventVisitor added in v0.17.0

type ChangeHistoryEventVisitor interface {
	VisitDropEverythingEvent(event *ChangeHistoryDropEverythingEvent)
	VisitAddContactEvent(event *ChangeHistoryAddContactEvent)
	VisitUpdateContactEvent(event *ChangeHistoryUpdateContactEvent)
	VisitDeleteContactEvent(event *ChangeHistoryDeleteContactEvent)
}

ChangeHistoryEventVisitor is the Go form of the Objective-C protocol CNChangeHistoryEventVisitor.

type ChangeHistoryFetchRequest added in v0.17.0

type ChangeHistoryFetchRequest struct {
	FetchRequest
}

ChangeHistoryFetchRequest is an idiomatic wrapper over the Objective-C class CNChangeHistoryFetchRequest.

It embeds FetchRequest, promoting that type's methods.

An object that specifies the criteria for fetching change history.

func ChangeHistoryFetchRequestFromID added in v0.17.0

func ChangeHistoryFetchRequestFromID(id objc.ID) *ChangeHistoryFetchRequest

ChangeHistoryFetchRequestFromID adopts an existing Objective-C object as a ChangeHistoryFetchRequest (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryFetchRequest added in v0.17.0

func NewChangeHistoryFetchRequest() *ChangeHistoryFetchRequest

NewChangeHistoryFetchRequest creates a new ChangeHistoryFetchRequest.

func (*ChangeHistoryFetchRequest) AdditionalContactKeyDescriptors added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) AdditionalContactKeyDescriptors() []obj.Object

AdditionalContactKeyDescriptors returns additional keys to include in the fetched contacts. By default, only

func (*ChangeHistoryFetchRequest) ExcludedTransactionAuthors added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) ExcludedTransactionAuthors() []string

ExcludedTransactionAuthors returns exclude changes made by certain authors. If set, transactions made by the specified authors will be excluded from the results. Use this, in conjunction with

ExcludedTransactionAuthors returns the collection as a Go slice.

func (*ChangeHistoryFetchRequest) IncludeGroupChanges added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) IncludeGroupChanges() bool

IncludeGroupChanges reports whether set to

func (*ChangeHistoryFetchRequest) MutableObjects added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) MutableObjects() bool

MutableObjects reports whether to return mutable contacts and groups. If

func (*ChangeHistoryFetchRequest) SetAdditionalContactKeyDescriptors added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) SetAdditionalContactKeyDescriptors(additionalContactKeyDescriptors []obj.Object)

SetAdditionalContactKeyDescriptors wraps the corresponding Objective-C method.

func (*ChangeHistoryFetchRequest) ShouldUnifyResults added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) ShouldUnifyResults() bool

ShouldUnifyResults reports whether returns contact changes as unified contacts. If

func (*ChangeHistoryFetchRequest) StartingToken added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) StartingToken() []byte

StartingToken returns request changes made after a certain point. If non-nil, only changes made after this point in history will be returned. If nil, a

func (*ChangeHistoryFetchRequest) WithExcludedTransactionAuthors added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) WithExcludedTransactionAuthors(items ...obj.Object) *ChangeHistoryFetchRequest

WithExcludedTransactionAuthors sets an array of strings that identify transaction authors to exclude from the fetch results.

func (*ChangeHistoryFetchRequest) WithIncludeGroupChanges added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) WithIncludeGroupChanges(includeGroupChanges bool) *ChangeHistoryFetchRequest

WithIncludeGroupChanges sets a Boolean value that indicates whether the fetch should also return group changes.

func (*ChangeHistoryFetchRequest) WithMutableObjects added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) WithMutableObjects(mutableObjects bool) *ChangeHistoryFetchRequest

WithMutableObjects sets a Boolean value that indicates whether the fetch should return mutable contacts and groups.

func (*ChangeHistoryFetchRequest) WithShouldUnifyResults added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) WithShouldUnifyResults(shouldUnifyResults bool) *ChangeHistoryFetchRequest

WithShouldUnifyResults sets a Boolean value that indicates whether the fetch should return contact changes as unified contacts.

func (*ChangeHistoryFetchRequest) WithStartingToken added in v0.17.0

func (chfr *ChangeHistoryFetchRequest) WithStartingToken(startingToken []byte) *ChangeHistoryFetchRequest

WithStartingToken sets an opaque token that indicates a point in history in the user’s Contacts database.

type ChangeHistoryRemoveMemberFromGroupEvent added in v0.17.0

type ChangeHistoryRemoveMemberFromGroupEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryRemoveMemberFromGroupEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryRemoveMemberFromGroupEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents a user removing a contact from a group.

func ChangeHistoryRemoveMemberFromGroupEventFromID added in v0.17.0

func ChangeHistoryRemoveMemberFromGroupEventFromID(id objc.ID) *ChangeHistoryRemoveMemberFromGroupEvent

ChangeHistoryRemoveMemberFromGroupEventFromID adopts an existing Objective-C object as a ChangeHistoryRemoveMemberFromGroupEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryRemoveMemberFromGroupEvent added in v0.17.0

func NewChangeHistoryRemoveMemberFromGroupEvent() *ChangeHistoryRemoveMemberFromGroupEvent

NewChangeHistoryRemoveMemberFromGroupEvent creates a new ChangeHistoryRemoveMemberFromGroupEvent.

func (*ChangeHistoryRemoveMemberFromGroupEvent) Group added in v0.17.0

Group returns the group.

func (*ChangeHistoryRemoveMemberFromGroupEvent) Member added in v0.17.0

Member returns the member.

type ChangeHistoryRemoveSubgroupFromGroupEvent added in v0.17.0

type ChangeHistoryRemoveSubgroupFromGroupEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryRemoveSubgroupFromGroupEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryRemoveSubgroupFromGroupEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents a user removing a subgroup from a group.

func ChangeHistoryRemoveSubgroupFromGroupEventFromID added in v0.17.0

func ChangeHistoryRemoveSubgroupFromGroupEventFromID(id objc.ID) *ChangeHistoryRemoveSubgroupFromGroupEvent

ChangeHistoryRemoveSubgroupFromGroupEventFromID adopts an existing Objective-C object as a ChangeHistoryRemoveSubgroupFromGroupEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryRemoveSubgroupFromGroupEvent added in v0.17.0

func NewChangeHistoryRemoveSubgroupFromGroupEvent() *ChangeHistoryRemoveSubgroupFromGroupEvent

NewChangeHistoryRemoveSubgroupFromGroupEvent creates a new ChangeHistoryRemoveSubgroupFromGroupEvent.

func (*ChangeHistoryRemoveSubgroupFromGroupEvent) Group added in v0.17.0

Group returns the group.

func (*ChangeHistoryRemoveSubgroupFromGroupEvent) Subgroup added in v0.17.0

func (chrsfge *ChangeHistoryRemoveSubgroupFromGroupEvent) Subgroup() *Group

Subgroup returns the subgroup.

type ChangeHistoryUpdateContactEvent added in v0.17.0

type ChangeHistoryUpdateContactEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryUpdateContactEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryUpdateContactEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents a user updating a contact.

func ChangeHistoryUpdateContactEventFromID added in v0.17.0

func ChangeHistoryUpdateContactEventFromID(id objc.ID) *ChangeHistoryUpdateContactEvent

ChangeHistoryUpdateContactEventFromID adopts an existing Objective-C object as a ChangeHistoryUpdateContactEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryUpdateContactEvent added in v0.17.0

func NewChangeHistoryUpdateContactEvent() *ChangeHistoryUpdateContactEvent

NewChangeHistoryUpdateContactEvent creates a new ChangeHistoryUpdateContactEvent.

func (*ChangeHistoryUpdateContactEvent) Contact added in v0.17.0

func (chuce *ChangeHistoryUpdateContactEvent) Contact() *Contact

Contact returns the contact.

type ChangeHistoryUpdateGroupEvent added in v0.17.0

type ChangeHistoryUpdateGroupEvent struct {
	ChangeHistoryEvent
}

ChangeHistoryUpdateGroupEvent is an idiomatic wrapper over the Objective-C class CNChangeHistoryUpdateGroupEvent.

It embeds ChangeHistoryEvent, promoting that type's methods.

An object that represents an updated group event.

func ChangeHistoryUpdateGroupEventFromID added in v0.17.0

func ChangeHistoryUpdateGroupEventFromID(id objc.ID) *ChangeHistoryUpdateGroupEvent

ChangeHistoryUpdateGroupEventFromID adopts an existing Objective-C object as a ChangeHistoryUpdateGroupEvent (nil for 0), retaining it and registering a release finalizer.

func NewChangeHistoryUpdateGroupEvent added in v0.17.0

func NewChangeHistoryUpdateGroupEvent() *ChangeHistoryUpdateGroupEvent

NewChangeHistoryUpdateGroupEvent creates a new ChangeHistoryUpdateGroupEvent.

func (*ChangeHistoryUpdateGroupEvent) Group added in v0.17.0

func (chuge *ChangeHistoryUpdateGroupEvent) Group() *Group

Group returns the group.

type Clockid added in v0.17.0

type Clockid int32
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid constant's name, or its numeric form when the value is not a known constant.

type Contact added in v0.17.0

type Contact struct {
	objref.Handle
}

Contact is an idiomatic wrapper over the Objective-C class CNContact.

Contact is an abstract base — you do not construct it directly. Construct one of MutableContact and pass it where a Contact is accepted.

An immutable object that stores information about a single contact, such as the contact’s first name, phone numbers, and addresses.

func ContactFromID added in v0.17.0

func ContactFromID(id objc.ID) *Contact

ContactFromID adopts an existing Objective-C object as a Contact (nil for 0), retaining it and registering a release finalizer.

func ContactsWithData added in v0.17.0

func ContactsWithData(data []byte) (result []*Contact, err error)

ContactsWithData returns the contacts from the vCard data.

func (*Contact) AreKeysAvailable added in v0.17.0

func (c *Contact) AreKeysAvailable(keyDescriptors []obj.Object) bool

AreKeysAvailable determines whether all contact property values for the specified keys are fetched.

func (*Contact) Birthday added in v0.17.0

func (c *Contact) Birthday() *foundation.DateComponents

Birthday returns the Gregorian birthday.

func (*Contact) ContactRelations added in v0.17.0

func (c *Contact) ContactRelations() []obj.Object

ContactRelations returns the contact relations.

ContactRelations returns the collection as a Go slice.

func (*Contact) ContactType added in v0.17.0

func (c *Contact) ContactType() ContactType

ContactType returns the contact type.

func (*Contact) Dates added in v0.17.0

func (c *Contact) Dates() []obj.Object

Dates returns other Gregorian dates (anniversaries, etc).

Dates returns the collection as a Go slice.

func (*Contact) DepartmentName added in v0.17.0

func (c *Contact) DepartmentName() string

DepartmentName returns the department name.

func (*Contact) Description added in v0.17.0

func (c *Contact) Description() string

Description returns the object's -description text.

func (*Contact) EmailAddresses added in v0.17.0

func (c *Contact) EmailAddresses() []obj.Object

EmailAddresses returns the email addresses.

EmailAddresses returns the collection as a Go slice.

func (*Contact) FamilyName added in v0.17.0

func (c *Contact) FamilyName() string

FamilyName returns the family name.

func (*Contact) GivenName added in v0.17.0

func (c *Contact) GivenName() string

GivenName returns the given name.

func (*Contact) Identifier added in v0.17.0

func (c *Contact) Identifier() string

Identifier returns the identifier is unique among contacts on the device. It can be saved and used for fetching contacts next application launch.

func (*Contact) ImageData added in v0.17.0

func (c *Contact) ImageData() []byte

ImageData returns the image data.

func (*Contact) ImageDataAvailable added in v0.17.0

func (c *Contact) ImageDataAvailable() bool

ImageDataAvailable wraps the corresponding Objective-C method.

func (*Contact) InstantMessageAddresses added in v0.17.0

func (c *Contact) InstantMessageAddresses() []obj.Object

InstantMessageAddresses returns the instant message addresses.

InstantMessageAddresses returns the collection as a Go slice.

func (*Contact) IsEqual added in v0.17.0

func (c *Contact) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*Contact) IsKeyAvailable added in v0.17.0

func (c *Contact) IsKeyAvailable(key string) bool

IsKeyAvailable determines whether the contact property value for the specified key is fetched.

func (*Contact) IsKind added in v0.17.0

func (c *Contact) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*Contact) IsUnifiedWithContactWithIdentifier added in v0.17.0

func (c *Contact) IsUnifiedWithContactWithIdentifier(contactIdentifier string) bool

IsUnifiedWithContactWithIdentifier returns a Boolean indicating whether the current contact is a unified contact and includes a contact with the specified identifier.

func (*Contact) JobTitle added in v0.17.0

func (c *Contact) JobTitle() string

JobTitle returns the job title.

func (*Contact) MiddleName added in v0.17.0

func (c *Contact) MiddleName() string

MiddleName returns the middle name.

func (*Contact) NamePrefix added in v0.17.0

func (c *Contact) NamePrefix() string

NamePrefix returns the name prefix.

func (*Contact) NameSuffix added in v0.17.0

func (c *Contact) NameSuffix() string

NameSuffix returns the name suffix.

func (*Contact) Nickname added in v0.17.0

func (c *Contact) Nickname() string

Nickname returns the nickname.

func (*Contact) NonGregorianBirthday added in v0.17.0

func (c *Contact) NonGregorianBirthday() *foundation.DateComponents

NonGregorianBirthday returns the alternate birthday (Lunisolar).

func (*Contact) Note added in v0.17.0

func (c *Contact) Note() string

Note returns the note.

func (*Contact) OrganizationName added in v0.17.0

func (c *Contact) OrganizationName() string

OrganizationName returns the organization name.

func (*Contact) PhoneNumbers added in v0.17.0

func (c *Contact) PhoneNumbers() []obj.Object

PhoneNumbers returns the phone numbers.

PhoneNumbers returns the collection as a Go slice.

func (*Contact) PhoneticFamilyName added in v0.17.0

func (c *Contact) PhoneticFamilyName() string

PhoneticFamilyName returns the phonetic family name.

func (*Contact) PhoneticGivenName added in v0.17.0

func (c *Contact) PhoneticGivenName() string

PhoneticGivenName returns the phonetic given name.

func (*Contact) PhoneticMiddleName added in v0.17.0

func (c *Contact) PhoneticMiddleName() string

PhoneticMiddleName returns the phonetic middle name.

func (*Contact) PhoneticOrganizationName added in v0.17.0

func (c *Contact) PhoneticOrganizationName() string

PhoneticOrganizationName returns the phonetic organization name.

func (*Contact) PostalAddresses added in v0.17.0

func (c *Contact) PostalAddresses() []obj.Object

PostalAddresses returns the postal addresses.

PostalAddresses returns the collection as a Go slice.

func (*Contact) PreviousFamilyName added in v0.17.0

func (c *Contact) PreviousFamilyName() string

PreviousFamilyName returns the previous family name.

func (*Contact) SocialProfiles added in v0.17.0

func (c *Contact) SocialProfiles() []obj.Object

SocialProfiles returns the social profiles.

SocialProfiles returns the collection as a Go slice.

func (*Contact) String added in v0.17.0

func (c *Contact) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*Contact) ThumbnailImageData added in v0.17.0

func (c *Contact) ThumbnailImageData() []byte

ThumbnailImageData returns the thumbnail image data.

func (*Contact) URLAddresses added in v0.17.0

func (c *Contact) URLAddresses() []obj.Object

URLAddresses returns the URL addresses.

URLAddresses returns the collection as a Go slice.

type ContactDisplayNameOrder added in v0.17.0

type ContactDisplayNameOrder int64

The formatting orders for contact names component.

const (
	// Display name order by user default.
	ContactDisplayNameOrderUserDefault ContactDisplayNameOrder = 0
	// Display name order by given name first.
	ContactDisplayNameOrderGivenNameFirst ContactDisplayNameOrder = 1
	// Display name order by family name first.
	ContactDisplayNameOrderFamilyNameFirst ContactDisplayNameOrder = 2
)

func NameOrderForContact added in v0.17.0

func NameOrderForContact(contact *Contact) ContactDisplayNameOrder

NameOrderForContact returns the display name order.

func (ContactDisplayNameOrder) String added in v0.17.0

func (e ContactDisplayNameOrder) String() string

String returns the ContactDisplayNameOrder constant's name, or its numeric form when the value is not a known constant.

type ContactFetchRequest added in v0.17.0

type ContactFetchRequest struct {
	FetchRequest
}

ContactFetchRequest is an idiomatic wrapper over the Objective-C class CNContactFetchRequest.

It embeds FetchRequest, promoting that type's methods.

An object that defines the options to use when fetching contacts.

func ContactFetchRequestFromID added in v0.17.0

func ContactFetchRequestFromID(id objc.ID) *ContactFetchRequest

ContactFetchRequestFromID adopts an existing Objective-C object as a ContactFetchRequest (nil for 0), retaining it and registering a release finalizer.

func NewContactFetchRequestWithKeysToFetch added in v0.17.0

func NewContactFetchRequestWithKeysToFetch(keysToFetch []obj.Object) *ContactFetchRequest

NewContactFetchRequestWithKeysToFetch creates a fetch request for the specified keys.

func (*ContactFetchRequest) KeysToFetch added in v0.17.0

func (cfr *ContactFetchRequest) KeysToFetch() []obj.Object

KeysToFetch returns the properties to fetch in the returned contacts. Should only fetch the properties that will be used. Can combine contact keys and contact key descriptors.

func (*ContactFetchRequest) MutableObjects added in v0.17.0

func (cfr *ContactFetchRequest) MutableObjects() bool

MutableObjects reports whether to return mutable contacts. If true returns CNMutableContact objects, otherwise returns CNContact objects. Default is false.

func (*ContactFetchRequest) Predicate added in v0.17.0

func (cfr *ContactFetchRequest) Predicate() *foundation.Predicate

Predicate returns the predicate to match contacts against. Use only predicates from CNContact+Predicates.h. Compound predicates are not supported. Set to nil to match all contacts.

func (*ContactFetchRequest) SetKeysToFetch added in v0.17.0

func (cfr *ContactFetchRequest) SetKeysToFetch(keysToFetch []obj.Object)

SetKeysToFetch wraps the corresponding Objective-C method.

func (*ContactFetchRequest) SortOrder added in v0.17.0

func (cfr *ContactFetchRequest) SortOrder() ContactSortOrder

SortOrder returns to return contacts in a specific sort order. Default is CNContactSortOrderNone.

func (*ContactFetchRequest) UnifyResults added in v0.17.0

func (cfr *ContactFetchRequest) UnifyResults() bool

UnifyResults reports whether to return linked contacts as unified contacts. If true returns unified contacts, otherwise returns individual contacts. Default is true.

func (*ContactFetchRequest) WithMutableObjects added in v0.17.0

func (cfr *ContactFetchRequest) WithMutableObjects(mutableObjects bool) *ContactFetchRequest

WithMutableObjects sets a Boolean value that indicates whether to return mutable contacts.

func (*ContactFetchRequest) WithPredicate added in v0.17.0

func (cfr *ContactFetchRequest) WithPredicate(predicate obj.Object) *ContactFetchRequest

WithPredicate sets the predicate to match contacts against.

func (*ContactFetchRequest) WithSortOrder added in v0.17.0

func (cfr *ContactFetchRequest) WithSortOrder(sortOrder ContactSortOrder) *ContactFetchRequest

WithSortOrder sets the sort order for contacts.

func (*ContactFetchRequest) WithUnifyResults added in v0.17.0

func (cfr *ContactFetchRequest) WithUnifyResults(unifyResults bool) *ContactFetchRequest

WithUnifyResults sets a Boolean value that indicates whether to return linked contacts as unified contacts.

type ContactFormatter added in v0.17.0

type ContactFormatter struct {
	objref.Handle
}

ContactFormatter is an idiomatic wrapper over the Objective-C class CNContactFormatter.

An object that you use to format contact information before displaying it to the user.

func ContactFormatterFromID added in v0.17.0

func ContactFormatterFromID(id objc.ID) *ContactFormatter

ContactFormatterFromID adopts an existing Objective-C object as a ContactFormatter (nil for 0), retaining it and registering a release finalizer.

func NewContactFormatter added in v0.17.0

func NewContactFormatter() *ContactFormatter

NewContactFormatter creates a new ContactFormatter.

func (*ContactFormatter) AttributedStringFromContactDefaultAttributes added in v0.17.0

func (cf *ContactFormatter) AttributedStringFromContactDefaultAttributes(contact *Contact, attributes obj.Object) *foundation.AttributedString

AttributedStringFromContactDefaultAttributes formats the contact name as an attributed string.

func (*ContactFormatter) Description added in v0.17.0

func (cf *ContactFormatter) Description() string

Description returns the object's -description text.

func (*ContactFormatter) IsEqual added in v0.17.0

func (cf *ContactFormatter) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ContactFormatter) IsKind added in v0.17.0

func (cf *ContactFormatter) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ContactFormatter) String added in v0.17.0

func (cf *ContactFormatter) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*ContactFormatter) StringFromContact added in v0.17.0

func (cf *ContactFormatter) StringFromContact(contact *Contact) string

StringFromContact formats the contact name.

func (*ContactFormatter) Style added in v0.17.0

Style returns the style for a contact formatter instance. The default value is CNContactFormatterStyleFullName.

func (*ContactFormatter) WithStyle added in v0.17.0

WithStyle sets the formatting style for the contact name.

type ContactFormatterStyle added in v0.17.0

type ContactFormatterStyle int64

The formatting styles for contact names.

const (
	// Combines the contact name components into a full name.
	ContactFormatterStyleFullName ContactFormatterStyle = 0
	// Combines the contact phonetic name components into a phonetic full name.
	ContactFormatterStylePhoneticFullName ContactFormatterStyle = 1
)

func (ContactFormatterStyle) String added in v0.17.0

func (e ContactFormatterStyle) String() string

String returns the ContactFormatterStyle constant's name, or its numeric form when the value is not a known constant.

type ContactProperty added in v0.17.0

type ContactProperty struct {
	objref.Handle
}

ContactProperty is an idiomatic wrapper over the Objective-C class CNContactProperty.

An object that represents a property of a contact.

func ContactPropertyFromID added in v0.17.0

func ContactPropertyFromID(id objc.ID) *ContactProperty

ContactPropertyFromID adopts an existing Objective-C object as a ContactProperty (nil for 0), retaining it and registering a release finalizer.

func NewContactProperty added in v0.17.0

func NewContactProperty() *ContactProperty

NewContactProperty creates a new ContactProperty.

func (*ContactProperty) Contact added in v0.17.0

func (cp *ContactProperty) Contact() *Contact

Contact returns the contact.

func (*ContactProperty) Description added in v0.17.0

func (cp *ContactProperty) Description() string

Description returns the object's -description text.

func (*ContactProperty) Identifier added in v0.17.0

func (cp *ContactProperty) Identifier() string

Identifier returns the identifier of the labeled value if the property is an array of labeled values, otherwise is nil.

func (*ContactProperty) IsEqual added in v0.17.0

func (cp *ContactProperty) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ContactProperty) IsKind added in v0.17.0

func (cp *ContactProperty) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ContactProperty) Key added in v0.17.0

func (cp *ContactProperty) Key() string

Key returns the key of the contact property, as defined in CNContact.h.

func (*ContactProperty) Label added in v0.17.0

func (cp *ContactProperty) Label() string

Label returns the label of the labeled value if the property is an array of labeled values, otherwise is nil.

func (*ContactProperty) String added in v0.17.0

func (cp *ContactProperty) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*ContactProperty) Value added in v0.17.0

func (cp *ContactProperty) Value() obj.Object

Value returns the value of the property.

type ContactProvider added in v0.17.0

type ContactProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

ContactProvider is accepted wherever a CNContact (or one of its subclasses) is expected.

type ContactRelation added in v0.17.0

type ContactRelation struct {
	objref.Handle
}

ContactRelation is an idiomatic wrapper over the Objective-C class CNContactRelation.

An immutable object that represents the relationship between one contact to another.

func ContactRelationFromID added in v0.17.0

func ContactRelationFromID(id objc.ID) *ContactRelation

ContactRelationFromID adopts an existing Objective-C object as a ContactRelation (nil for 0), retaining it and registering a release finalizer.

func ContactRelationWithName added in v0.17.0

func ContactRelationWithName(name string) *ContactRelation

ContactRelationWithName instantiate a class instance with the name of the related contact.

func NewContactRelationWithName added in v0.17.0

func NewContactRelationWithName(name string) *ContactRelation

NewContactRelationWithName creates an object with the name of the related contact.

func (*ContactRelation) Description added in v0.17.0

func (cr *ContactRelation) Description() string

Description returns the object's -description text.

func (*ContactRelation) IsEqual added in v0.17.0

func (cr *ContactRelation) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ContactRelation) IsKind added in v0.17.0

func (cr *ContactRelation) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ContactRelation) Name added in v0.17.0

func (cr *ContactRelation) Name() string

Name returns the name.

func (*ContactRelation) String added in v0.17.0

func (cr *ContactRelation) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type ContactSortOrder added in v0.17.0

type ContactSortOrder int64

Indicates the sorting order for contacts.

const (
	// No sorting order.
	ContactSortOrderNone ContactSortOrder = 0
	// The user’s default sorting order.
	ContactSortOrderUserDefault ContactSortOrder = 1
	// Sorting contacts by given name.
	ContactSortOrderGivenName ContactSortOrder = 2
	// Sorting contacts by family name.
	ContactSortOrderFamilyName ContactSortOrder = 3
)

func (ContactSortOrder) String added in v0.17.0

func (e ContactSortOrder) String() string

String returns the ContactSortOrder constant's name, or its numeric form when the value is not a known constant.

type ContactStore added in v0.17.0

type ContactStore struct {
	objref.Handle
}

ContactStore is an idiomatic wrapper over the Objective-C class CNContactStore.

The object that fetches and saves contacts, groups, and containers from the user’s Contacts database.

func ContactStoreFromID added in v0.17.0

func ContactStoreFromID(id objc.ID) *ContactStore

ContactStoreFromID adopts an existing Objective-C object as a ContactStore (nil for 0), retaining it and registering a release finalizer.

func NewContactStore added in v0.17.0

func NewContactStore() *ContactStore

NewContactStore creates a new ContactStore.

func (*ContactStore) ContainersMatchingPredicate added in v0.17.0

func (cs *ContactStore) ContainersMatchingPredicate(predicate obj.Object) (result []*Container, err error)

ContainersMatchingPredicate fetches all containers matching the specified predicate.

func (*ContactStore) CurrentHistoryToken added in v0.17.0

func (cs *ContactStore) CurrentHistoryToken() []byte

CurrentHistoryToken returns the current history token. Retrieve the current history token. If you are fetching contacts or change history events, you should use the token on the

func (*ContactStore) DefaultContainerIdentifier added in v0.17.0

func (cs *ContactStore) DefaultContainerIdentifier() string

DefaultContainerIdentifier returns the identifier of the default container.

func (*ContactStore) Description added in v0.17.0

func (cs *ContactStore) Description() string

Description returns the object's -description text.

func (*ContactStore) EnumerateContactsWithFetchRequestErrorUsing added in v0.17.0

func (cs *ContactStore) EnumerateContactsWithFetchRequestErrorUsing(fetchRequest *ContactFetchRequest, err unsafe.Pointer, block func(obj.Object, *bool)) bool

EnumerateContactsWithFetchRequestErrorUsing returns a Boolean value that indicates whether the enumeration of all contacts matching a contact fetch request executes successfully.

func (*ContactStore) EnumeratorForChangeHistoryFetchRequest added in v0.17.0

func (cs *ContactStore) EnumeratorForChangeHistoryFetchRequest(request *ChangeHistoryFetchRequest) (result obj.Object, err error)

EnumeratorForChangeHistoryFetchRequest enumerates a change history fetch request.

func (*ContactStore) EnumeratorForContactFetchRequest added in v0.17.0

func (cs *ContactStore) EnumeratorForContactFetchRequest(request *ContactFetchRequest) (result obj.Object, err error)

EnumeratorForContactFetchRequest enumerates a contact fetch request.

func (*ContactStore) ExecuteSaveRequest added in v0.17.0

func (cs *ContactStore) ExecuteSaveRequest(saveRequest *SaveRequest) error

ExecuteSaveRequest executes a save request and returns success or failure.

func (*ContactStore) GroupsMatchingPredicate added in v0.17.0

func (cs *ContactStore) GroupsMatchingPredicate(predicate obj.Object) (result []*Group, err error)

GroupsMatchingPredicate fetches all groups matching the specified predicate.

func (*ContactStore) IsEqual added in v0.17.0

func (cs *ContactStore) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ContactStore) IsKind added in v0.17.0

func (cs *ContactStore) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ContactStore) RequestAccessForEntityTypeCompletionHandler added in v0.18.0

func (cs *ContactStore) RequestAccessForEntityTypeCompletionHandler(entityType EntityType, completionHandler func(bool, unsafe.Pointer))

RequestAccessForEntityTypeCompletionHandler requests access to the user’s contacts.

func (*ContactStore) String added in v0.17.0

func (cs *ContactStore) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*ContactStore) UnifiedContactWithIdentifierKeysToFetch added in v0.17.0

func (cs *ContactStore) UnifiedContactWithIdentifierKeysToFetch(identifier string, keys []obj.Object) (result *Contact, err error)

UnifiedContactWithIdentifierKeysToFetch fetches a unified contact for the specified contact identifier.

func (*ContactStore) UnifiedContactsMatchingPredicateKeysToFetch added in v0.17.0

func (cs *ContactStore) UnifiedContactsMatchingPredicateKeysToFetch(predicate obj.Object, keys []obj.Object) (result []*Contact, err error)

UnifiedContactsMatchingPredicateKeysToFetch fetches all unified contacts matching the specified predicate.

func (*ContactStore) UnifiedMeContactWithKeysToFetch added in v0.17.0

func (cs *ContactStore) UnifiedMeContactWithKeysToFetch(keys []obj.Object) (result *Contact, err error)

UnifiedMeContactWithKeysToFetch fetches the unified contact that’s the me card.

type ContactType added in v0.17.0

type ContactType int64

The types a contact can be.

const (
	// The contact is a person.
	ContactTypePerson ContactType = 0
	// The contact is an Organization.
	ContactTypeOrganization ContactType = 1
)

func (ContactType) String added in v0.17.0

func (e ContactType) String() string

String returns the ContactType constant's name, or its numeric form when the value is not a known constant.

type ContactVCardSerialization added in v0.17.0

type ContactVCardSerialization struct {
	objref.Handle
}

ContactVCardSerialization is an idiomatic wrapper over the Objective-C class CNContactVCardSerialization.

An object you use to convert to and from a vCard representation of the user’s contacts.

func ContactVCardSerializationFromID added in v0.17.0

func ContactVCardSerializationFromID(id objc.ID) *ContactVCardSerialization

ContactVCardSerializationFromID adopts an existing Objective-C object as a ContactVCardSerialization (nil for 0), retaining it and registering a release finalizer.

func NewContactVCardSerialization added in v0.17.0

func NewContactVCardSerialization() *ContactVCardSerialization

NewContactVCardSerialization creates a new ContactVCardSerialization.

func (*ContactVCardSerialization) Description added in v0.17.0

func (cvcs *ContactVCardSerialization) Description() string

Description returns the object's -description text.

func (*ContactVCardSerialization) IsEqual added in v0.17.0

func (cvcs *ContactVCardSerialization) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ContactVCardSerialization) IsKind added in v0.17.0

func (cvcs *ContactVCardSerialization) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ContactVCardSerialization) String added in v0.17.0

func (cvcs *ContactVCardSerialization) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type ContactsUserDefaults added in v0.17.0

type ContactsUserDefaults struct {
	objref.Handle
}

ContactsUserDefaults is an idiomatic wrapper over the Objective-C class CNContactsUserDefaults.

An object that defines the default options to use when displaying contacts.

func ContactsUserDefaultsFromID added in v0.17.0

func ContactsUserDefaultsFromID(id objc.ID) *ContactsUserDefaults

ContactsUserDefaultsFromID adopts an existing Objective-C object as a ContactsUserDefaults (nil for 0), retaining it and registering a release finalizer.

func NewContactsUserDefaults added in v0.17.0

func NewContactsUserDefaults() *ContactsUserDefaults

NewContactsUserDefaults creates a new ContactsUserDefaults.

func SharedDefaults added in v0.17.0

func SharedDefaults() *ContactsUserDefaults

SharedDefaults returns the singleton contacts user defaults object.

func (*ContactsUserDefaults) CountryCode added in v0.17.0

func (cud *ContactsUserDefaults) CountryCode() string

CountryCode returns the country code.

func (*ContactsUserDefaults) Description added in v0.17.0

func (cud *ContactsUserDefaults) Description() string

Description returns the object's -description text.

func (*ContactsUserDefaults) IsEqual added in v0.17.0

func (cud *ContactsUserDefaults) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ContactsUserDefaults) IsKind added in v0.17.0

func (cud *ContactsUserDefaults) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ContactsUserDefaults) SortOrder added in v0.17.0

func (cud *ContactsUserDefaults) SortOrder() ContactSortOrder

SortOrder returns the sort order.

func (*ContactsUserDefaults) String added in v0.17.0

func (cud *ContactsUserDefaults) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type Container added in v0.17.0

type Container struct {
	objref.Handle
}

Container is an idiomatic wrapper over the Objective-C class CNContainer.

An immutable object that represents a collection of contacts.

func ContainerFromID added in v0.17.0

func ContainerFromID(id objc.ID) *Container

ContainerFromID adopts an existing Objective-C object as a Container (nil for 0), retaining it and registering a release finalizer.

func NewContainer added in v0.17.0

func NewContainer() *Container

NewContainer creates a new Container.

func (*Container) Description added in v0.17.0

func (c *Container) Description() string

Description returns the object's -description text.

func (*Container) Identifier added in v0.17.0

func (c *Container) Identifier() string

Identifier returns the identifier is unique among containers on the device. It can be saved and used for fetching containers next application launch.

func (*Container) IsEqual added in v0.17.0

func (c *Container) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*Container) IsKind added in v0.17.0

func (c *Container) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*Container) Name added in v0.17.0

func (c *Container) Name() string

Name returns the name.

func (*Container) String added in v0.17.0

func (c *Container) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*Container) Type added in v0.17.0

func (c *Container) Type() ContainerType

Type returns the type.

type ContainerType added in v0.17.0

type ContainerType int64

The container may be local on the device or associated with a server account that has contacts.

const (
	// A container where the system hasn’t assigned the container type.
	ContainerTypeUnassigned ContainerType = 0
	// A container for contacts only stored locally on the device.
	ContainerTypeLocal ContainerType = 1
	// A container for contacts stored in an Exchange folder from an Exchange server.
	ContainerTypeExchange ContainerType = 2
	// A container for contacts stored in an CardDAV server, such as iCloud.
	ContainerTypeCardDAV ContainerType = 3
)

func (ContainerType) String added in v0.17.0

func (e ContainerType) String() string

String returns the ContainerType constant's name, or its numeric form when the value is not a known constant.

type DispatchAutoreleaseFrequency added in v0.17.0

type DispatchAutoreleaseFrequency uint64
const (
	DispatchAutoreleaseFrequencyInherit  DispatchAutoreleaseFrequency = 0
	DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1
	DispatchAutoreleaseFrequencyNever    DispatchAutoreleaseFrequency = 2
)

func (DispatchAutoreleaseFrequency) String added in v0.17.0

String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.

type DispatchBlockFlags added in v0.17.0

type DispatchBlockFlags uint64

Bitmask — values may be combined with |.

const (
	DispatchBlockFlagsBarrier         DispatchBlockFlags = 1
	DispatchBlockFlagsDetached        DispatchBlockFlags = 2
	DispatchBlockFlagsAssignCurrent   DispatchBlockFlags = 4
	DispatchBlockFlagsNoQosClass      DispatchBlockFlags = 8
	DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16
	DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32
)

func (DispatchBlockFlags) String added in v0.17.0

func (e DispatchBlockFlags) String() string

String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.

type EntityType added in v0.17.0

type EntityType int64

The entities the user can grant access to.

const (
	// The user’s contacts.
	EntityTypeContacts EntityType = 0
)

func (EntityType) String added in v0.17.0

func (e EntityType) String() string

String returns the EntityType constant's name, or its numeric form when the value is not a known constant.

type EntryID added in v0.17.0

type EntryID int32
const (
	EntryIDFirstEntry EntryID = 0
	EntryIDNextEntry  EntryID = -1
	EntryIDLastEntry  EntryID = -2
)

func (EntryID) String added in v0.17.0

func (e EntryID) String() string

String returns the EntryID constant's name, or its numeric form when the value is not a known constant.

type ErrorCode added in v0.17.0

type ErrorCode int64

Error codes that the system may return when you use Contacts framework methods.

const (
	ErrorCodeCommunicationError               ErrorCode = 1
	ErrorCodeDataAccessError                  ErrorCode = 2
	ErrorCodeAuthorizationDenied              ErrorCode = 100
	ErrorCodeNoAccessableWritableContainers   ErrorCode = 101
	ErrorCodeUnauthorizedKeys                 ErrorCode = 102
	ErrorCodeFeatureDisabledByUser            ErrorCode = 103
	ErrorCodeFeatureNotAvailable              ErrorCode = 104
	ErrorCodeRecordDoesNotExist               ErrorCode = 200
	ErrorCodeInsertedRecordAlreadyExists      ErrorCode = 201
	ErrorCodeContainmentCycle                 ErrorCode = 202
	ErrorCodeContainmentScope                 ErrorCode = 203
	ErrorCodeParentRecordDoesNotExist         ErrorCode = 204
	ErrorCodeRecordIdentifierInvalid          ErrorCode = 205
	ErrorCodeRecordNotWritable                ErrorCode = 206
	ErrorCodeParentContainerNotWritable       ErrorCode = 207
	ErrorCodeValidationMultipleErrors         ErrorCode = 300
	ErrorCodeValidationTypeMismatch           ErrorCode = 301
	ErrorCodeValidationConfigurationError     ErrorCode = 302
	ErrorCodePredicateInvalid                 ErrorCode = 400
	ErrorCodePolicyViolation                  ErrorCode = 500
	ErrorCodeClientIdentifierInvalid          ErrorCode = 600
	ErrorCodeClientIdentifierDoesNotExist     ErrorCode = 601
	ErrorCodeClientIdentifierCollision        ErrorCode = 602
	ErrorCodeChangeHistoryExpired             ErrorCode = 603
	ErrorCodeChangeHistoryInvalidAnchor       ErrorCode = 604
	ErrorCodeChangeHistoryInvalidFetchRequest ErrorCode = 605
	ErrorCodeVCardMalformed                   ErrorCode = 700
	ErrorCodeVCardSummarizationError          ErrorCode = 701
)

func (ErrorCode) String added in v0.17.0

func (e ErrorCode) String() string

String returns the ErrorCode constant's name, or its numeric form when the value is not a known constant.

type FetchRequest added in v0.17.0

type FetchRequest struct {
	objref.Handle
}

FetchRequest is an idiomatic wrapper over the Objective-C class CNFetchRequest.

FetchRequest is an abstract base — you do not construct it directly. Construct one of ChangeHistoryFetchRequest, ContactFetchRequest and pass it where a FetchRequest is accepted.

The base class for contact fetch requests.

func FetchRequestFromID added in v0.17.0

func FetchRequestFromID(id objc.ID) *FetchRequest

FetchRequestFromID adopts an existing Objective-C object as a FetchRequest (nil for 0), retaining it and registering a release finalizer.

func (*FetchRequest) Description added in v0.17.0

func (fr *FetchRequest) Description() string

Description returns the object's -description text.

func (*FetchRequest) IsEqual added in v0.17.0

func (fr *FetchRequest) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*FetchRequest) IsKind added in v0.17.0

func (fr *FetchRequest) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*FetchRequest) String added in v0.17.0

func (fr *FetchRequest) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type FetchRequestProvider added in v0.17.0

type FetchRequestProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

FetchRequestProvider is accepted wherever a CNFetchRequest (or one of its subclasses) is expected.

type FetchResult added in v0.17.0

type FetchResult struct {
	objref.Handle
}

FetchResult is an idiomatic wrapper over the Objective-C class CNFetchResult.

An object that represents the result of a change-history fetch request.

func FetchResultFromID added in v0.17.0

func FetchResultFromID(id objc.ID) *FetchResult

FetchResultFromID adopts an existing Objective-C object as a FetchResult (nil for 0), retaining it and registering a release finalizer.

func NewFetchResult added in v0.17.0

func NewFetchResult() *FetchResult

NewFetchResult creates a new FetchResult.

func (*FetchResult) CurrentHistoryToken added in v0.17.0

func (fr *FetchResult) CurrentHistoryToken() []byte

CurrentHistoryToken returns the current history token.

func (*FetchResult) Description added in v0.17.0

func (fr *FetchResult) Description() string

Description returns the object's -description text.

func (*FetchResult) IsEqual added in v0.17.0

func (fr *FetchResult) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*FetchResult) IsKind added in v0.17.0

func (fr *FetchResult) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*FetchResult) String added in v0.17.0

func (fr *FetchResult) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*FetchResult) Value added in v0.17.0

func (fr *FetchResult) Value() obj.Object

Value returns the value.

type FilesecProperty added in v0.17.0

type FilesecProperty int32
const (
	FilesecPropertyOwner        FilesecProperty = 1
	FilesecPropertyGroup        FilesecProperty = 2
	FilesecPropertyUUID         FilesecProperty = 3
	FilesecPropertyMode         FilesecProperty = 4
	FilesecPropertyACL          FilesecProperty = 5
	FilesecPropertyGrpuuid      FilesecProperty = 6
	FilesecPropertyACLRaw       FilesecProperty = 100
	FilesecPropertyACLAllocsize FilesecProperty = 101
)

func (FilesecProperty) String added in v0.17.0

func (e FilesecProperty) String() string

String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.

type Flag added in v0.17.0

type Flag int32
const (
	FlagFlagDeferInherit      Flag = 1
	FlagFlagNoInherit         Flag = 131072
	FlagEntryInherited        Flag = 16
	FlagEntryFileInherit      Flag = 32
	FlagEntryDirectoryInherit Flag = 64
	FlagEntryLimitInherit     Flag = 128
	FlagEntryOnlyInherit      Flag = 256
)

func (Flag) String added in v0.17.0

func (e Flag) String() string

String returns the Flag constant's name, or its numeric form when the value is not a known constant.

type Group added in v0.17.0

type Group struct {
	objref.Handle
}

Group is an idiomatic wrapper over the Objective-C class CNGroup.

Group is an abstract base — you do not construct it directly. Construct one of MutableGroup and pass it where a Group is accepted.

An immutable object that represents a group of contacts.

func GroupFromID added in v0.17.0

func GroupFromID(id objc.ID) *Group

GroupFromID adopts an existing Objective-C object as a Group (nil for 0), retaining it and registering a release finalizer.

func (*Group) Description added in v0.17.0

func (g *Group) Description() string

Description returns the object's -description text.

func (*Group) Identifier added in v0.17.0

func (g *Group) Identifier() string

Identifier returns the identifier is unique among groups on the device. It can be saved and used for fetching groups next application launch.

func (*Group) IsEqual added in v0.17.0

func (g *Group) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*Group) IsKind added in v0.17.0

func (g *Group) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*Group) Name added in v0.17.0

func (g *Group) Name() string

Name returns the name.

func (*Group) String added in v0.17.0

func (g *Group) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type GroupProvider added in v0.17.0

type GroupProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

GroupProvider is accepted wherever a CNGroup (or one of its subclasses) is expected.

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type InstantMessageAddress added in v0.17.0

type InstantMessageAddress struct {
	objref.Handle
}

InstantMessageAddress is an idiomatic wrapper over the Objective-C class CNInstantMessageAddress.

An immutable object representing an instant message address for the contact.

func InstantMessageAddressFromID added in v0.17.0

func InstantMessageAddressFromID(id objc.ID) *InstantMessageAddress

InstantMessageAddressFromID adopts an existing Objective-C object as a InstantMessageAddress (nil for 0), retaining it and registering a release finalizer.

func NewInstantMessageAddressWithUsernameService added in v0.17.0

func NewInstantMessageAddressWithUsernameService(username string, service string) *InstantMessageAddress

NewInstantMessageAddressWithUsernameService returns a CNInstantMessageAddress object initialized with the specified user name and service.

func (*InstantMessageAddress) Description added in v0.17.0

func (ima *InstantMessageAddress) Description() string

Description returns the object's -description text.

func (*InstantMessageAddress) IsEqual added in v0.17.0

func (ima *InstantMessageAddress) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*InstantMessageAddress) IsKind added in v0.17.0

func (ima *InstantMessageAddress) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*InstantMessageAddress) Service added in v0.17.0

func (ima *InstantMessageAddress) Service() string

Service returns the service.

func (*InstantMessageAddress) String added in v0.17.0

func (ima *InstantMessageAddress) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*InstantMessageAddress) Username added in v0.17.0

func (ima *InstantMessageAddress) Username() string

Username returns the username.

type IpcInfoObjectType added in v0.17.0

type IpcInfoObjectType uint32
const (
	IpcInfoObjectTypeNone               IpcInfoObjectType = 0
	IpcInfoObjectTypeThreadControl      IpcInfoObjectType = 1
	IpcInfoObjectTypeTaskControl        IpcInfoObjectType = 2
	IpcInfoObjectTypeHost               IpcInfoObjectType = 3
	IpcInfoObjectTypeHostPriv           IpcInfoObjectType = 4
	IpcInfoObjectTypeProcessor          IpcInfoObjectType = 5
	IpcInfoObjectTypeProcessorSet       IpcInfoObjectType = 6
	IpcInfoObjectTypeProcessorSetName   IpcInfoObjectType = 7
	IpcInfoObjectTypeTimer              IpcInfoObjectType = 8
	IpcInfoObjectTypePortSubstOnce      IpcInfoObjectType = 9
	IpcInfoObjectTypeMig                IpcInfoObjectType = 10
	IpcInfoObjectTypeMemoryObject       IpcInfoObjectType = 11
	IpcInfoObjectTypeXmmPager           IpcInfoObjectType = 12
	IpcInfoObjectTypeXmmKernel          IpcInfoObjectType = 13
	IpcInfoObjectTypeXmmReply           IpcInfoObjectType = 14
	IpcInfoObjectTypeUndReply           IpcInfoObjectType = 15
	IpcInfoObjectTypeHostNotify         IpcInfoObjectType = 16
	IpcInfoObjectTypeHostSecurity       IpcInfoObjectType = 17
	IpcInfoObjectTypeLedger             IpcInfoObjectType = 18
	IpcInfoObjectTypeMainDevice         IpcInfoObjectType = 19
	IpcInfoObjectTypeTaskName           IpcInfoObjectType = 20
	IpcInfoObjectTypeSubsystem          IpcInfoObjectType = 21
	IpcInfoObjectTypeIODoneQueue        IpcInfoObjectType = 22
	IpcInfoObjectTypeSemaphore          IpcInfoObjectType = 23
	IpcInfoObjectTypeLockSet            IpcInfoObjectType = 24
	IpcInfoObjectTypeClock              IpcInfoObjectType = 25
	IpcInfoObjectTypeClockCtrl          IpcInfoObjectType = 26
	IpcInfoObjectTypeIokitIdent         IpcInfoObjectType = 27
	IpcInfoObjectTypeNamedEntry         IpcInfoObjectType = 28
	IpcInfoObjectTypeIokitConnect       IpcInfoObjectType = 29
	IpcInfoObjectTypeIokitObject        IpcInfoObjectType = 30
	IpcInfoObjectTypeUpl                IpcInfoObjectType = 31
	IpcInfoObjectTypeMemObjControl      IpcInfoObjectType = 32
	IpcInfoObjectTypeAuSessionport      IpcInfoObjectType = 33
	IpcInfoObjectTypeFileport           IpcInfoObjectType = 34
	IpcInfoObjectTypeLabelh             IpcInfoObjectType = 35
	IpcInfoObjectTypeTaskResume         IpcInfoObjectType = 36
	IpcInfoObjectTypeVoucher            IpcInfoObjectType = 37
	IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38
	IpcInfoObjectTypeWorkInterval       IpcInfoObjectType = 39
	IpcInfoObjectTypeUxHandler          IpcInfoObjectType = 40
	IpcInfoObjectTypeUextObject         IpcInfoObjectType = 41
	IpcInfoObjectTypeArcadeReg          IpcInfoObjectType = 42
	IpcInfoObjectTypeEventlink          IpcInfoObjectType = 43
	IpcInfoObjectTypeTaskInspect        IpcInfoObjectType = 44
	IpcInfoObjectTypeTaskRead           IpcInfoObjectType = 45
	IpcInfoObjectTypeThreadInspect      IpcInfoObjectType = 46
	IpcInfoObjectTypeThreadRead         IpcInfoObjectType = 47
	IpcInfoObjectTypeSuidCred           IpcInfoObjectType = 48
	IpcInfoObjectTypeHypervisor         IpcInfoObjectType = 49
	IpcInfoObjectTypeTaskIDToken        IpcInfoObjectType = 50
	IpcInfoObjectTypeTaskFatal          IpcInfoObjectType = 51
	IpcInfoObjectTypeKcdata             IpcInfoObjectType = 52
	IpcInfoObjectTypeExclavesResource   IpcInfoObjectType = 53
	IpcInfoObjectTypeThreadResume       IpcInfoObjectType = 54
	IpcInfoObjectTypeUnknown            IpcInfoObjectType = 4294967295
)

func (IpcInfoObjectType) String added in v0.17.0

func (e IpcInfoObjectType) String() string

String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.

type KeyDescriptor added in v0.17.0

type KeyDescriptor interface {
}

KeyDescriptor is the Go form of the Objective-C protocol CNKeyDescriptor.

type LabeledValue added in v0.17.0

type LabeledValue struct {
	objref.Handle
}

LabeledValue is an idiomatic wrapper over the Objective-C class CNLabeledValue.

An immutable object that combines a contact property value with a label that describes that property.

func LabeledValueFromID added in v0.17.0

func LabeledValueFromID(id objc.ID) *LabeledValue

LabeledValueFromID adopts an existing Objective-C object as a LabeledValue (nil for 0), retaining it and registering a release finalizer.

func NewLabeledValueWithLabelValue added in v0.17.0

func NewLabeledValueWithLabelValue(label string, value obj.Object) *LabeledValue

NewLabeledValueWithLabelValue returns a new labeled value identifier.

func (*LabeledValue) Description added in v0.17.0

func (lv *LabeledValue) Description() string

Description returns the object's -description text.

func (*LabeledValue) Identifier added in v0.17.0

func (lv *LabeledValue) Identifier() string

Identifier returns the identifier is unique among contacts on the device. It can be saved and used for finding labeled values next application launch.

func (*LabeledValue) IsEqual added in v0.17.0

func (lv *LabeledValue) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*LabeledValue) IsKind added in v0.17.0

func (lv *LabeledValue) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*LabeledValue) Label added in v0.17.0

func (lv *LabeledValue) Label() string

Label returns the label.

func (*LabeledValue) LabeledValueBySettingLabel added in v0.17.0

func (lv *LabeledValue) LabeledValueBySettingLabel(label string) obj.Object

LabeledValueBySettingLabel returns a labeled value object with an existing value and identifier.

func (*LabeledValue) LabeledValueBySettingLabelValue added in v0.17.0

func (lv *LabeledValue) LabeledValueBySettingLabelValue(label string, value obj.Object) obj.Object

LabeledValueBySettingLabelValue returns a labeled value object with the specified label and value with the existing identifier.

func (*LabeledValue) LabeledValueBySettingValue added in v0.17.0

func (lv *LabeledValue) LabeledValueBySettingValue(value obj.Object) obj.Object

LabeledValueBySettingValue returns a new value for an existing label and identifier.

func (*LabeledValue) String added in v0.17.0

func (lv *LabeledValue) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*LabeledValue) Value added in v0.17.0

func (lv *LabeledValue) Value() obj.Object

Value returns the value.

type LaunchDataType added in v0.17.0

type LaunchDataType int32
const (
	LaunchDataTypeDictionary LaunchDataType = 1
	LaunchDataTypeArray      LaunchDataType = 2
	LaunchDataTypeFd         LaunchDataType = 3
	LaunchDataTypeInteger    LaunchDataType = 4
	LaunchDataTypeReal       LaunchDataType = 5
	LaunchDataTypeBool       LaunchDataType = 6
	LaunchDataTypeString     LaunchDataType = 7
	LaunchDataTypeOpaque     LaunchDataType = 8
	LaunchDataTypeErrno      LaunchDataType = 9
	LaunchDataTypeMachport   LaunchDataType = 10
)

func (LaunchDataType) String added in v0.17.0

func (e LaunchDataType) String() string

String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.

type MDLabelDomain

type MDLabelDomain int32

These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.

type MDQueryOptionFlags

type MDQueryOptionFlags int32
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int32
const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlags added in v0.17.0

type MachVMRangeFlags uint64

Bitmask — values may be combined with |.

const (
	MachVMRangeFlagsNone MachVMRangeFlags = 0
)

func (MachVMRangeFlags) String added in v0.17.0

func (e MachVMRangeFlags) String() string

String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlavor added in v0.17.0

type MachVMRangeFlavor uint32
const (
	MachVMRangeFlavorInvalid MachVMRangeFlavor = 0
	MachVMRangeFlavorV1      MachVMRangeFlavor = 1
)

func (MachVMRangeFlavor) String added in v0.17.0

func (e MachVMRangeFlavor) String() string

String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeTag added in v0.17.0

type MachVMRangeTag uint16
const (
	MachVMRangeTagDefault MachVMRangeTag = 0
	MachVMRangeTagData    MachVMRangeTag = 1
	MachVMRangeTagFixed   MachVMRangeTag = 2
)

func (MachVMRangeTag) String added in v0.17.0

func (e MachVMRangeTag) String() string

String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.

type MpoFlags added in v0.17.0

type MpoFlags uint32

Bitmask — values may be combined with |.

const (
	MpoFlagsPort                        MpoFlags = 0
	MpoFlagsServicePort                 MpoFlags = 1024
	MpoFlagsConnectionPort              MpoFlags = 2048
	MpoFlagsReplyPort                   MpoFlags = 4096
	MpoFlagsWeakReplyPort               MpoFlags = 16384
	MpoFlagsNotificationPort            MpoFlags = 17408
	MpoFlagsExceptionPort               MpoFlags = 32768
	MpoFlagsConnectionPortWithPortArray MpoFlags = 65536
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type MutableContact added in v0.17.0

type MutableContact struct {
	Contact
}

MutableContact is an idiomatic wrapper over the Objective-C class CNMutableContact.

It embeds Contact, promoting that type's methods.

A mutable object that stores information about a single contact, such as the contact’s first name, phone numbers, and addresses.

func MutableContactFromID added in v0.17.0

func MutableContactFromID(id objc.ID) *MutableContact

MutableContactFromID adopts an existing Objective-C object as a MutableContact (nil for 0), retaining it and registering a release finalizer.

func NewMutableContact added in v0.17.0

func NewMutableContact() *MutableContact

NewMutableContact creates a new MutableContact.

func (*MutableContact) WithBirthday added in v0.17.0

func (mc *MutableContact) WithBirthday(birthday obj.Object) *MutableContact

WithBirthday sets a date component for the Gregorian birthday of the contact.

func (*MutableContact) WithContactRelations added in v0.17.0

func (mc *MutableContact) WithContactRelations(items ...obj.Object) *MutableContact

WithContactRelations sets an array of labeled contact relations for the contact.

func (*MutableContact) WithContactType added in v0.17.0

func (mc *MutableContact) WithContactType(contactType ContactType) *MutableContact

WithContactType sets an enum identifying the contact type.

func (*MutableContact) WithDates added in v0.17.0

func (mc *MutableContact) WithDates(items ...obj.Object) *MutableContact

WithDates sets an array containing labeled Gregorian dates.

func (*MutableContact) WithDepartmentName added in v0.17.0

func (mc *MutableContact) WithDepartmentName(departmentName string) *MutableContact

WithDepartmentName sets the name of the department associated with the contact.

func (*MutableContact) WithEmailAddresses added in v0.17.0

func (mc *MutableContact) WithEmailAddresses(items ...obj.Object) *MutableContact

WithEmailAddresses sets an array of labeled email addresses for the contact.

func (*MutableContact) WithFamilyName added in v0.17.0

func (mc *MutableContact) WithFamilyName(familyName string) *MutableContact

WithFamilyName sets the family name of the contact.

func (*MutableContact) WithGivenName added in v0.17.0

func (mc *MutableContact) WithGivenName(givenName string) *MutableContact

WithGivenName sets the given name of the contact.

func (*MutableContact) WithImageData added in v0.17.0

func (mc *MutableContact) WithImageData(imageData []byte) *MutableContact

WithImageData sets the profile picture of a contact.

func (*MutableContact) WithInstantMessageAddresses added in v0.17.0

func (mc *MutableContact) WithInstantMessageAddresses(items ...obj.Object) *MutableContact

WithInstantMessageAddresses sets an array of labeled IM addresses for the contact.

func (*MutableContact) WithJobTitle added in v0.17.0

func (mc *MutableContact) WithJobTitle(jobTitle string) *MutableContact

WithJobTitle sets the contact’s job title.

func (*MutableContact) WithMiddleName added in v0.17.0

func (mc *MutableContact) WithMiddleName(middleName string) *MutableContact

WithMiddleName sets the middle name of the contact.

func (*MutableContact) WithNamePrefix added in v0.17.0

func (mc *MutableContact) WithNamePrefix(namePrefix string) *MutableContact

WithNamePrefix sets the name prefix of the contact.

func (*MutableContact) WithNameSuffix added in v0.17.0

func (mc *MutableContact) WithNameSuffix(nameSuffix string) *MutableContact

WithNameSuffix sets the name suffix of the contact.

func (*MutableContact) WithNickname added in v0.17.0

func (mc *MutableContact) WithNickname(nickname string) *MutableContact

WithNickname sets the nickname of the contact.

func (*MutableContact) WithNonGregorianBirthday added in v0.17.0

func (mc *MutableContact) WithNonGregorianBirthday(nonGregorianBirthday obj.Object) *MutableContact

WithNonGregorianBirthday sets a date component for the non-Gregorian birthday of the contact.

func (*MutableContact) WithNote added in v0.17.0

func (mc *MutableContact) WithNote(note string) *MutableContact

WithNote sets a string containing notes for the contact.

func (*MutableContact) WithOrganizationName added in v0.17.0

func (mc *MutableContact) WithOrganizationName(organizationName string) *MutableContact

WithOrganizationName sets the name of the organization associated with the contact.

func (*MutableContact) WithPhoneNumbers added in v0.17.0

func (mc *MutableContact) WithPhoneNumbers(items ...obj.Object) *MutableContact

WithPhoneNumbers sets an array of labeled phone numbers for a contact.

func (*MutableContact) WithPhoneticFamilyName added in v0.17.0

func (mc *MutableContact) WithPhoneticFamilyName(phoneticFamilyName string) *MutableContact

WithPhoneticFamilyName sets the phonetic family name of the contact.

func (*MutableContact) WithPhoneticGivenName added in v0.17.0

func (mc *MutableContact) WithPhoneticGivenName(phoneticGivenName string) *MutableContact

WithPhoneticGivenName sets the phonetic given name of the contact.

func (*MutableContact) WithPhoneticMiddleName added in v0.17.0

func (mc *MutableContact) WithPhoneticMiddleName(phoneticMiddleName string) *MutableContact

WithPhoneticMiddleName sets the phonetic middle name of the contact.

func (*MutableContact) WithPhoneticOrganizationName added in v0.17.0

func (mc *MutableContact) WithPhoneticOrganizationName(phoneticOrganizationName string) *MutableContact

WithPhoneticOrganizationName sets the phonetic name of the organization associated with the contact.

func (*MutableContact) WithPostalAddresses added in v0.17.0

func (mc *MutableContact) WithPostalAddresses(items ...obj.Object) *MutableContact

WithPostalAddresses sets an array of labeled postal addresses for a contact.

func (*MutableContact) WithPreviousFamilyName added in v0.17.0

func (mc *MutableContact) WithPreviousFamilyName(previousFamilyName string) *MutableContact

WithPreviousFamilyName sets the previous family name of the contact.

func (*MutableContact) WithSocialProfiles added in v0.17.0

func (mc *MutableContact) WithSocialProfiles(items ...obj.Object) *MutableContact

WithSocialProfiles sets an array of labeled social profiles for a contact.

func (*MutableContact) WithURLAddresses added in v0.17.0

func (mc *MutableContact) WithURLAddresses(items ...obj.Object) *MutableContact

WithURLAddresses sets an array of labeled URL addresses for a contact.

type MutableGroup added in v0.17.0

type MutableGroup struct {
	Group
}

MutableGroup is an idiomatic wrapper over the Objective-C class CNMutableGroup.

It embeds Group, promoting that type's methods.

A mutable object that represents a group of contacts.

func MutableGroupFromID added in v0.17.0

func MutableGroupFromID(id objc.ID) *MutableGroup

MutableGroupFromID adopts an existing Objective-C object as a MutableGroup (nil for 0), retaining it and registering a release finalizer.

func NewMutableGroup added in v0.17.0

func NewMutableGroup() *MutableGroup

NewMutableGroup creates a new MutableGroup.

func (*MutableGroup) WithName added in v0.17.0

func (mg *MutableGroup) WithName(name string) *MutableGroup

WithName sets the name of the group.

type MutablePostalAddress added in v0.17.0

type MutablePostalAddress struct {
	PostalAddress
}

MutablePostalAddress is an idiomatic wrapper over the Objective-C class CNMutablePostalAddress.

It embeds PostalAddress, promoting that type's methods.

A mutable representation of the postal address for a contact.

func MutablePostalAddressFromID added in v0.17.0

func MutablePostalAddressFromID(id objc.ID) *MutablePostalAddress

MutablePostalAddressFromID adopts an existing Objective-C object as a MutablePostalAddress (nil for 0), retaining it and registering a release finalizer.

func NewMutablePostalAddress added in v0.17.0

func NewMutablePostalAddress() *MutablePostalAddress

NewMutablePostalAddress creates a new MutablePostalAddress.

func (*MutablePostalAddress) WithCity added in v0.17.0

func (mpa *MutablePostalAddress) WithCity(city string) *MutablePostalAddress

WithCity sets the city name of the address.

func (*MutablePostalAddress) WithCountry added in v0.17.0

func (mpa *MutablePostalAddress) WithCountry(country string) *MutablePostalAddress

WithCountry sets the country or region name of the address.

func (*MutablePostalAddress) WithISOCountryCode added in v0.17.0

func (mpa *MutablePostalAddress) WithISOCountryCode(isoCountryCode string) *MutablePostalAddress

WithISOCountryCode sets the ISO country code, using the ISO 3166-1 alpha-2 standard.

func (*MutablePostalAddress) WithPostalCode added in v0.17.0

func (mpa *MutablePostalAddress) WithPostalCode(postalCode string) *MutablePostalAddress

WithPostalCode sets the postal code of the address.

func (*MutablePostalAddress) WithState added in v0.17.0

func (mpa *MutablePostalAddress) WithState(state string) *MutablePostalAddress

WithState sets the state name of the address.

func (*MutablePostalAddress) WithStreet added in v0.17.0

func (mpa *MutablePostalAddress) WithStreet(street string) *MutablePostalAddress

WithStreet sets the street name of the address.

func (*MutablePostalAddress) WithSubAdministrativeArea added in v0.17.0

func (mpa *MutablePostalAddress) WithSubAdministrativeArea(subAdministrativeArea string) *MutablePostalAddress

WithSubAdministrativeArea sets the subadministrative area (such as a county or other region) in a postal address.

func (*MutablePostalAddress) WithSubLocality added in v0.17.0

func (mpa *MutablePostalAddress) WithSubLocality(subLocality string) *MutablePostalAddress

WithSubLocality sets additional information associated with the location, typically defined at the city or town level, in a postal address.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type Perm added in v0.17.0

type Perm int32
const (
	PermReadData           Perm = 2
	PermListDirectory      Perm = 2
	PermWriteData          Perm = 4
	PermAddFile            Perm = 4
	PermExecute            Perm = 8
	PermSearch             Perm = 8
	PermDelete             Perm = 16
	PermAppendData         Perm = 32
	PermAddSubdirectory    Perm = 32
	PermDeleteChild        Perm = 64
	PermReadAttributes     Perm = 128
	PermWriteAttributes    Perm = 256
	PermReadExtattributes  Perm = 512
	PermWriteExtattributes Perm = 1024
	PermReadSecurity       Perm = 2048
	PermWriteSecurity      Perm = 4096
	PermChangeOwner        Perm = 8192
	PermSynchronize        Perm = 1048576
)

func (Perm) String added in v0.17.0

func (e Perm) String() string

String returns the Perm constant's name, or its numeric form when the value is not a known constant.

type PhoneNumber added in v0.17.0

type PhoneNumber struct {
	objref.Handle
}

PhoneNumber is an idiomatic wrapper over the Objective-C class CNPhoneNumber.

An immutable object representing a phone number for a contact.

func New added in v0.17.0

func New() *PhoneNumber

New returns the new.

func NewPhoneNumber added in v0.17.0

func NewPhoneNumber() *PhoneNumber

NewPhoneNumber creates a new PhoneNumber.

func NewPhoneNumberWithStringValue added in v0.17.0

func NewPhoneNumberWithStringValue(str string) *PhoneNumber

NewPhoneNumberWithStringValue returns a new phone number object initialized with the specified phone number string.

func PhoneNumberFromID added in v0.17.0

func PhoneNumberFromID(id objc.ID) *PhoneNumber

PhoneNumberFromID adopts an existing Objective-C object as a PhoneNumber (nil for 0), retaining it and registering a release finalizer.

func PhoneNumberWithStringValue added in v0.17.0

func PhoneNumberWithStringValue(stringValue string) *PhoneNumber

PhoneNumberWithStringValue returns a new phone number object initialized with the specified phone number string.

func (*PhoneNumber) Description added in v0.17.0

func (pn *PhoneNumber) Description() string

Description returns the object's -description text.

func (*PhoneNumber) IsEqual added in v0.17.0

func (pn *PhoneNumber) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*PhoneNumber) IsKind added in v0.17.0

func (pn *PhoneNumber) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*PhoneNumber) String added in v0.17.0

func (pn *PhoneNumber) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*PhoneNumber) StringValue added in v0.17.0

func (pn *PhoneNumber) StringValue() string

StringValue returns the string value.

type PostalAddress added in v0.17.0

type PostalAddress struct {
	objref.Handle
}

PostalAddress is an idiomatic wrapper over the Objective-C class CNPostalAddress.

PostalAddress is an abstract base — you do not construct it directly. Construct one of MutablePostalAddress and pass it where a PostalAddress is accepted.

An immutable representation of the postal address for a contact.

func PostalAddressFromID added in v0.17.0

func PostalAddressFromID(id objc.ID) *PostalAddress

PostalAddressFromID adopts an existing Objective-C object as a PostalAddress (nil for 0), retaining it and registering a release finalizer.

func (*PostalAddress) City added in v0.17.0

func (pa *PostalAddress) City() string

City returns the city.

func (*PostalAddress) Country added in v0.17.0

func (pa *PostalAddress) Country() string

Country returns the country.

func (*PostalAddress) Description added in v0.17.0

func (pa *PostalAddress) Description() string

Description returns the object's -description text.

func (*PostalAddress) ISOCountryCode added in v0.17.0

func (pa *PostalAddress) ISOCountryCode() string

ISOCountryCode returns the iso country code.

func (*PostalAddress) IsEqual added in v0.17.0

func (pa *PostalAddress) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*PostalAddress) IsKind added in v0.17.0

func (pa *PostalAddress) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*PostalAddress) PostalCode added in v0.17.0

func (pa *PostalAddress) PostalCode() string

PostalCode returns the postal code.

func (*PostalAddress) State added in v0.17.0

func (pa *PostalAddress) State() string

State returns the state.

func (*PostalAddress) Street added in v0.17.0

func (pa *PostalAddress) Street() string

Street returns multi-street address is delimited with carriage returns “\n”

func (*PostalAddress) String added in v0.17.0

func (pa *PostalAddress) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*PostalAddress) SubAdministrativeArea added in v0.17.0

func (pa *PostalAddress) SubAdministrativeArea() string

SubAdministrativeArea returns the sub administrative area.

func (*PostalAddress) SubLocality added in v0.17.0

func (pa *PostalAddress) SubLocality() string

SubLocality returns the sub locality.

type PostalAddressFormatter added in v0.17.0

type PostalAddressFormatter struct {
	objref.Handle
}

PostalAddressFormatter is an idiomatic wrapper over the Objective-C class CNPostalAddressFormatter.

An object that you use to format a contact’s postal addresses.

func NewPostalAddressFormatter added in v0.17.0

func NewPostalAddressFormatter() *PostalAddressFormatter

NewPostalAddressFormatter creates a new PostalAddressFormatter.

func PostalAddressFormatterFromID added in v0.17.0

func PostalAddressFormatterFromID(id objc.ID) *PostalAddressFormatter

PostalAddressFormatterFromID adopts an existing Objective-C object as a PostalAddressFormatter (nil for 0), retaining it and registering a release finalizer.

func (*PostalAddressFormatter) AttributedStringFromPostalAddressWithDefaultAttributes added in v0.17.0

func (paf *PostalAddressFormatter) AttributedStringFromPostalAddressWithDefaultAttributes(postalAddress *PostalAddress, attributes obj.Object) *foundation.AttributedString

AttributedStringFromPostalAddressWithDefaultAttributes returns a formatted postal address as an attributed string.

func (*PostalAddressFormatter) Description added in v0.17.0

func (paf *PostalAddressFormatter) Description() string

Description returns the object's -description text.

func (*PostalAddressFormatter) IsEqual added in v0.17.0

func (paf *PostalAddressFormatter) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*PostalAddressFormatter) IsKind added in v0.17.0

func (paf *PostalAddressFormatter) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*PostalAddressFormatter) String added in v0.17.0

func (paf *PostalAddressFormatter) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*PostalAddressFormatter) StringFromPostalAddress added in v0.17.0

func (paf *PostalAddressFormatter) StringFromPostalAddress(postalAddress *PostalAddress) string

StringFromPostalAddress returns a formatted postal address.

func (*PostalAddressFormatter) Style added in v0.17.0

Style returns the style for a postal address formatter instance. The default value is CNPostalAddressFormatterStyleMailingAddress.

func (*PostalAddressFormatter) WithStyle added in v0.17.0

WithStyle sets the style to apply when formatting strings.

type PostalAddressFormatterStyle added in v0.17.0

type PostalAddressFormatterStyle int64

Constants for postal formatting styles.

const (
	// A style that combines the postal address components into a multi-line mailing address.
	PostalAddressFormatterStyleMailingAddress PostalAddressFormatterStyle = 0
)

func (PostalAddressFormatterStyle) String added in v0.17.0

String returns the PostalAddressFormatterStyle constant's name, or its numeric form when the value is not a known constant.

type PostalAddressProvider added in v0.17.0

type PostalAddressProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

PostalAddressProvider is accepted wherever a CNPostalAddress (or one of its subclasses) is expected.

type PtrauthKey added in v0.17.0

type PtrauthKey int32
const (
	Ptrauth_key_none                     PtrauthKey = -1
	Ptrauth_key_asia                     PtrauthKey = 0
	Ptrauth_key_asib                     PtrauthKey = 1
	Ptrauth_key_asda                     PtrauthKey = 2
	Ptrauth_key_asdb                     PtrauthKey = 3
	Ptrauth_key_process_independent_code PtrauthKey = 0
	Ptrauth_key_process_dependent_code   PtrauthKey = 1
	Ptrauth_key_process_independent_data PtrauthKey = 2
	Ptrauth_key_process_dependent_data   PtrauthKey = 3
	Ptrauth_key_return_address           PtrauthKey = 1
	Ptrauth_key_frame_pointer            PtrauthKey = 3
	Ptrauth_key_function_pointer         PtrauthKey = 0
	Ptrauth_key_block_function           PtrauthKey = 0
	Ptrauth_key_cxx_vtable_pointer       PtrauthKey = 2
	Ptrauth_key_method_list_pointer      PtrauthKey = 2
	Ptrauth_key_objc_isa_pointer         PtrauthKey = 2
	Ptrauth_key_objc_super_pointer       PtrauthKey = 2
	Ptrauth_key_objc_sel_pointer         PtrauthKey = 3
	Ptrauth_key_objc_class_ro_pointer    PtrauthKey = 2
	Ptrauth_key_block_descriptor_pointer PtrauthKey = 2
	Ptrauth_key_init_fini_pointer        PtrauthKey = 0
)

func (PtrauthKey) String added in v0.17.0

func (e PtrauthKey) String() string

String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type SaveRequest added in v0.17.0

type SaveRequest struct {
	objref.Handle
}

SaveRequest is an idiomatic wrapper over the Objective-C class CNSaveRequest.

An object that collects the changes you want to save to the user’s contacts database.

func NewSaveRequest added in v0.17.0

func NewSaveRequest() *SaveRequest

NewSaveRequest creates a new SaveRequest.

func SaveRequestFromID added in v0.17.0

func SaveRequestFromID(id objc.ID) *SaveRequest

SaveRequestFromID adopts an existing Objective-C object as a SaveRequest (nil for 0), retaining it and registering a release finalizer.

func (*SaveRequest) AddContactToContainerWithIdentifier added in v0.17.0

func (sr *SaveRequest) AddContactToContainerWithIdentifier(contact *MutableContact, identifier string)

AddContactToContainerWithIdentifier adds the specified contact to the contact store.

func (*SaveRequest) AddGroupToContainerWithIdentifier added in v0.17.0

func (sr *SaveRequest) AddGroupToContainerWithIdentifier(group *MutableGroup, identifier string)

AddGroupToContainerWithIdentifier adds a group to the contact store.

func (*SaveRequest) AddMemberToGroup added in v0.17.0

func (sr *SaveRequest) AddMemberToGroup(contact *Contact, group *Group)

AddMemberToGroup adds a contact as a member of a group.

func (*SaveRequest) AddSubgroupToGroup added in v0.17.0

func (sr *SaveRequest) AddSubgroupToGroup(subgroup *Group, group *Group)

AddSubgroupToGroup add the specified group to a parent group.

func (*SaveRequest) DeleteContact added in v0.17.0

func (sr *SaveRequest) DeleteContact(contact *MutableContact)

DeleteContact deletes a contact from the contact store.

func (*SaveRequest) DeleteGroup added in v0.17.0

func (sr *SaveRequest) DeleteGroup(group *MutableGroup)

DeleteGroup deletes a group from the contact store.

func (*SaveRequest) Description added in v0.17.0

func (sr *SaveRequest) Description() string

Description returns the object's -description text.

func (*SaveRequest) IsEqual added in v0.17.0

func (sr *SaveRequest) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*SaveRequest) IsKind added in v0.17.0

func (sr *SaveRequest) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*SaveRequest) RemoveMemberFromGroup added in v0.17.0

func (sr *SaveRequest) RemoveMemberFromGroup(contact *Contact, group *Group)

RemoveMemberFromGroup removes a contact as a member of a group.

func (*SaveRequest) RemoveSubgroupFromGroup added in v0.17.0

func (sr *SaveRequest) RemoveSubgroupFromGroup(subgroup *Group, group *Group)

RemoveSubgroupFromGroup remove a subgroup from the specified parent group.

func (*SaveRequest) ShouldRefetchContacts added in v0.17.0

func (sr *SaveRequest) ShouldRefetchContacts() bool

ShouldRefetchContacts reports whether should the contacts be refetched as part of executing the save request. Default is `YES` where added and updated contacts are refetched by the executing save request. Set to `NO` to suppress this refetch behavior and reduce the execution time of the save request.

func (*SaveRequest) String added in v0.17.0

func (sr *SaveRequest) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*SaveRequest) TransactionAuthor added in v0.17.0

func (sr *SaveRequest) TransactionAuthor() string

TransactionAuthor returns the author of this transaction. Use this, in conjunction with

func (*SaveRequest) UpdateContact added in v0.17.0

func (sr *SaveRequest) UpdateContact(contact *MutableContact)

UpdateContact updates an existing contact in the contact store.

func (*SaveRequest) UpdateGroup added in v0.17.0

func (sr *SaveRequest) UpdateGroup(group *MutableGroup)

UpdateGroup updates an existing group in the contact store.

func (*SaveRequest) WithShouldRefetchContacts added in v0.17.0

func (sr *SaveRequest) WithShouldRefetchContacts(shouldRefetchContacts bool) *SaveRequest

WithShouldRefetchContacts sets a Boolean value that indicates whether to refetch the added and updated contacts after the save request executes.

func (*SaveRequest) WithTransactionAuthor added in v0.17.0

func (sr *SaveRequest) WithTransactionAuthor(transactionAuthor string) *SaveRequest

WithTransactionAuthor sets a string that identifies the author of the transaction.

type SocialProfile added in v0.17.0

type SocialProfile struct {
	objref.Handle
}

SocialProfile is an idiomatic wrapper over the Objective-C class CNSocialProfile.

An immutable object that represents one of the user’s social profiles.

func NewSocialProfileWithURLStringUsernameUserIdentifierService added in v0.17.0

func NewSocialProfileWithURLStringUsernameUserIdentifierService(urlString string, username string, userIdentifier string, service string) *SocialProfile

NewSocialProfileWithURLStringUsernameUserIdentifierService initializes a new social profile object with the specified URL.

func SocialProfileFromID added in v0.17.0

func SocialProfileFromID(id objc.ID) *SocialProfile

SocialProfileFromID adopts an existing Objective-C object as a SocialProfile (nil for 0), retaining it and registering a release finalizer.

func (*SocialProfile) Description added in v0.17.0

func (sp *SocialProfile) Description() string

Description returns the object's -description text.

func (*SocialProfile) IsEqual added in v0.17.0

func (sp *SocialProfile) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*SocialProfile) IsKind added in v0.17.0

func (sp *SocialProfile) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*SocialProfile) Service added in v0.17.0

func (sp *SocialProfile) Service() string

Service returns the service.

func (*SocialProfile) String added in v0.17.0

func (sp *SocialProfile) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*SocialProfile) URLString added in v0.17.0

func (sp *SocialProfile) URLString() string

URLString returns the URL string.

func (*SocialProfile) UserIdentifier added in v0.17.0

func (sp *SocialProfile) UserIdentifier() string

UserIdentifier returns the user identifier.

func (*SocialProfile) Username added in v0.17.0

func (sp *SocialProfile) Username() string

Username returns the username.

type Tag added in v0.17.0

type Tag int32
const (
	TagUndefinedTag  Tag = 0
	TagExtendedAllow Tag = 1
	TagExtendedDeny  Tag = 2
)

func (Tag) String added in v0.17.0

func (e Tag) String() string

String returns the Tag constant's name, or its numeric form when the value is not a known constant.

type Type added in v0.17.0

type Type int32
const (
	TypeExtended Type = 256
	TypeAccess   Type = 0
	TypeDefault  Type = 1
	TypeAfs      Type = 2
	TypeCoda     Type = 3
	TypeNtfs     Type = 4
	TypeNwfs     Type = 5
)

func (Type) String added in v0.17.0

func (e Type) String() string

String returns the Type constant's name, or its numeric form when the value is not a known constant.

type VirtualMemoryGuardExceptionCode added in v0.17.0

type VirtualMemoryGuardExceptionCode uint32
const (
	KGUARD_EXC_DEALLOC_GAP                   VirtualMemoryGuardExceptionCode = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        VirtualMemoryGuardExceptionCode = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         VirtualMemoryGuardExceptionCode = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    VirtualMemoryGuardExceptionCode = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    VirtualMemoryGuardExceptionCode = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         VirtualMemoryGuardExceptionCode = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         VirtualMemoryGuardExceptionCode = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  VirtualMemoryGuardExceptionCode = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    VirtualMemoryGuardExceptionCode = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              VirtualMemoryGuardExceptionCode = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        VirtualMemoryGuardExceptionCode = 99
	KGUARD_EXC_SEC_COPY_DENIED               VirtualMemoryGuardExceptionCode = 100
	KGUARD_EXC_SEC_SHARING_DENIED            VirtualMemoryGuardExceptionCode = 101
	KGUARD_EXC_MTE_SYNC_FAULT                VirtualMemoryGuardExceptionCode = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          VirtualMemoryGuardExceptionCode = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          VirtualMemoryGuardExceptionCode = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204
)

func (VirtualMemoryGuardExceptionCode) String added in v0.17.0

String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.

type XpcListenerCreateFlags added in v0.17.0

type XpcListenerCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcListenerCreateFlagsNone            XpcListenerCreateFlags = 0
	XpcListenerCreateFlagsInactive        XpcListenerCreateFlags = 1
	XpcListenerCreateFlagsForceMach       XpcListenerCreateFlags = 2
	XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4
)

func (XpcListenerCreateFlags) String added in v0.17.0

func (e XpcListenerCreateFlags) String() string

String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.

type XpcSessionCreateFlags added in v0.17.0

type XpcSessionCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcSessionCreateFlagsNone           XpcSessionCreateFlags = 0
	XpcSessionCreateFlagsInactive       XpcSessionCreateFlags = 1
	XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2
)

func (XpcSessionCreateFlags) String added in v0.17.0

func (e XpcSessionCreateFlags) String() string

String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL