Documentation
¶
Overview ¶
Access the user's contacts, and format and localize contact information.
Index ¶
- Variables
- func ContactFormatter_AttributedStringFromContactStyleDefaultAttributes(contact IContact, style ContactFormatterStyle, ...) foundation.AttributedString
- func ContactFormatter_DelimiterForContact(contact IContact) string
- func ContactFormatter_DescriptorForRequiredKeysForDelimiter() objc.Object
- func ContactFormatter_DescriptorForRequiredKeysForNameOrder() objc.Object
- func ContactFormatter_DescriptorForRequiredKeysForStyle(style ContactFormatterStyle) objc.Object
- func ContactFormatter_StringFromContactStyle(contact IContact, style ContactFormatterStyle) string
- func ContactVCardSerialization_DataWithContactsError(contacts []IContact, error unsafe.Pointer) []byte
- func ContactVCardSerialization_DescriptorForRequiredKeys() objc.Object
- func Contact_ComparatorForNameSortOrder(sortOrder ContactSortOrder) foundation.Comparator
- func Contact_DescriptorForAllComparatorKeys() objc.Object
- func Contact_LocalizedStringForKey(key string) string
- func Contact_PredicateForContactsInContainerWithIdentifier(containerIdentifier string) foundation.Predicate
- func Contact_PredicateForContactsInGroupWithIdentifier(groupIdentifier string) foundation.Predicate
- func Contact_PredicateForContactsMatchingEmailAddress(emailAddress string) foundation.Predicate
- func Contact_PredicateForContactsMatchingName(name string) foundation.Predicate
- func Contact_PredicateForContactsMatchingPhoneNumber(phoneNumber IPhoneNumber) foundation.Predicate
- func Contact_PredicateForContactsWithIdentifiers(identifiers []string) foundation.Predicate
- func Container_PredicateForContainerOfContactWithIdentifier(contactIdentifier string) foundation.Predicate
- func Container_PredicateForContainerOfGroupWithIdentifier(groupIdentifier string) foundation.Predicate
- func Container_PredicateForContainersWithIdentifiers(identifiers []string) foundation.Predicate
- func Group_PredicateForGroupsInContainerWithIdentifier(containerIdentifier string) foundation.Predicate
- func Group_PredicateForGroupsWithIdentifiers(identifiers []string) foundation.Predicate
- func Group_PredicateForSubgroupsInGroupWithIdentifier(parentGroupIdentifier string) foundation.Predicate
- func InstantMessageAddress_LocalizedStringForKey(key string) string
- func InstantMessageAddress_LocalizedStringForService(service string) string
- func LabeledValue_LocalizedStringForLabel(label string) string
- func PostalAddressFormatter_AttributedStringFromPostalAddressStyleWithDefaultAttributes(postalAddress IPostalAddress, style PostalAddressFormatterStyle, ...) foundation.AttributedString
- func PostalAddressFormatter_StringFromPostalAddressStyle(postalAddress IPostalAddress, style PostalAddressFormatterStyle) string
- func PostalAddress_LocalizedStringForKey(key string) string
- func SocialProfile_LocalizedStringForKey(key string) string
- func SocialProfile_LocalizedStringForService(service string) string
- type AuthorizationStatus
- type ChangeHistoryAddContactEvent
- type ChangeHistoryAddGroupEvent
- type ChangeHistoryAddMemberToGroupEvent
- type ChangeHistoryAddSubgroupToGroupEvent
- type ChangeHistoryDeleteContactEvent
- type ChangeHistoryDeleteGroupEvent
- type ChangeHistoryDropEverythingEvent
- type ChangeHistoryEvent
- type ChangeHistoryEventVisitorObject
- func (c_ ChangeHistoryEventVisitorObject) HasVisitAddContactEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitAddGroupEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitAddMemberToGroupEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitAddSubgroupToGroupEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitDeleteContactEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitDeleteGroupEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitDropEverythingEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitRemoveMemberFromGroupEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitRemoveSubgroupFromGroupEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitUpdateContactEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) HasVisitUpdateGroupEvent() bool
- func (c_ ChangeHistoryEventVisitorObject) VisitAddContactEvent(event ChangeHistoryAddContactEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitAddGroupEvent(event ChangeHistoryAddGroupEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitAddMemberToGroupEvent(event ChangeHistoryAddMemberToGroupEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitAddSubgroupToGroupEvent(event ChangeHistoryAddSubgroupToGroupEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitDeleteContactEvent(event ChangeHistoryDeleteContactEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitDeleteGroupEvent(event ChangeHistoryDeleteGroupEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitDropEverythingEvent(event ChangeHistoryDropEverythingEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitRemoveMemberFromGroupEvent(event ChangeHistoryRemoveMemberFromGroupEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitRemoveSubgroupFromGroupEvent(event ChangeHistoryRemoveSubgroupFromGroupEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitUpdateContactEvent(event ChangeHistoryUpdateContactEvent)
- func (c_ ChangeHistoryEventVisitorObject) VisitUpdateGroupEvent(event ChangeHistoryUpdateGroupEvent)
- type ChangeHistoryFetchRequest
- func (c_ ChangeHistoryFetchRequest) AdditionalContactKeyDescriptors() []objc.Object
- func (c_ ChangeHistoryFetchRequest) ExcludedTransactionAuthors() []string
- func (c_ ChangeHistoryFetchRequest) IncludeGroupChanges() bool
- func (c_ ChangeHistoryFetchRequest) Init() ChangeHistoryFetchRequest
- func (c_ ChangeHistoryFetchRequest) MutableObjects() bool
- func (c_ ChangeHistoryFetchRequest) SetAdditionalContactKeyDescriptors(value []objc.IObject)
- func (c_ ChangeHistoryFetchRequest) SetExcludedTransactionAuthors(value []string)
- func (c_ ChangeHistoryFetchRequest) SetIncludeGroupChanges(value bool)
- func (c_ ChangeHistoryFetchRequest) SetMutableObjects(value bool)
- func (c_ ChangeHistoryFetchRequest) SetShouldUnifyResults(value bool)
- func (c_ ChangeHistoryFetchRequest) SetStartingToken(value []byte)
- func (c_ ChangeHistoryFetchRequest) ShouldUnifyResults() bool
- func (c_ ChangeHistoryFetchRequest) StartingToken() []byte
- type ChangeHistoryRemoveMemberFromGroupEvent
- type ChangeHistoryRemoveSubgroupFromGroupEvent
- type ChangeHistoryUpdateContactEvent
- type ChangeHistoryUpdateGroupEvent
- type Contact
- func (c_ Contact) AreKeysAvailable(keyDescriptors []objc.IObject) bool
- func (c_ Contact) Birthday() foundation.DateComponents
- func (c_ Contact) ContactRelations() []LabeledValue
- func (c_ Contact) ContactType() ContactType
- func (c_ Contact) Dates() []LabeledValue
- func (c_ Contact) DepartmentName() string
- func (c_ Contact) EmailAddresses() []LabeledValue
- func (c_ Contact) FamilyName() string
- func (c_ Contact) GivenName() string
- func (c_ Contact) Identifier() string
- func (c_ Contact) ImageData() []byte
- func (c_ Contact) ImageDataAvailable() bool
- func (c_ Contact) Init() Contact
- func (c_ Contact) InstantMessageAddresses() []LabeledValue
- func (c_ Contact) IsKeyAvailable(key string) bool
- func (c_ Contact) IsUnifiedWithContactWithIdentifier(contactIdentifier string) bool
- func (c_ Contact) JobTitle() string
- func (c_ Contact) MiddleName() string
- func (c_ Contact) NamePrefix() string
- func (c_ Contact) NameSuffix() string
- func (c_ Contact) Nickname() string
- func (c_ Contact) NonGregorianBirthday() foundation.DateComponents
- func (c_ Contact) Note() string
- func (c_ Contact) OrganizationName() string
- func (c_ Contact) PhoneNumbers() []LabeledValue
- func (c_ Contact) PhoneticFamilyName() string
- func (c_ Contact) PhoneticGivenName() string
- func (c_ Contact) PhoneticMiddleName() string
- func (c_ Contact) PhoneticOrganizationName() string
- func (c_ Contact) PostalAddresses() []LabeledValue
- func (c_ Contact) PreviousFamilyName() string
- func (c_ Contact) SocialProfiles() []LabeledValue
- func (c_ Contact) ThumbnailImageData() []byte
- func (c_ Contact) UrlAddresses() []LabeledValue
- type ContactDisplayNameOrder
- type ContactFetchRequest
- func (c_ ContactFetchRequest) Init() ContactFetchRequest
- func (c_ ContactFetchRequest) InitWithKeysToFetch(keysToFetch []objc.IObject) ContactFetchRequest
- func (c_ ContactFetchRequest) KeysToFetch() []objc.Object
- func (c_ ContactFetchRequest) MutableObjects() bool
- func (c_ ContactFetchRequest) Predicate() foundation.Predicate
- func (c_ ContactFetchRequest) SetKeysToFetch(value []objc.IObject)
- func (c_ ContactFetchRequest) SetMutableObjects(value bool)
- func (c_ ContactFetchRequest) SetPredicate(value foundation.IPredicate)
- func (c_ ContactFetchRequest) SetSortOrder(value ContactSortOrder)
- func (c_ ContactFetchRequest) SetUnifyResults(value bool)
- func (c_ ContactFetchRequest) SortOrder() ContactSortOrder
- func (c_ ContactFetchRequest) UnifyResults() bool
- type ContactFormatter
- func (c_ ContactFormatter) AttributedStringFromContactDefaultAttributes(contact IContact, attributes foundation.Dictionary) foundation.AttributedString
- func (c_ ContactFormatter) Init() ContactFormatter
- func (c_ ContactFormatter) SetStyle(value ContactFormatterStyle)
- func (c_ ContactFormatter) StringFromContact(contact IContact) string
- func (c_ ContactFormatter) Style() ContactFormatterStyle
- type ContactFormatterStyle
- type ContactProperty
- type ContactRelation
- type ContactSortOrder
- type ContactStore
- func (c_ ContactStore) ContainersMatchingPredicateError(predicate foundation.IPredicate, error unsafe.Pointer) []Container
- func (c_ ContactStore) CurrentHistoryToken() []byte
- func (c_ ContactStore) DefaultContainerIdentifier() string
- func (c_ ContactStore) EnumerateContactsWithFetchRequestErrorUsingBlock(fetchRequest IContactFetchRequest, error unsafe.Pointer, ...) bool
- func (c_ ContactStore) EnumeratorForChangeHistoryFetchRequestError(request IChangeHistoryFetchRequest, error unsafe.Pointer) FetchResult
- func (c_ ContactStore) EnumeratorForContactFetchRequestError(request IContactFetchRequest, error unsafe.Pointer) FetchResult
- func (c_ ContactStore) ExecuteSaveRequestError(saveRequest ISaveRequest, error unsafe.Pointer) bool
- func (c_ ContactStore) GroupsMatchingPredicateError(predicate foundation.IPredicate, error unsafe.Pointer) []Group
- func (c_ ContactStore) Init() ContactStore
- func (c_ ContactStore) RequestAccessForEntityTypeCompletionHandler(entityType EntityType, ...)
- func (c_ ContactStore) UnifiedContactWithIdentifierKeysToFetchError(identifier string, keys []objc.IObject, error unsafe.Pointer) Contact
- func (c_ ContactStore) UnifiedContactsMatchingPredicateKeysToFetchError(predicate foundation.IPredicate, keys []objc.IObject, error unsafe.Pointer) []Contact
- func (c_ ContactStore) UnifiedMeContactWithKeysToFetchError(keys []objc.IObject, error unsafe.Pointer) Contact
- type ContactType
- type ContactVCardSerialization
- type ContactsUserDefaults
- type Container
- type ContainerType
- type EntityType
- type ErrorCode
- type FetchRequest
- type FetchResult
- type Group
- type IChangeHistoryAddContactEvent
- type IChangeHistoryAddGroupEvent
- type IChangeHistoryAddMemberToGroupEvent
- type IChangeHistoryAddSubgroupToGroupEvent
- type IChangeHistoryDeleteContactEvent
- type IChangeHistoryDeleteGroupEvent
- type IChangeHistoryDropEverythingEvent
- type IChangeHistoryEvent
- type IChangeHistoryFetchRequest
- type IChangeHistoryRemoveMemberFromGroupEvent
- type IChangeHistoryRemoveSubgroupFromGroupEvent
- type IChangeHistoryUpdateContactEvent
- type IChangeHistoryUpdateGroupEvent
- type IContact
- type IContactFetchRequest
- type IContactFormatter
- type IContactProperty
- type IContactRelation
- type IContactStore
- type IContactVCardSerialization
- type IContactsUserDefaults
- type IContainer
- type IFetchRequest
- type IFetchResult
- type IGroup
- type IInstantMessageAddress
- type ILabeledValue
- type IMutableContact
- type IMutableGroup
- type IMutablePostalAddress
- type IPhoneNumber
- type IPostalAddress
- type IPostalAddressFormatter
- type ISaveRequest
- type ISocialProfile
- type InstantMessageAddress
- type LabeledValue
- func LabeledValueFrom(ptr unsafe.Pointer) LabeledValue
- func LabeledValue_LabeledValueBySettingLabel(label string) LabeledValue
- func LabeledValue_LabeledValueBySettingLabelValue(label string, value objc.IObject) LabeledValue
- func LabeledValue_LabeledValueBySettingValue(value objc.IObject) LabeledValue
- func LabeledValue_LabeledValueWithLabelValue(label string, value objc.IObject) LabeledValue
- func NewLabeledValue() LabeledValue
- func NewLabeledValueWithLabelValue(label string, value objc.IObject) LabeledValue
- func (l_ LabeledValue) Identifier() string
- func (l_ LabeledValue) Init() LabeledValue
- func (l_ LabeledValue) InitWithLabelValue(label string, value objc.IObject) LabeledValue
- func (l_ LabeledValue) Label() string
- func (l_ LabeledValue) LabeledValueBySettingLabel(label string) LabeledValue
- func (l_ LabeledValue) LabeledValueBySettingLabelValue(label string, value objc.IObject) LabeledValue
- func (l_ LabeledValue) LabeledValueBySettingValue(value objc.IObject) LabeledValue
- func (l_ LabeledValue) Value() objc.Object
- type MutableContact
- func (m_ MutableContact) Init() MutableContact
- func (m_ MutableContact) SetBirthday(value foundation.IDateComponents)
- func (m_ MutableContact) SetContactRelations(value []ILabeledValue)
- func (m_ MutableContact) SetContactType(value ContactType)
- func (m_ MutableContact) SetDates(value []ILabeledValue)
- func (m_ MutableContact) SetDepartmentName(value string)
- func (m_ MutableContact) SetEmailAddresses(value []ILabeledValue)
- func (m_ MutableContact) SetFamilyName(value string)
- func (m_ MutableContact) SetGivenName(value string)
- func (m_ MutableContact) SetImageData(value []byte)
- func (m_ MutableContact) SetInstantMessageAddresses(value []ILabeledValue)
- func (m_ MutableContact) SetJobTitle(value string)
- func (m_ MutableContact) SetMiddleName(value string)
- func (m_ MutableContact) SetNamePrefix(value string)
- func (m_ MutableContact) SetNameSuffix(value string)
- func (m_ MutableContact) SetNickname(value string)
- func (m_ MutableContact) SetNonGregorianBirthday(value foundation.IDateComponents)
- func (m_ MutableContact) SetNote(value string)
- func (m_ MutableContact) SetOrganizationName(value string)
- func (m_ MutableContact) SetPhoneNumbers(value []ILabeledValue)
- func (m_ MutableContact) SetPhoneticFamilyName(value string)
- func (m_ MutableContact) SetPhoneticGivenName(value string)
- func (m_ MutableContact) SetPhoneticMiddleName(value string)
- func (m_ MutableContact) SetPhoneticOrganizationName(value string)
- func (m_ MutableContact) SetPostalAddresses(value []ILabeledValue)
- func (m_ MutableContact) SetPreviousFamilyName(value string)
- func (m_ MutableContact) SetSocialProfiles(value []ILabeledValue)
- func (m_ MutableContact) SetUrlAddresses(value []ILabeledValue)
- type MutableGroup
- type MutablePostalAddress
- func (m_ MutablePostalAddress) Init() MutablePostalAddress
- func (m_ MutablePostalAddress) SetCity(value string)
- func (m_ MutablePostalAddress) SetCountry(value string)
- func (m_ MutablePostalAddress) SetISOCountryCode(value string)
- func (m_ MutablePostalAddress) SetPostalCode(value string)
- func (m_ MutablePostalAddress) SetState(value string)
- func (m_ MutablePostalAddress) SetStreet(value string)
- func (m_ MutablePostalAddress) SetSubAdministrativeArea(value string)
- func (m_ MutablePostalAddress) SetSubLocality(value string)
- type PChangeHistoryEventVisitor
- type PhoneNumber
- type PostalAddress
- func (p_ PostalAddress) City() string
- func (p_ PostalAddress) Country() string
- func (p_ PostalAddress) ISOCountryCode() string
- func (p_ PostalAddress) Init() PostalAddress
- func (p_ PostalAddress) PostalCode() string
- func (p_ PostalAddress) State() string
- func (p_ PostalAddress) Street() string
- func (p_ PostalAddress) SubAdministrativeArea() string
- func (p_ PostalAddress) SubLocality() string
- type PostalAddressFormatter
- func (p_ PostalAddressFormatter) AttributedStringFromPostalAddressWithDefaultAttributes(postalAddress IPostalAddress, attributes foundation.Dictionary) foundation.AttributedString
- func (p_ PostalAddressFormatter) Init() PostalAddressFormatter
- func (p_ PostalAddressFormatter) SetStyle(value PostalAddressFormatterStyle)
- func (p_ PostalAddressFormatter) StringFromPostalAddress(postalAddress IPostalAddress) string
- func (p_ PostalAddressFormatter) Style() PostalAddressFormatterStyle
- type PostalAddressFormatterStyle
- type SaveRequest
- func (s_ SaveRequest) AddContactToContainerWithIdentifier(contact IMutableContact, identifier string)
- func (s_ SaveRequest) AddGroupToContainerWithIdentifier(group IMutableGroup, identifier string)
- func (s_ SaveRequest) AddMemberToGroup(contact IContact, group IGroup)
- func (s_ SaveRequest) AddSubgroupToGroup(subgroup IGroup, group IGroup)
- func (s_ SaveRequest) DeleteContact(contact IMutableContact)
- func (s_ SaveRequest) DeleteGroup(group IMutableGroup)
- func (s_ SaveRequest) Init() SaveRequest
- func (s_ SaveRequest) RemoveMemberFromGroup(contact IContact, group IGroup)
- func (s_ SaveRequest) RemoveSubgroupFromGroup(subgroup IGroup, group IGroup)
- func (s_ SaveRequest) SetShouldRefetchContacts(value bool)
- func (s_ SaveRequest) SetTransactionAuthor(value string)
- func (s_ SaveRequest) ShouldRefetchContacts() bool
- func (s_ SaveRequest) TransactionAuthor() string
- func (s_ SaveRequest) UpdateContact(contact IMutableContact)
- func (s_ SaveRequest) UpdateGroup(group IMutableGroup)
- type SocialProfile
- func (s_ SocialProfile) Init() SocialProfile
- func (s_ SocialProfile) InitWithUrlStringUsernameUserIdentifierService(urlString string, username string, userIdentifier string, service string) SocialProfile
- func (s_ SocialProfile) Service() string
- func (s_ SocialProfile) UrlString() string
- func (s_ SocialProfile) UserIdentifier() string
- func (s_ SocialProfile) Username() string
Constants ¶
This section is empty.
Variables ¶
var ChangeHistoryAddContactEventClass = _ChangeHistoryAddContactEventClass{objc.GetClass("CNChangeHistoryAddContactEvent")}
The class instance for the ChangeHistoryAddContactEvent class.
var ChangeHistoryAddGroupEventClass = _ChangeHistoryAddGroupEventClass{objc.GetClass("CNChangeHistoryAddGroupEvent")}
The class instance for the ChangeHistoryAddGroupEvent class.
var ChangeHistoryAddMemberToGroupEventClass = _ChangeHistoryAddMemberToGroupEventClass{objc.GetClass("CNChangeHistoryAddMemberToGroupEvent")}
The class instance for the ChangeHistoryAddMemberToGroupEvent class.
var ChangeHistoryAddSubgroupToGroupEventClass = _ChangeHistoryAddSubgroupToGroupEventClass{objc.GetClass("CNChangeHistoryAddSubgroupToGroupEvent")}
The class instance for the ChangeHistoryAddSubgroupToGroupEvent class.
var ChangeHistoryDeleteContactEventClass = _ChangeHistoryDeleteContactEventClass{objc.GetClass("CNChangeHistoryDeleteContactEvent")}
The class instance for the ChangeHistoryDeleteContactEvent class.
var ChangeHistoryDeleteGroupEventClass = _ChangeHistoryDeleteGroupEventClass{objc.GetClass("CNChangeHistoryDeleteGroupEvent")}
The class instance for the ChangeHistoryDeleteGroupEvent class.
var ChangeHistoryDropEverythingEventClass = _ChangeHistoryDropEverythingEventClass{objc.GetClass("CNChangeHistoryDropEverythingEvent")}
The class instance for the ChangeHistoryDropEverythingEvent class.
var ChangeHistoryEventClass = _ChangeHistoryEventClass{objc.GetClass("CNChangeHistoryEvent")}
The class instance for the ChangeHistoryEvent class.
var ChangeHistoryFetchRequestClass = _ChangeHistoryFetchRequestClass{objc.GetClass("CNChangeHistoryFetchRequest")}
The class instance for the ChangeHistoryFetchRequest class.
var ChangeHistoryRemoveMemberFromGroupEventClass = _ChangeHistoryRemoveMemberFromGroupEventClass{objc.GetClass("CNChangeHistoryRemoveMemberFromGroupEvent")}
The class instance for the ChangeHistoryRemoveMemberFromGroupEvent class.
var ChangeHistoryRemoveSubgroupFromGroupEventClass = _ChangeHistoryRemoveSubgroupFromGroupEventClass{objc.GetClass("CNChangeHistoryRemoveSubgroupFromGroupEvent")}
The class instance for the ChangeHistoryRemoveSubgroupFromGroupEvent class.
var ChangeHistoryUpdateContactEventClass = _ChangeHistoryUpdateContactEventClass{objc.GetClass("CNChangeHistoryUpdateContactEvent")}
The class instance for the ChangeHistoryUpdateContactEvent class.
var ChangeHistoryUpdateGroupEventClass = _ChangeHistoryUpdateGroupEventClass{objc.GetClass("CNChangeHistoryUpdateGroupEvent")}
The class instance for the ChangeHistoryUpdateGroupEvent class.
var ContactClass = _ContactClass{objc.GetClass("CNContact")}
The class instance for the Contact class.
var ContactFetchRequestClass = _ContactFetchRequestClass{objc.GetClass("CNContactFetchRequest")}
The class instance for the ContactFetchRequest class.
var ContactFormatterClass = _ContactFormatterClass{objc.GetClass("CNContactFormatter")}
The class instance for the ContactFormatter class.
var ContactPropertyClass = _ContactPropertyClass{objc.GetClass("CNContactProperty")}
The class instance for the ContactProperty class.
var ContactRelationClass = _ContactRelationClass{objc.GetClass("CNContactRelation")}
The class instance for the ContactRelation class.
var ContactStoreClass = _ContactStoreClass{objc.GetClass("CNContactStore")}
The class instance for the ContactStore class.
var ContactVCardSerializationClass = _ContactVCardSerializationClass{objc.GetClass("CNContactVCardSerialization")}
The class instance for the ContactVCardSerialization class.
var ContactsUserDefaultsClass = _ContactsUserDefaultsClass{objc.GetClass("CNContactsUserDefaults")}
The class instance for the ContactsUserDefaults class.
var ContainerClass = _ContainerClass{objc.GetClass("CNContainer")}
The class instance for the Container class.
var FetchRequestClass = _FetchRequestClass{objc.GetClass("CNFetchRequest")}
The class instance for the FetchRequest class.
var FetchResultClass = _FetchResultClass{objc.GetClass("CNFetchResult")}
The class instance for the FetchResult class.
var GroupClass = _GroupClass{objc.GetClass("CNGroup")}
The class instance for the Group class.
var InstantMessageAddressClass = _InstantMessageAddressClass{objc.GetClass("CNInstantMessageAddress")}
The class instance for the InstantMessageAddress class.
var LabeledValueClass = _LabeledValueClass{objc.GetClass("CNLabeledValue")}
The class instance for the LabeledValue class.
var MutableContactClass = _MutableContactClass{objc.GetClass("CNMutableContact")}
The class instance for the MutableContact class.
var MutableGroupClass = _MutableGroupClass{objc.GetClass("CNMutableGroup")}
The class instance for the MutableGroup class.
var MutablePostalAddressClass = _MutablePostalAddressClass{objc.GetClass("CNMutablePostalAddress")}
The class instance for the MutablePostalAddress class.
var PhoneNumberClass = _PhoneNumberClass{objc.GetClass("CNPhoneNumber")}
The class instance for the PhoneNumber class.
var PostalAddressClass = _PostalAddressClass{objc.GetClass("CNPostalAddress")}
The class instance for the PostalAddress class.
var PostalAddressFormatterClass = _PostalAddressFormatterClass{objc.GetClass("CNPostalAddressFormatter")}
The class instance for the PostalAddressFormatter class.
var SaveRequestClass = _SaveRequestClass{objc.GetClass("CNSaveRequest")}
The class instance for the SaveRequest class.
var SocialProfileClass = _SocialProfileClass{objc.GetClass("CNSocialProfile")}
The class instance for the SocialProfile class.
Functions ¶
func ContactFormatter_AttributedStringFromContactStyleDefaultAttributes ¶
func ContactFormatter_AttributedStringFromContactStyleDefaultAttributes(contact IContact, style ContactFormatterStyle, attributes foundation.Dictionary) foundation.AttributedString
Formats the contact name as an attributed string. Full Topic
func ContactFormatter_DelimiterForContact ¶
Returns the delimiter to use between name components. Full Topic
func ContactFormatter_DescriptorForRequiredKeysForDelimiter ¶
[Full Topic]
func ContactFormatter_DescriptorForRequiredKeysForNameOrder ¶
[Full Topic]
func ContactFormatter_DescriptorForRequiredKeysForStyle ¶
func ContactFormatter_DescriptorForRequiredKeysForStyle(style ContactFormatterStyle) objc.Object
Returns the required key descriptor for the specified formatting style of the contact. Full Topic
func ContactFormatter_StringFromContactStyle ¶
func ContactFormatter_StringFromContactStyle(contact IContact, style ContactFormatterStyle) string
Returns the contact name, formatted with the specified formatter. Full Topic
func ContactVCardSerialization_DataWithContactsError ¶
func ContactVCardSerialization_DataWithContactsError(contacts []IContact, error unsafe.Pointer) []byte
Returns the vCard representation of the specified contacts. Full Topic
func ContactVCardSerialization_DescriptorForRequiredKeys ¶
Use to fetch all contact keys required to create vCard data from a contact. Full Topic
func Contact_ComparatorForNameSortOrder ¶
func Contact_ComparatorForNameSortOrder(sortOrder ContactSortOrder) foundation.Comparator
Returns a comparator to sort contacts with the specified order. Full Topic
func Contact_DescriptorForAllComparatorKeys ¶
Fetches all the keys required for the contact sort comparator. Full Topic
func Contact_LocalizedStringForKey ¶
Returns a string containing the localized contact property name. Full Topic
func Contact_PredicateForContactsInContainerWithIdentifier ¶
func Contact_PredicateForContactsInContainerWithIdentifier(containerIdentifier string) foundation.Predicate
Returns a predicate to find the contacts in the specified container. Full Topic
func Contact_PredicateForContactsInGroupWithIdentifier ¶
func Contact_PredicateForContactsInGroupWithIdentifier(groupIdentifier string) foundation.Predicate
Returns a predicate to find the contacts that are members in the specified group. Full Topic
func Contact_PredicateForContactsMatchingEmailAddress ¶
func Contact_PredicateForContactsMatchingEmailAddress(emailAddress string) foundation.Predicate
Returns a predicate to find the contacts whose email address matches the specified value. Full Topic
func Contact_PredicateForContactsMatchingName ¶
func Contact_PredicateForContactsMatchingName(name string) foundation.Predicate
Returns a predicate to find the contacts matching the specified name. Full Topic
func Contact_PredicateForContactsMatchingPhoneNumber ¶
func Contact_PredicateForContactsMatchingPhoneNumber(phoneNumber IPhoneNumber) foundation.Predicate
Returns a predicate to find the contacts whose phone number matches the specified value. Full Topic
func Contact_PredicateForContactsWithIdentifiers ¶
func Contact_PredicateForContactsWithIdentifiers(identifiers []string) foundation.Predicate
Returns a predicate to find the contacts matching the specified identifiers. Full Topic
func Container_PredicateForContainerOfContactWithIdentifier ¶
func Container_PredicateForContainerOfContactWithIdentifier(contactIdentifier string) foundation.Predicate
Returns a predicate to find the container of the specified contact. Full Topic
func Container_PredicateForContainerOfGroupWithIdentifier ¶
func Container_PredicateForContainerOfGroupWithIdentifier(groupIdentifier string) foundation.Predicate
Returns a predicate to find the container of the specified group. Full Topic
func Container_PredicateForContainersWithIdentifiers ¶
func Container_PredicateForContainersWithIdentifiers(identifiers []string) foundation.Predicate
Returns a predicate to find the containers with the specified identifiers. Full Topic
func Group_PredicateForGroupsInContainerWithIdentifier ¶
func Group_PredicateForGroupsInContainerWithIdentifier(containerIdentifier string) foundation.Predicate
Returns a predicate to find groups in the specified container. Full Topic
func Group_PredicateForGroupsWithIdentifiers ¶
func Group_PredicateForGroupsWithIdentifiers(identifiers []string) foundation.Predicate
Returns a predicate to find groups with the specified identifiers. Full Topic
func Group_PredicateForSubgroupsInGroupWithIdentifier ¶
func Group_PredicateForSubgroupsInGroupWithIdentifier(parentGroupIdentifier string) foundation.Predicate
Returns a predicate to find subgroups in the specified parent group. Full Topic
func InstantMessageAddress_LocalizedStringForKey ¶
Returns a string containing the localized property name. Full Topic
func InstantMessageAddress_LocalizedStringForService ¶
Returns a string containing the localized name of the specified service. Full Topic
func LabeledValue_LocalizedStringForLabel ¶
Returns a localized string for the specified label. Full Topic
func PostalAddressFormatter_AttributedStringFromPostalAddressStyleWithDefaultAttributes ¶
func PostalAddressFormatter_AttributedStringFromPostalAddressStyleWithDefaultAttributes(postalAddress IPostalAddress, style PostalAddressFormatterStyle, attributes foundation.Dictionary) foundation.AttributedString
Returns a postal address as an attributed string and formatted for the specified style. Full Topic
func PostalAddressFormatter_StringFromPostalAddressStyle ¶
func PostalAddressFormatter_StringFromPostalAddressStyle(postalAddress IPostalAddress, style PostalAddressFormatterStyle) string
Returns a postal address as a string and formatted for the specified style. Full Topic
func PostalAddress_LocalizedStringForKey ¶
Returns the localized name for the property associated with the specified key. Full Topic
func SocialProfile_LocalizedStringForKey ¶
Returns the localized name of the property for the specified key. Full Topic
func SocialProfile_LocalizedStringForService ¶
Returns the localized name of the specified service. Full Topic
Types ¶
type AuthorizationStatus ¶
type AuthorizationStatus int
An authorization status the user can grant for an app to access the specified entity type. Full Topic
const ( AuthorizationStatusAuthorized AuthorizationStatus = 3 AuthorizationStatusDenied AuthorizationStatus = 2 AuthorizationStatusNotDetermined AuthorizationStatus = 0 AuthorizationStatusRestricted AuthorizationStatus = 1 )
func ContactStore_AuthorizationStatusForEntityType ¶
func ContactStore_AuthorizationStatusForEntityType(entityType EntityType) AuthorizationStatus
Returns the current authorization status to access the contact data. Full Topic
type ChangeHistoryAddContactEvent ¶
type ChangeHistoryAddContactEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryAddContactEventFrom ¶
func ChangeHistoryAddContactEventFrom(ptr unsafe.Pointer) ChangeHistoryAddContactEvent
func NewChangeHistoryAddContactEvent ¶
func NewChangeHistoryAddContactEvent() ChangeHistoryAddContactEvent
func (ChangeHistoryAddContactEvent) Contact ¶
func (c_ ChangeHistoryAddContactEvent) Contact() Contact
[Full Topic]
func (ChangeHistoryAddContactEvent) ContainerIdentifier ¶
func (c_ ChangeHistoryAddContactEvent) ContainerIdentifier() string
[Full Topic]
func (ChangeHistoryAddContactEvent) Init ¶
func (c_ ChangeHistoryAddContactEvent) Init() ChangeHistoryAddContactEvent
type ChangeHistoryAddGroupEvent ¶
type ChangeHistoryAddGroupEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryAddGroupEventFrom ¶
func ChangeHistoryAddGroupEventFrom(ptr unsafe.Pointer) ChangeHistoryAddGroupEvent
func NewChangeHistoryAddGroupEvent ¶
func NewChangeHistoryAddGroupEvent() ChangeHistoryAddGroupEvent
func (ChangeHistoryAddGroupEvent) ContainerIdentifier ¶
func (c_ ChangeHistoryAddGroupEvent) ContainerIdentifier() string
[Full Topic]
func (ChangeHistoryAddGroupEvent) Group ¶
func (c_ ChangeHistoryAddGroupEvent) Group() Group
[Full Topic]
func (ChangeHistoryAddGroupEvent) Init ¶
func (c_ ChangeHistoryAddGroupEvent) Init() ChangeHistoryAddGroupEvent
type ChangeHistoryAddMemberToGroupEvent ¶
type ChangeHistoryAddMemberToGroupEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryAddMemberToGroupEventFrom ¶
func ChangeHistoryAddMemberToGroupEventFrom(ptr unsafe.Pointer) ChangeHistoryAddMemberToGroupEvent
func NewChangeHistoryAddMemberToGroupEvent ¶
func NewChangeHistoryAddMemberToGroupEvent() ChangeHistoryAddMemberToGroupEvent
func (ChangeHistoryAddMemberToGroupEvent) Group ¶
func (c_ ChangeHistoryAddMemberToGroupEvent) Group() Group
[Full Topic]
func (ChangeHistoryAddMemberToGroupEvent) Init ¶
func (c_ ChangeHistoryAddMemberToGroupEvent) Init() ChangeHistoryAddMemberToGroupEvent
func (ChangeHistoryAddMemberToGroupEvent) Member ¶
func (c_ ChangeHistoryAddMemberToGroupEvent) Member() Contact
[Full Topic]
type ChangeHistoryAddSubgroupToGroupEvent ¶
type ChangeHistoryAddSubgroupToGroupEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryAddSubgroupToGroupEventFrom ¶
func ChangeHistoryAddSubgroupToGroupEventFrom(ptr unsafe.Pointer) ChangeHistoryAddSubgroupToGroupEvent
func NewChangeHistoryAddSubgroupToGroupEvent ¶
func NewChangeHistoryAddSubgroupToGroupEvent() ChangeHistoryAddSubgroupToGroupEvent
func (ChangeHistoryAddSubgroupToGroupEvent) Group ¶
func (c_ ChangeHistoryAddSubgroupToGroupEvent) Group() Group
[Full Topic]
func (ChangeHistoryAddSubgroupToGroupEvent) Init ¶
func (c_ ChangeHistoryAddSubgroupToGroupEvent) Init() ChangeHistoryAddSubgroupToGroupEvent
func (ChangeHistoryAddSubgroupToGroupEvent) Subgroup ¶
func (c_ ChangeHistoryAddSubgroupToGroupEvent) Subgroup() Group
[Full Topic]
type ChangeHistoryDeleteContactEvent ¶
type ChangeHistoryDeleteContactEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryDeleteContactEventFrom ¶
func ChangeHistoryDeleteContactEventFrom(ptr unsafe.Pointer) ChangeHistoryDeleteContactEvent
func NewChangeHistoryDeleteContactEvent ¶
func NewChangeHistoryDeleteContactEvent() ChangeHistoryDeleteContactEvent
func (ChangeHistoryDeleteContactEvent) ContactIdentifier ¶
func (c_ ChangeHistoryDeleteContactEvent) ContactIdentifier() string
[Full Topic]
func (ChangeHistoryDeleteContactEvent) Init ¶
func (c_ ChangeHistoryDeleteContactEvent) Init() ChangeHistoryDeleteContactEvent
type ChangeHistoryDeleteGroupEvent ¶
type ChangeHistoryDeleteGroupEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryDeleteGroupEventFrom ¶
func ChangeHistoryDeleteGroupEventFrom(ptr unsafe.Pointer) ChangeHistoryDeleteGroupEvent
func NewChangeHistoryDeleteGroupEvent ¶
func NewChangeHistoryDeleteGroupEvent() ChangeHistoryDeleteGroupEvent
func (ChangeHistoryDeleteGroupEvent) GroupIdentifier ¶
func (c_ ChangeHistoryDeleteGroupEvent) GroupIdentifier() string
[Full Topic]
func (ChangeHistoryDeleteGroupEvent) Init ¶
func (c_ ChangeHistoryDeleteGroupEvent) Init() ChangeHistoryDeleteGroupEvent
type ChangeHistoryDropEverythingEvent ¶
type ChangeHistoryDropEverythingEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryDropEverythingEventFrom ¶
func ChangeHistoryDropEverythingEventFrom(ptr unsafe.Pointer) ChangeHistoryDropEverythingEvent
func NewChangeHistoryDropEverythingEvent ¶
func NewChangeHistoryDropEverythingEvent() ChangeHistoryDropEverythingEvent
func (ChangeHistoryDropEverythingEvent) Init ¶
func (c_ ChangeHistoryDropEverythingEvent) Init() ChangeHistoryDropEverythingEvent
type ChangeHistoryEvent ¶
[Full Topic]
func ChangeHistoryEventFrom ¶
func ChangeHistoryEventFrom(ptr unsafe.Pointer) ChangeHistoryEvent
func NewChangeHistoryEvent ¶
func NewChangeHistoryEvent() ChangeHistoryEvent
func (ChangeHistoryEvent) AcceptEventVisitor ¶
func (c_ ChangeHistoryEvent) AcceptEventVisitor(visitor PChangeHistoryEventVisitor)
[Full Topic]
func (ChangeHistoryEvent) AcceptEventVisitorObject ¶
func (c_ ChangeHistoryEvent) AcceptEventVisitorObject(visitorObject objc.IObject)
[Full Topic]
func (ChangeHistoryEvent) Init ¶
func (c_ ChangeHistoryEvent) Init() ChangeHistoryEvent
type ChangeHistoryEventVisitorObject ¶
A concrete type for the PChangeHistoryEventVisitor protocol.
func (ChangeHistoryEventVisitorObject) HasVisitAddContactEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitAddContactEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitAddGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitAddGroupEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitAddMemberToGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitAddMemberToGroupEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitAddSubgroupToGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitAddSubgroupToGroupEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitDeleteContactEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitDeleteContactEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitDeleteGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitDeleteGroupEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitDropEverythingEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitDropEverythingEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitRemoveMemberFromGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitRemoveMemberFromGroupEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitRemoveSubgroupFromGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitRemoveSubgroupFromGroupEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitUpdateContactEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitUpdateContactEvent() bool
func (ChangeHistoryEventVisitorObject) HasVisitUpdateGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) HasVisitUpdateGroupEvent() bool
func (ChangeHistoryEventVisitorObject) VisitAddContactEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitAddContactEvent(event ChangeHistoryAddContactEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitAddGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitAddGroupEvent(event ChangeHistoryAddGroupEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitAddMemberToGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitAddMemberToGroupEvent(event ChangeHistoryAddMemberToGroupEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitAddSubgroupToGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitAddSubgroupToGroupEvent(event ChangeHistoryAddSubgroupToGroupEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitDeleteContactEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitDeleteContactEvent(event ChangeHistoryDeleteContactEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitDeleteGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitDeleteGroupEvent(event ChangeHistoryDeleteGroupEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitDropEverythingEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitDropEverythingEvent(event ChangeHistoryDropEverythingEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitRemoveMemberFromGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitRemoveMemberFromGroupEvent(event ChangeHistoryRemoveMemberFromGroupEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitRemoveSubgroupFromGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitRemoveSubgroupFromGroupEvent(event ChangeHistoryRemoveSubgroupFromGroupEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitUpdateContactEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitUpdateContactEvent(event ChangeHistoryUpdateContactEvent)
[Full Topic]
func (ChangeHistoryEventVisitorObject) VisitUpdateGroupEvent ¶
func (c_ ChangeHistoryEventVisitorObject) VisitUpdateGroupEvent(event ChangeHistoryUpdateGroupEvent)
[Full Topic]
type ChangeHistoryFetchRequest ¶
type ChangeHistoryFetchRequest struct {
FetchRequest
}
[Full Topic]
func ChangeHistoryFetchRequestFrom ¶
func ChangeHistoryFetchRequestFrom(ptr unsafe.Pointer) ChangeHistoryFetchRequest
func NewChangeHistoryFetchRequest ¶
func NewChangeHistoryFetchRequest() ChangeHistoryFetchRequest
func (ChangeHistoryFetchRequest) AdditionalContactKeyDescriptors ¶
func (c_ ChangeHistoryFetchRequest) AdditionalContactKeyDescriptors() []objc.Object
[Full Topic]
func (ChangeHistoryFetchRequest) ExcludedTransactionAuthors ¶
func (c_ ChangeHistoryFetchRequest) ExcludedTransactionAuthors() []string
[Full Topic]
func (ChangeHistoryFetchRequest) IncludeGroupChanges ¶
func (c_ ChangeHistoryFetchRequest) IncludeGroupChanges() bool
[Full Topic]
func (ChangeHistoryFetchRequest) Init ¶
func (c_ ChangeHistoryFetchRequest) Init() ChangeHistoryFetchRequest
func (ChangeHistoryFetchRequest) MutableObjects ¶
func (c_ ChangeHistoryFetchRequest) MutableObjects() bool
[Full Topic]
func (ChangeHistoryFetchRequest) SetAdditionalContactKeyDescriptors ¶
func (c_ ChangeHistoryFetchRequest) SetAdditionalContactKeyDescriptors(value []objc.IObject)
[Full Topic]
func (ChangeHistoryFetchRequest) SetExcludedTransactionAuthors ¶
func (c_ ChangeHistoryFetchRequest) SetExcludedTransactionAuthors(value []string)
[Full Topic]
func (ChangeHistoryFetchRequest) SetIncludeGroupChanges ¶
func (c_ ChangeHistoryFetchRequest) SetIncludeGroupChanges(value bool)
[Full Topic]
func (ChangeHistoryFetchRequest) SetMutableObjects ¶
func (c_ ChangeHistoryFetchRequest) SetMutableObjects(value bool)
[Full Topic]
func (ChangeHistoryFetchRequest) SetShouldUnifyResults ¶
func (c_ ChangeHistoryFetchRequest) SetShouldUnifyResults(value bool)
[Full Topic]
func (ChangeHistoryFetchRequest) SetStartingToken ¶
func (c_ ChangeHistoryFetchRequest) SetStartingToken(value []byte)
[Full Topic]
func (ChangeHistoryFetchRequest) ShouldUnifyResults ¶
func (c_ ChangeHistoryFetchRequest) ShouldUnifyResults() bool
[Full Topic]
func (ChangeHistoryFetchRequest) StartingToken ¶
func (c_ ChangeHistoryFetchRequest) StartingToken() []byte
[Full Topic]
type ChangeHistoryRemoveMemberFromGroupEvent ¶
type ChangeHistoryRemoveMemberFromGroupEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryRemoveMemberFromGroupEventFrom ¶
func ChangeHistoryRemoveMemberFromGroupEventFrom(ptr unsafe.Pointer) ChangeHistoryRemoveMemberFromGroupEvent
func NewChangeHistoryRemoveMemberFromGroupEvent ¶
func NewChangeHistoryRemoveMemberFromGroupEvent() ChangeHistoryRemoveMemberFromGroupEvent
func (ChangeHistoryRemoveMemberFromGroupEvent) Group ¶
func (c_ ChangeHistoryRemoveMemberFromGroupEvent) Group() Group
[Full Topic]
func (ChangeHistoryRemoveMemberFromGroupEvent) Member ¶
func (c_ ChangeHistoryRemoveMemberFromGroupEvent) Member() Contact
[Full Topic]
type ChangeHistoryRemoveSubgroupFromGroupEvent ¶
type ChangeHistoryRemoveSubgroupFromGroupEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryRemoveSubgroupFromGroupEventFrom ¶
func ChangeHistoryRemoveSubgroupFromGroupEventFrom(ptr unsafe.Pointer) ChangeHistoryRemoveSubgroupFromGroupEvent
func NewChangeHistoryRemoveSubgroupFromGroupEvent ¶
func NewChangeHistoryRemoveSubgroupFromGroupEvent() ChangeHistoryRemoveSubgroupFromGroupEvent
func (ChangeHistoryRemoveSubgroupFromGroupEvent) Group ¶
func (c_ ChangeHistoryRemoveSubgroupFromGroupEvent) Group() Group
[Full Topic]
func (ChangeHistoryRemoveSubgroupFromGroupEvent) Subgroup ¶
func (c_ ChangeHistoryRemoveSubgroupFromGroupEvent) Subgroup() Group
[Full Topic]
type ChangeHistoryUpdateContactEvent ¶
type ChangeHistoryUpdateContactEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryUpdateContactEventFrom ¶
func ChangeHistoryUpdateContactEventFrom(ptr unsafe.Pointer) ChangeHistoryUpdateContactEvent
func NewChangeHistoryUpdateContactEvent ¶
func NewChangeHistoryUpdateContactEvent() ChangeHistoryUpdateContactEvent
func (ChangeHistoryUpdateContactEvent) Contact ¶
func (c_ ChangeHistoryUpdateContactEvent) Contact() Contact
[Full Topic]
func (ChangeHistoryUpdateContactEvent) Init ¶
func (c_ ChangeHistoryUpdateContactEvent) Init() ChangeHistoryUpdateContactEvent
type ChangeHistoryUpdateGroupEvent ¶
type ChangeHistoryUpdateGroupEvent struct {
ChangeHistoryEvent
}
[Full Topic]
func ChangeHistoryUpdateGroupEventFrom ¶
func ChangeHistoryUpdateGroupEventFrom(ptr unsafe.Pointer) ChangeHistoryUpdateGroupEvent
func NewChangeHistoryUpdateGroupEvent ¶
func NewChangeHistoryUpdateGroupEvent() ChangeHistoryUpdateGroupEvent
func (ChangeHistoryUpdateGroupEvent) Group ¶
func (c_ ChangeHistoryUpdateGroupEvent) Group() Group
[Full Topic]
func (ChangeHistoryUpdateGroupEvent) Init ¶
func (c_ ChangeHistoryUpdateGroupEvent) Init() ChangeHistoryUpdateGroupEvent
type Contact ¶
An immutable object that stores information about a single contact, such as the contact's first name, phone numbers, and addresses. Full Topic
func ContactFrom ¶
func ContactVCardSerialization_ContactsWithDataError ¶
Returns the contacts from the vCard data. Full Topic
func NewContact ¶
func NewContact() Contact
func (Contact) AreKeysAvailable ¶
Determines whether all contact property values for the specified keys are fetched. Full Topic
func (Contact) Birthday ¶
func (c_ Contact) Birthday() foundation.DateComponents
A date component for the Gregorian birthday of the contact. Full Topic
func (Contact) ContactRelations ¶
func (c_ Contact) ContactRelations() []LabeledValue
An array of labeled relations for the contact. Full Topic
func (Contact) ContactType ¶
func (c_ Contact) ContactType() ContactType
An enum identifying the contact type. Full Topic
func (Contact) Dates ¶
func (c_ Contact) Dates() []LabeledValue
An array containing labeled Gregorian dates. Full Topic
func (Contact) DepartmentName ¶
The name of the department associated with the contact. Full Topic
func (Contact) EmailAddresses ¶
func (c_ Contact) EmailAddresses() []LabeledValue
An array of labeled email addresses for the contact. Full Topic
func (Contact) FamilyName ¶
The family name of the contact. Full Topic
func (Contact) GivenName ¶
The given name of the contact. Full Topic
func (Contact) Identifier ¶
A value that uniquely identifies a contact on the device. Full Topic
func (Contact) ImageData ¶
The profile picture of a contact. Full Topic
func (Contact) ImageDataAvailable ¶
A Boolean indicating whether a contact has a profile picture. Full Topic
func (Contact) InstantMessageAddresses ¶
func (c_ Contact) InstantMessageAddresses() []LabeledValue
An array of labeled IM addresses for the contact. Full Topic
func (Contact) IsKeyAvailable ¶
Determines whether the contact property value for the specified key is fetched. Full Topic
func (Contact) IsUnifiedWithContactWithIdentifier ¶
Returns a Boolean indicating whether the current contact is a unified contact and includes a contact with the specified identifier. Full Topic
func (Contact) MiddleName ¶
The middle name of the contact. Full Topic
func (Contact) NamePrefix ¶
The name prefix of the contact. Full Topic
func (Contact) NameSuffix ¶
The name suffix of the contact. Full Topic
func (Contact) Nickname ¶
The nickname of the contact. Full Topic
func (Contact) NonGregorianBirthday ¶
func (c_ Contact) NonGregorianBirthday() foundation.DateComponents
A date component for the non-Gregorian birthday of the contact. Full Topic
func (Contact) Note ¶
A string containing notes for the contact. Full Topic
func (Contact) OrganizationName ¶
The name of the organization associated with the contact. Full Topic
func (Contact) PhoneNumbers ¶
func (c_ Contact) PhoneNumbers() []LabeledValue
An array of labeled phone numbers for a contact. Full Topic
func (Contact) PhoneticFamilyName ¶
A string for the phonetic family name of the contact. Full Topic
func (Contact) PhoneticGivenName ¶
The phonetic given name of the contact. Full Topic
func (Contact) PhoneticMiddleName ¶
The phonetic middle name of the contact. Full Topic
func (Contact) PhoneticOrganizationName ¶
The phonetic name of the organization associated with the contact. Full Topic
func (Contact) PostalAddresses ¶
func (c_ Contact) PostalAddresses() []LabeledValue
An array of labeled postal addresses for a contact. Full Topic
func (Contact) PreviousFamilyName ¶
A string for the previous family name of the contact. Full Topic
func (Contact) SocialProfiles ¶
func (c_ Contact) SocialProfiles() []LabeledValue
An array of labeled social profiles for a contact. Full Topic
func (Contact) ThumbnailImageData ¶
The thumbnail version of the contact’s profile picture. Full Topic
func (Contact) UrlAddresses ¶
func (c_ Contact) UrlAddresses() []LabeledValue
An array of labeled URL addresses for a contact. Full Topic
type ContactDisplayNameOrder ¶
type ContactDisplayNameOrder int
The formatting orders for contact names component. Full Topic
const ( ContactDisplayNameOrderFamilyNameFirst ContactDisplayNameOrder = 2 ContactDisplayNameOrderGivenNameFirst ContactDisplayNameOrder = 1 ContactDisplayNameOrderUserDefault ContactDisplayNameOrder = 0 )
func ContactFormatter_NameOrderForContact ¶
func ContactFormatter_NameOrderForContact(contact IContact) ContactDisplayNameOrder
Returns the display name order. Full Topic
type ContactFetchRequest ¶
type ContactFetchRequest struct {
FetchRequest
}
An object that defines the options to use when fetching contacts. Full Topic
func ContactFetchRequestFrom ¶
func ContactFetchRequestFrom(ptr unsafe.Pointer) ContactFetchRequest
func NewContactFetchRequest ¶
func NewContactFetchRequest() ContactFetchRequest
func NewContactFetchRequestWithKeysToFetch ¶
func NewContactFetchRequestWithKeysToFetch(keysToFetch []objc.IObject) ContactFetchRequest
Creates a fetch request for the specified keys. Full Topic
func (ContactFetchRequest) Init ¶
func (c_ ContactFetchRequest) Init() ContactFetchRequest
func (ContactFetchRequest) InitWithKeysToFetch ¶
func (c_ ContactFetchRequest) InitWithKeysToFetch(keysToFetch []objc.IObject) ContactFetchRequest
func (ContactFetchRequest) KeysToFetch ¶
func (c_ ContactFetchRequest) KeysToFetch() []objc.Object
The properties to fetch in the returned contacts. Full Topic
func (ContactFetchRequest) MutableObjects ¶
func (c_ ContactFetchRequest) MutableObjects() bool
A Boolean value that indicates whether to return mutable contacts. Full Topic
func (ContactFetchRequest) Predicate ¶
func (c_ ContactFetchRequest) Predicate() foundation.Predicate
The predicate to match contacts against. Full Topic
func (ContactFetchRequest) SetKeysToFetch ¶
func (c_ ContactFetchRequest) SetKeysToFetch(value []objc.IObject)
The properties to fetch in the returned contacts. Full Topic
func (ContactFetchRequest) SetMutableObjects ¶
func (c_ ContactFetchRequest) SetMutableObjects(value bool)
A Boolean value that indicates whether to return mutable contacts. Full Topic
func (ContactFetchRequest) SetPredicate ¶
func (c_ ContactFetchRequest) SetPredicate(value foundation.IPredicate)
The predicate to match contacts against. Full Topic
func (ContactFetchRequest) SetSortOrder ¶
func (c_ ContactFetchRequest) SetSortOrder(value ContactSortOrder)
The sort order for contacts. Full Topic
func (ContactFetchRequest) SetUnifyResults ¶
func (c_ ContactFetchRequest) SetUnifyResults(value bool)
A Boolean value that indicates whether to return linked contacts as unified contacts. Full Topic
func (ContactFetchRequest) SortOrder ¶
func (c_ ContactFetchRequest) SortOrder() ContactSortOrder
The sort order for contacts. Full Topic
func (ContactFetchRequest) UnifyResults ¶
func (c_ ContactFetchRequest) UnifyResults() bool
A Boolean value that indicates whether to return linked contacts as unified contacts. Full Topic
type ContactFormatter ¶
type ContactFormatter struct {
foundation.Formatter
}
An object that you use to format contact information before displaying it to the user. Full Topic
func ContactFormatterFrom ¶
func ContactFormatterFrom(ptr unsafe.Pointer) ContactFormatter
func NewContactFormatter ¶
func NewContactFormatter() ContactFormatter
func (ContactFormatter) AttributedStringFromContactDefaultAttributes ¶
func (c_ ContactFormatter) AttributedStringFromContactDefaultAttributes(contact IContact, attributes foundation.Dictionary) foundation.AttributedString
Formats the contact name as an attributed string. Full Topic
func (ContactFormatter) Init ¶
func (c_ ContactFormatter) Init() ContactFormatter
func (ContactFormatter) SetStyle ¶
func (c_ ContactFormatter) SetStyle(value ContactFormatterStyle)
The formatting style for the contact name. Full Topic
func (ContactFormatter) StringFromContact ¶
func (c_ ContactFormatter) StringFromContact(contact IContact) string
Formats the contact name. Full Topic
func (ContactFormatter) Style ¶
func (c_ ContactFormatter) Style() ContactFormatterStyle
The formatting style for the contact name. Full Topic
type ContactFormatterStyle ¶
type ContactFormatterStyle int
The formatting styles for contact names. Full Topic
const ( ContactFormatterStyleFullName ContactFormatterStyle = 0 ContactFormatterStylePhoneticFullName ContactFormatterStyle = 1 )
type ContactProperty ¶
An object that represents a property of a contact. Full Topic
func ContactPropertyFrom ¶
func ContactPropertyFrom(ptr unsafe.Pointer) ContactProperty
func NewContactProperty ¶
func NewContactProperty() ContactProperty
func (ContactProperty) Contact ¶
func (c_ ContactProperty) Contact() Contact
The associated contact. Full Topic
func (ContactProperty) Identifier ¶
func (c_ ContactProperty) Identifier() string
The identifier of the labeled value in the array of labeled. Full Topic
func (ContactProperty) Init ¶
func (c_ ContactProperty) Init() ContactProperty
func (ContactProperty) Key ¶
func (c_ ContactProperty) Key() string
The key of the contact property. Full Topic
func (ContactProperty) Label ¶
func (c_ ContactProperty) Label() string
The label of the labeled value of the property array. Full Topic
func (ContactProperty) Value ¶
func (c_ ContactProperty) Value() objc.Object
The value of the property. Full Topic
type ContactRelation ¶
An immutable object that represents the relationship between one contact to another. Full Topic
func ContactRelationFrom ¶
func ContactRelationFrom(ptr unsafe.Pointer) ContactRelation
func ContactRelation_ContactRelationWithName ¶
func ContactRelation_ContactRelationWithName(name string) ContactRelation
Instantiate a class instance with the name of the related contact. Full Topic
func NewContactRelation ¶
func NewContactRelation() ContactRelation
func NewContactRelationWithName ¶
func NewContactRelationWithName(name string) ContactRelation
Creates an object with the name of the related contact. Full Topic
func (ContactRelation) Init ¶
func (c_ ContactRelation) Init() ContactRelation
func (ContactRelation) InitWithName ¶
func (c_ ContactRelation) InitWithName(name string) ContactRelation
func (ContactRelation) Name ¶
func (c_ ContactRelation) Name() string
The name of the related contact. Full Topic
type ContactSortOrder ¶
type ContactSortOrder int
Indicates the sorting order for contacts. Full Topic
const ( ContactSortOrderFamilyName ContactSortOrder = 3 ContactSortOrderGivenName ContactSortOrder = 2 ContactSortOrderNone ContactSortOrder = 0 ContactSortOrderUserDefault ContactSortOrder = 1 )
type ContactStore ¶
The object that fetches and saves contacts, groups, and containers from the user's Contacts database. Full Topic
func ContactStoreFrom ¶
func ContactStoreFrom(ptr unsafe.Pointer) ContactStore
func NewContactStore ¶
func NewContactStore() ContactStore
func (ContactStore) ContainersMatchingPredicateError ¶
func (c_ ContactStore) ContainersMatchingPredicateError(predicate foundation.IPredicate, error unsafe.Pointer) []Container
Fetches all containers matching the specified predicate. Full Topic
func (ContactStore) CurrentHistoryToken ¶
func (c_ ContactStore) CurrentHistoryToken() []byte
The current history token. Full Topic
func (ContactStore) DefaultContainerIdentifier ¶
func (c_ ContactStore) DefaultContainerIdentifier() string
Returns the identifier of the default container. Full Topic
func (ContactStore) EnumerateContactsWithFetchRequestErrorUsingBlock ¶
func (c_ ContactStore) EnumerateContactsWithFetchRequestErrorUsingBlock(fetchRequest IContactFetchRequest, error unsafe.Pointer, block func(contact Contact, stop *bool)) bool
Returns a Boolean value that indicates whether the enumeration of all contacts matching a contact fetch request executes successfully. Full Topic
func (ContactStore) EnumeratorForChangeHistoryFetchRequestError ¶
func (c_ ContactStore) EnumeratorForChangeHistoryFetchRequestError(request IChangeHistoryFetchRequest, error unsafe.Pointer) FetchResult
Enumerates a change history fetch request. Full Topic
func (ContactStore) EnumeratorForContactFetchRequestError ¶
func (c_ ContactStore) EnumeratorForContactFetchRequestError(request IContactFetchRequest, error unsafe.Pointer) FetchResult
Enumerates a contact fetch request. Full Topic
func (ContactStore) ExecuteSaveRequestError ¶
func (c_ ContactStore) ExecuteSaveRequestError(saveRequest ISaveRequest, error unsafe.Pointer) bool
Executes a save request and returns success or failure. Full Topic
func (ContactStore) GroupsMatchingPredicateError ¶
func (c_ ContactStore) GroupsMatchingPredicateError(predicate foundation.IPredicate, error unsafe.Pointer) []Group
Fetches all groups matching the specified predicate. Full Topic
func (ContactStore) Init ¶
func (c_ ContactStore) Init() ContactStore
func (ContactStore) RequestAccessForEntityTypeCompletionHandler ¶
func (c_ ContactStore) RequestAccessForEntityTypeCompletionHandler(entityType EntityType, completionHandler func(granted bool, error foundation.Error))
Requests access to the user's contacts. Full Topic
func (ContactStore) UnifiedContactWithIdentifierKeysToFetchError ¶
func (c_ ContactStore) UnifiedContactWithIdentifierKeysToFetchError(identifier string, keys []objc.IObject, error unsafe.Pointer) Contact
Fetches a unified contact for the specified contact identifier. Full Topic
func (ContactStore) UnifiedContactsMatchingPredicateKeysToFetchError ¶
func (c_ ContactStore) UnifiedContactsMatchingPredicateKeysToFetchError(predicate foundation.IPredicate, keys []objc.IObject, error unsafe.Pointer) []Contact
Fetches all unified contacts matching the specified predicate. Full Topic
func (ContactStore) UnifiedMeContactWithKeysToFetchError ¶
func (c_ ContactStore) UnifiedMeContactWithKeysToFetchError(keys []objc.IObject, error unsafe.Pointer) Contact
Fetches the unified contact that’s the me card. Full Topic
type ContactType ¶
type ContactType int
The types a contact can be. Full Topic
const ( ContactTypeOrganization ContactType = 1 ContactTypePerson ContactType = 0 )
type ContactVCardSerialization ¶
An object you use to convert to and from a vCard representation of the user's contacts. Full Topic
func ContactVCardSerializationFrom ¶
func ContactVCardSerializationFrom(ptr unsafe.Pointer) ContactVCardSerialization
func NewContactVCardSerialization ¶
func NewContactVCardSerialization() ContactVCardSerialization
func (ContactVCardSerialization) Init ¶
func (c_ ContactVCardSerialization) Init() ContactVCardSerialization
type ContactsUserDefaults ¶
An object that defines the default options to use when displaying contacts. Full Topic
func ContactsUserDefaultsFrom ¶
func ContactsUserDefaultsFrom(ptr unsafe.Pointer) ContactsUserDefaults
func ContactsUserDefaults_SharedDefaults ¶
func ContactsUserDefaults_SharedDefaults() ContactsUserDefaults
The singleton contacts user defaults object. Full Topic
func NewContactsUserDefaults ¶
func NewContactsUserDefaults() ContactsUserDefaults
func (ContactsUserDefaults) CountryCode ¶
func (c_ ContactsUserDefaults) CountryCode() string
An ISO country code. Full Topic
func (ContactsUserDefaults) Init ¶
func (c_ ContactsUserDefaults) Init() ContactsUserDefaults
func (ContactsUserDefaults) SortOrder ¶
func (c_ ContactsUserDefaults) SortOrder() ContactSortOrder
Default sorting order by name. Full Topic
type Container ¶
An immutable object that represents a collection of contacts. Full Topic
func ContainerFrom ¶
func NewContainer ¶
func NewContainer() Container
func (Container) Identifier ¶
The unique identifier for a contacts container on the device. Full Topic
func (Container) Type ¶
func (c_ Container) Type() ContainerType
The type of the container. Full Topic
type ContainerType ¶
type ContainerType int
The container may be local on the device or associated with a server account that has contacts. Full Topic
const ( ContainerTypeCardDAV ContainerType = 3 ContainerTypeExchange ContainerType = 2 ContainerTypeLocal ContainerType = 1 ContainerTypeUnassigned ContainerType = 0 )
type EntityType ¶
type EntityType int
The entities the user can grant access to. Full Topic
const (
EntityTypeContacts EntityType = 0
)
type ErrorCode ¶
type ErrorCode int
Error codes that may be returned when using the methods of the Contacts framework. Full Topic
const ( ErrorCodeAuthorizationDenied ErrorCode = 100 ErrorCodeChangeHistoryExpired ErrorCode = 603 ErrorCodeChangeHistoryInvalidAnchor ErrorCode = 604 ErrorCodeChangeHistoryInvalidFetchRequest ErrorCode = 605 ErrorCodeClientIdentifierCollision ErrorCode = 602 ErrorCodeClientIdentifierDoesNotExist ErrorCode = 601 ErrorCodeClientIdentifierInvalid ErrorCode = 600 ErrorCodeCommunicationError ErrorCode = 1 ErrorCodeContainmentCycle ErrorCode = 202 ErrorCodeContainmentScope ErrorCode = 203 ErrorCodeDataAccessError ErrorCode = 2 ErrorCodeFeatureDisabledByUser ErrorCode = 103 ErrorCodeInsertedRecordAlreadyExists ErrorCode = 201 ErrorCodeNoAccessableWritableContainers ErrorCode = 101 ErrorCodeParentContainerNotWritable ErrorCode = 207 ErrorCodeParentRecordDoesNotExist ErrorCode = 204 ErrorCodePolicyViolation ErrorCode = 500 ErrorCodePredicateInvalid ErrorCode = 400 ErrorCodeRecordDoesNotExist ErrorCode = 200 ErrorCodeRecordIdentifierInvalid ErrorCode = 205 ErrorCodeRecordNotWritable ErrorCode = 206 ErrorCodeVCardMalformed ErrorCode = 700 ErrorCodeVCardSummarizationError ErrorCode = 701 ErrorCodeValidationConfigurationError ErrorCode = 302 ErrorCodeValidationMultipleErrors ErrorCode = 300 ErrorCodeValidationTypeMismatch ErrorCode = 301 )
type FetchRequest ¶
[Full Topic]
func FetchRequestFrom ¶
func FetchRequestFrom(ptr unsafe.Pointer) FetchRequest
func NewFetchRequest ¶
func NewFetchRequest() FetchRequest
func (FetchRequest) Init ¶
func (f_ FetchRequest) Init() FetchRequest
type FetchResult ¶
[Full Topic]
func FetchResultFrom ¶
func FetchResultFrom(ptr unsafe.Pointer) FetchResult
func NewFetchResult ¶
func NewFetchResult() FetchResult
func (FetchResult) CurrentHistoryToken ¶
func (f_ FetchResult) CurrentHistoryToken() []byte
[Full Topic]
func (FetchResult) Init ¶
func (f_ FetchResult) Init() FetchResult
type Group ¶
An immutable object that represents a group of contacts. Full Topic
func (Group) Identifier ¶
The unique identifier for a group on the device. Full Topic
type IChangeHistoryAddContactEvent ¶
type IChangeHistoryAddContactEvent interface { IChangeHistoryEvent ContainerIdentifier() string Contact() Contact }
An interface definition for the ChangeHistoryAddContactEvent class.
type IChangeHistoryAddGroupEvent ¶
type IChangeHistoryAddGroupEvent interface { IChangeHistoryEvent ContainerIdentifier() string Group() Group }
An interface definition for the ChangeHistoryAddGroupEvent class.
type IChangeHistoryAddMemberToGroupEvent ¶
type IChangeHistoryAddMemberToGroupEvent interface { IChangeHistoryEvent Group() Group Member() Contact }
An interface definition for the ChangeHistoryAddMemberToGroupEvent class.
type IChangeHistoryAddSubgroupToGroupEvent ¶
type IChangeHistoryAddSubgroupToGroupEvent interface { IChangeHistoryEvent Subgroup() Group Group() Group }
An interface definition for the ChangeHistoryAddSubgroupToGroupEvent class.
type IChangeHistoryDeleteContactEvent ¶
type IChangeHistoryDeleteContactEvent interface { IChangeHistoryEvent ContactIdentifier() string }
An interface definition for the ChangeHistoryDeleteContactEvent class.
type IChangeHistoryDeleteGroupEvent ¶
type IChangeHistoryDeleteGroupEvent interface { IChangeHistoryEvent GroupIdentifier() string }
An interface definition for the ChangeHistoryDeleteGroupEvent class.
type IChangeHistoryDropEverythingEvent ¶
type IChangeHistoryDropEverythingEvent interface { IChangeHistoryEvent }
An interface definition for the ChangeHistoryDropEverythingEvent class.
type IChangeHistoryEvent ¶
type IChangeHistoryEvent interface { objc.IObject AcceptEventVisitor(visitor PChangeHistoryEventVisitor) AcceptEventVisitorObject(visitorObject objc.IObject) }
An interface definition for the ChangeHistoryEvent class.
type IChangeHistoryFetchRequest ¶
type IChangeHistoryFetchRequest interface { IFetchRequest MutableObjects() bool SetMutableObjects(value bool) ShouldUnifyResults() bool SetShouldUnifyResults(value bool) IncludeGroupChanges() bool SetIncludeGroupChanges(value bool) AdditionalContactKeyDescriptors() []objc.Object SetAdditionalContactKeyDescriptors(value []objc.IObject) ExcludedTransactionAuthors() []string SetExcludedTransactionAuthors(value []string) StartingToken() []byte SetStartingToken(value []byte) }
An interface definition for the ChangeHistoryFetchRequest class.
type IChangeHistoryRemoveMemberFromGroupEvent ¶
type IChangeHistoryRemoveMemberFromGroupEvent interface { IChangeHistoryEvent Group() Group Member() Contact }
An interface definition for the ChangeHistoryRemoveMemberFromGroupEvent class.
type IChangeHistoryRemoveSubgroupFromGroupEvent ¶
type IChangeHistoryRemoveSubgroupFromGroupEvent interface { IChangeHistoryEvent Subgroup() Group Group() Group }
An interface definition for the ChangeHistoryRemoveSubgroupFromGroupEvent class.
type IChangeHistoryUpdateContactEvent ¶
type IChangeHistoryUpdateContactEvent interface { IChangeHistoryEvent Contact() Contact }
An interface definition for the ChangeHistoryUpdateContactEvent class.
type IChangeHistoryUpdateGroupEvent ¶
type IChangeHistoryUpdateGroupEvent interface { IChangeHistoryEvent Group() Group }
An interface definition for the ChangeHistoryUpdateGroupEvent class.
type IContact ¶
type IContact interface { objc.IObject IsUnifiedWithContactWithIdentifier(contactIdentifier string) bool AreKeysAvailable(keyDescriptors []objc.IObject) bool IsKeyAvailable(key string) bool DepartmentName() string PostalAddresses() []LabeledValue ThumbnailImageData() []byte PhoneNumbers() []LabeledValue NameSuffix() string PhoneticFamilyName() string ImageData() []byte PhoneticGivenName() string NamePrefix() string Birthday() foundation.DateComponents JobTitle() string PreviousFamilyName() string ImageDataAvailable() bool UrlAddresses() []LabeledValue NonGregorianBirthday() foundation.DateComponents Nickname() string PhoneticOrganizationName() string ContactRelations() []LabeledValue Note() string MiddleName() string ContactType() ContactType GivenName() string SocialProfiles() []LabeledValue PhoneticMiddleName() string Identifier() string InstantMessageAddresses() []LabeledValue FamilyName() string EmailAddresses() []LabeledValue OrganizationName() string Dates() []LabeledValue }
An interface definition for the Contact class.
type IContactFetchRequest ¶
type IContactFetchRequest interface { IFetchRequest UnifyResults() bool SetUnifyResults(value bool) SortOrder() ContactSortOrder SetSortOrder(value ContactSortOrder) Predicate() foundation.Predicate SetPredicate(value foundation.IPredicate) KeysToFetch() []objc.Object SetKeysToFetch(value []objc.IObject) MutableObjects() bool SetMutableObjects(value bool) }
An interface definition for the ContactFetchRequest class.
type IContactFormatter ¶
type IContactFormatter interface { foundation.IFormatter StringFromContact(contact IContact) string AttributedStringFromContactDefaultAttributes(contact IContact, attributes foundation.Dictionary) foundation.AttributedString Style() ContactFormatterStyle SetStyle(value ContactFormatterStyle) }
An interface definition for the ContactFormatter class.
type IContactProperty ¶
type IContactProperty interface { objc.IObject Key() string Value() objc.Object Identifier() string Label() string Contact() Contact }
An interface definition for the ContactProperty class.
type IContactRelation ¶
An interface definition for the ContactRelation class.
type IContactStore ¶
type IContactStore interface { objc.IObject UnifiedContactWithIdentifierKeysToFetchError(identifier string, keys []objc.IObject, error unsafe.Pointer) Contact RequestAccessForEntityTypeCompletionHandler(entityType EntityType, completionHandler func(granted bool, error foundation.Error)) ExecuteSaveRequestError(saveRequest ISaveRequest, error unsafe.Pointer) bool DefaultContainerIdentifier() string EnumeratorForContactFetchRequestError(request IContactFetchRequest, error unsafe.Pointer) FetchResult ContainersMatchingPredicateError(predicate foundation.IPredicate, error unsafe.Pointer) []Container EnumerateContactsWithFetchRequestErrorUsingBlock(fetchRequest IContactFetchRequest, error unsafe.Pointer, block func(contact Contact, stop *bool)) bool UnifiedContactsMatchingPredicateKeysToFetchError(predicate foundation.IPredicate, keys []objc.IObject, error unsafe.Pointer) []Contact UnifiedMeContactWithKeysToFetchError(keys []objc.IObject, error unsafe.Pointer) Contact GroupsMatchingPredicateError(predicate foundation.IPredicate, error unsafe.Pointer) []Group EnumeratorForChangeHistoryFetchRequestError(request IChangeHistoryFetchRequest, error unsafe.Pointer) FetchResult CurrentHistoryToken() []byte }
An interface definition for the ContactStore class.
type IContactVCardSerialization ¶
An interface definition for the ContactVCardSerialization class.
type IContactsUserDefaults ¶
type IContactsUserDefaults interface { objc.IObject CountryCode() string SortOrder() ContactSortOrder }
An interface definition for the ContactsUserDefaults class.
type IContainer ¶
type IContainer interface { objc.IObject Type() ContainerType Identifier() string Name() string }
An interface definition for the Container class.
type IFetchRequest ¶
An interface definition for the FetchRequest class.
type IFetchResult ¶
An interface definition for the FetchResult class.
type IInstantMessageAddress ¶
An interface definition for the InstantMessageAddress class.
type ILabeledValue ¶
type ILabeledValue interface { objc.IObject Identifier() string Label() string Value() objc.Object }
An interface definition for the LabeledValue class.
type IMutableContact ¶
type IMutableContact interface { IContact SetNickname(value string) SetPreviousFamilyName(value string) SetPhoneticMiddleName(value string) SetJobTitle(value string) SetGivenName(value string) SetFamilyName(value string) SetPhoneticFamilyName(value string) SetSocialProfiles(value []ILabeledValue) SetBirthday(value foundation.IDateComponents) SetNameSuffix(value string) SetMiddleName(value string) SetContactRelations(value []ILabeledValue) SetPhoneNumbers(value []ILabeledValue) SetPhoneticOrganizationName(value string) SetOrganizationName(value string) SetPostalAddresses(value []ILabeledValue) SetImageData(value []byte) SetEmailAddresses(value []ILabeledValue) SetContactType(value ContactType) SetNote(value string) SetInstantMessageAddresses(value []ILabeledValue) SetDates(value []ILabeledValue) SetNonGregorianBirthday(value foundation.IDateComponents) SetDepartmentName(value string) SetUrlAddresses(value []ILabeledValue) SetNamePrefix(value string) SetPhoneticGivenName(value string) }
An interface definition for the MutableContact class.
type IMutableGroup ¶
An interface definition for the MutableGroup class.
type IMutablePostalAddress ¶
type IMutablePostalAddress interface { IPostalAddress SetState(value string) SetCountry(value string) SetCity(value string) SetStreet(value string) SetPostalCode(value string) SetSubLocality(value string) SetSubAdministrativeArea(value string) SetISOCountryCode(value string) }
An interface definition for the MutablePostalAddress class.
type IPhoneNumber ¶
An interface definition for the PhoneNumber class.
type IPostalAddress ¶
type IPostalAddress interface { objc.IObject SubLocality() string State() string SubAdministrativeArea() string Country() string ISOCountryCode() string City() string Street() string PostalCode() string }
An interface definition for the PostalAddress class.
type IPostalAddressFormatter ¶
type IPostalAddressFormatter interface { foundation.IFormatter AttributedStringFromPostalAddressWithDefaultAttributes(postalAddress IPostalAddress, attributes foundation.Dictionary) foundation.AttributedString StringFromPostalAddress(postalAddress IPostalAddress) string Style() PostalAddressFormatterStyle SetStyle(value PostalAddressFormatterStyle) }
An interface definition for the PostalAddressFormatter class.
type ISaveRequest ¶
type ISaveRequest interface { objc.IObject DeleteContact(contact IMutableContact) DeleteGroup(group IMutableGroup) AddGroupToContainerWithIdentifier(group IMutableGroup, identifier string) AddMemberToGroup(contact IContact, group IGroup) UpdateGroup(group IMutableGroup) RemoveMemberFromGroup(contact IContact, group IGroup) AddContactToContainerWithIdentifier(contact IMutableContact, identifier string) AddSubgroupToGroup(subgroup IGroup, group IGroup) RemoveSubgroupFromGroup(subgroup IGroup, group IGroup) UpdateContact(contact IMutableContact) TransactionAuthor() string SetTransactionAuthor(value string) ShouldRefetchContacts() bool SetShouldRefetchContacts(value bool) }
An interface definition for the SaveRequest class.
type ISocialProfile ¶
type ISocialProfile interface { objc.IObject UrlString() string Service() string Username() string UserIdentifier() string }
An interface definition for the SocialProfile class.
type InstantMessageAddress ¶
An immutable object representing an instant message address for the contact. Full Topic
func InstantMessageAddressFrom ¶
func InstantMessageAddressFrom(ptr unsafe.Pointer) InstantMessageAddress
func NewInstantMessageAddress ¶
func NewInstantMessageAddress() InstantMessageAddress
func NewInstantMessageAddressWithUsernameService ¶
func NewInstantMessageAddressWithUsernameService(username string, service string) InstantMessageAddress
Returns a CNInstantMessageAddress object initialized with the specified user name and service. Full Topic
func (InstantMessageAddress) Init ¶
func (i_ InstantMessageAddress) Init() InstantMessageAddress
func (InstantMessageAddress) InitWithUsernameService ¶
func (i_ InstantMessageAddress) InitWithUsernameService(username string, service string) InstantMessageAddress
func (InstantMessageAddress) Service ¶
func (i_ InstantMessageAddress) Service() string
The name of the instant message address service. Full Topic
func (InstantMessageAddress) Username ¶
func (i_ InstantMessageAddress) Username() string
The user name for instant message service address. Full Topic
type LabeledValue ¶
An immutable object that combines a contact property value with a label that describes that property. Full Topic
func LabeledValueFrom ¶
func LabeledValueFrom(ptr unsafe.Pointer) LabeledValue
func LabeledValue_LabeledValueBySettingLabel ¶
func LabeledValue_LabeledValueBySettingLabel(label string) LabeledValue
Returns a labeled value object with an existing value and identifier. Full Topic
func LabeledValue_LabeledValueBySettingLabelValue ¶
func LabeledValue_LabeledValueBySettingLabelValue(label string, value objc.IObject) LabeledValue
Returns a labeled value object with the specified label and value with the existing identifier. Full Topic
func LabeledValue_LabeledValueBySettingValue ¶
func LabeledValue_LabeledValueBySettingValue(value objc.IObject) LabeledValue
Returns a new value for an existing label and identifier. Full Topic
func LabeledValue_LabeledValueWithLabelValue ¶
func LabeledValue_LabeledValueWithLabelValue(label string, value objc.IObject) LabeledValue
Returns a new labeled value identifier. Full Topic
func NewLabeledValue ¶
func NewLabeledValue() LabeledValue
func NewLabeledValueWithLabelValue ¶
func NewLabeledValueWithLabelValue(label string, value objc.IObject) LabeledValue
Returns a new labeled value identifier. Full Topic
func (LabeledValue) Identifier ¶
func (l_ LabeledValue) Identifier() string
A unique identifier for the labeled value object. Full Topic
func (LabeledValue) Init ¶
func (l_ LabeledValue) Init() LabeledValue
func (LabeledValue) InitWithLabelValue ¶
func (l_ LabeledValue) InitWithLabelValue(label string, value objc.IObject) LabeledValue
func (LabeledValue) Label ¶
func (l_ LabeledValue) Label() string
The label for a contact property value. Full Topic
func (LabeledValue) LabeledValueBySettingLabel ¶
func (l_ LabeledValue) LabeledValueBySettingLabel(label string) LabeledValue
func (LabeledValue) LabeledValueBySettingLabelValue ¶
func (l_ LabeledValue) LabeledValueBySettingLabelValue(label string, value objc.IObject) LabeledValue
func (LabeledValue) LabeledValueBySettingValue ¶
func (l_ LabeledValue) LabeledValueBySettingValue(value objc.IObject) LabeledValue
func (LabeledValue) Value ¶
func (l_ LabeledValue) Value() objc.Object
A contact property value. Full Topic
type MutableContact ¶
type MutableContact struct {
Contact
}
A mutable object that stores information about a single contact, such as the contact's first name, phone numbers, and addresses. Full Topic
func MutableContactFrom ¶
func MutableContactFrom(ptr unsafe.Pointer) MutableContact
func NewMutableContact ¶
func NewMutableContact() MutableContact
func (MutableContact) Init ¶
func (m_ MutableContact) Init() MutableContact
func (MutableContact) SetBirthday ¶
func (m_ MutableContact) SetBirthday(value foundation.IDateComponents)
A date component for the Gregorian birthday of the contact. Full Topic
func (MutableContact) SetContactRelations ¶
func (m_ MutableContact) SetContactRelations(value []ILabeledValue)
An array of labeled contact relations for the contact. Full Topic
func (MutableContact) SetContactType ¶
func (m_ MutableContact) SetContactType(value ContactType)
An enum identifying the contact type. Full Topic
func (MutableContact) SetDates ¶
func (m_ MutableContact) SetDates(value []ILabeledValue)
An array containing labeled Gregorian dates. Full Topic
func (MutableContact) SetDepartmentName ¶
func (m_ MutableContact) SetDepartmentName(value string)
The name of the department associated with the contact. Full Topic
func (MutableContact) SetEmailAddresses ¶
func (m_ MutableContact) SetEmailAddresses(value []ILabeledValue)
An array of labeled email addresses for the contact. Full Topic
func (MutableContact) SetFamilyName ¶
func (m_ MutableContact) SetFamilyName(value string)
The family name of the contact. Full Topic
func (MutableContact) SetGivenName ¶
func (m_ MutableContact) SetGivenName(value string)
The given name of the contact. Full Topic
func (MutableContact) SetImageData ¶
func (m_ MutableContact) SetImageData(value []byte)
The profile picture of a contact. Full Topic
func (MutableContact) SetInstantMessageAddresses ¶
func (m_ MutableContact) SetInstantMessageAddresses(value []ILabeledValue)
An array of labeled IM addresses for the contact. Full Topic
func (MutableContact) SetJobTitle ¶
func (m_ MutableContact) SetJobTitle(value string)
The contact’s job title. Full Topic
func (MutableContact) SetMiddleName ¶
func (m_ MutableContact) SetMiddleName(value string)
The middle name of the contact. Full Topic
func (MutableContact) SetNamePrefix ¶
func (m_ MutableContact) SetNamePrefix(value string)
The name prefix of the contact. Full Topic
func (MutableContact) SetNameSuffix ¶
func (m_ MutableContact) SetNameSuffix(value string)
The name suffix of the contact. Full Topic
func (MutableContact) SetNickname ¶
func (m_ MutableContact) SetNickname(value string)
The nickname of the contact. Full Topic
func (MutableContact) SetNonGregorianBirthday ¶
func (m_ MutableContact) SetNonGregorianBirthday(value foundation.IDateComponents)
A date component for the non-Gregorian birthday of the contact. Full Topic
func (MutableContact) SetNote ¶
func (m_ MutableContact) SetNote(value string)
A string containing notes for the contact. Full Topic
func (MutableContact) SetOrganizationName ¶
func (m_ MutableContact) SetOrganizationName(value string)
The name of the organization associated with the contact. Full Topic
func (MutableContact) SetPhoneNumbers ¶
func (m_ MutableContact) SetPhoneNumbers(value []ILabeledValue)
An array of labeled phone numbers for a contact. Full Topic
func (MutableContact) SetPhoneticFamilyName ¶
func (m_ MutableContact) SetPhoneticFamilyName(value string)
The phonetic family name of the contact. Full Topic
func (MutableContact) SetPhoneticGivenName ¶
func (m_ MutableContact) SetPhoneticGivenName(value string)
The phonetic given name of the contact. Full Topic
func (MutableContact) SetPhoneticMiddleName ¶
func (m_ MutableContact) SetPhoneticMiddleName(value string)
The phonetic middle name of the contact. Full Topic
func (MutableContact) SetPhoneticOrganizationName ¶
func (m_ MutableContact) SetPhoneticOrganizationName(value string)
The phonetic name of the organization associated with the contact. Full Topic
func (MutableContact) SetPostalAddresses ¶
func (m_ MutableContact) SetPostalAddresses(value []ILabeledValue)
An array of labeled postal addresses for a contact. Full Topic
func (MutableContact) SetPreviousFamilyName ¶
func (m_ MutableContact) SetPreviousFamilyName(value string)
The previous family name of the contact. Full Topic
func (MutableContact) SetSocialProfiles ¶
func (m_ MutableContact) SetSocialProfiles(value []ILabeledValue)
An array of labeled social profiles for a contact. Full Topic
func (MutableContact) SetUrlAddresses ¶
func (m_ MutableContact) SetUrlAddresses(value []ILabeledValue)
An array of labeled URL addresses for a contact. Full Topic
type MutableGroup ¶
type MutableGroup struct {
Group
}
A mutable object that represents a group of contacts. Full Topic
func MutableGroupFrom ¶
func MutableGroupFrom(ptr unsafe.Pointer) MutableGroup
func NewMutableGroup ¶
func NewMutableGroup() MutableGroup
func (MutableGroup) Init ¶
func (m_ MutableGroup) Init() MutableGroup
func (MutableGroup) SetName ¶
func (m_ MutableGroup) SetName(value string)
The name of the group. Full Topic
type MutablePostalAddress ¶
type MutablePostalAddress struct {
PostalAddress
}
A mutable representation of the postal address for a contact. Full Topic
func MutablePostalAddressFrom ¶
func MutablePostalAddressFrom(ptr unsafe.Pointer) MutablePostalAddress
func NewMutablePostalAddress ¶
func NewMutablePostalAddress() MutablePostalAddress
func (MutablePostalAddress) Init ¶
func (m_ MutablePostalAddress) Init() MutablePostalAddress
func (MutablePostalAddress) SetCity ¶
func (m_ MutablePostalAddress) SetCity(value string)
The city name of the address. Full Topic
func (MutablePostalAddress) SetCountry ¶
func (m_ MutablePostalAddress) SetCountry(value string)
The country or region name of the address. Full Topic
func (MutablePostalAddress) SetISOCountryCode ¶
func (m_ MutablePostalAddress) SetISOCountryCode(value string)
The ISO country code, using the ISO 3166-1 alpha-2 standard. Full Topic
func (MutablePostalAddress) SetPostalCode ¶
func (m_ MutablePostalAddress) SetPostalCode(value string)
The postal code of the address. Full Topic
func (MutablePostalAddress) SetState ¶
func (m_ MutablePostalAddress) SetState(value string)
The state name of the address. Full Topic
func (MutablePostalAddress) SetStreet ¶
func (m_ MutablePostalAddress) SetStreet(value string)
The street name of the address. Full Topic
func (MutablePostalAddress) SetSubAdministrativeArea ¶
func (m_ MutablePostalAddress) SetSubAdministrativeArea(value string)
The subadministrative area (such as a county or other region) in a postal address. Full Topic
func (MutablePostalAddress) SetSubLocality ¶
func (m_ MutablePostalAddress) SetSubLocality(value string)
Additional information associated with the location, typically defined at the city or town level, in a postal address. Full Topic
type PChangeHistoryEventVisitor ¶
type PChangeHistoryEventVisitor interface { // optional VisitDropEverythingEvent(event ChangeHistoryDropEverythingEvent) HasVisitDropEverythingEvent() bool // optional VisitAddMemberToGroupEvent(event ChangeHistoryAddMemberToGroupEvent) HasVisitAddMemberToGroupEvent() bool // optional VisitRemoveSubgroupFromGroupEvent(event ChangeHistoryRemoveSubgroupFromGroupEvent) HasVisitRemoveSubgroupFromGroupEvent() bool // optional VisitDeleteContactEvent(event ChangeHistoryDeleteContactEvent) HasVisitDeleteContactEvent() bool // optional VisitAddSubgroupToGroupEvent(event ChangeHistoryAddSubgroupToGroupEvent) HasVisitAddSubgroupToGroupEvent() bool // optional VisitUpdateGroupEvent(event ChangeHistoryUpdateGroupEvent) HasVisitUpdateGroupEvent() bool // optional VisitUpdateContactEvent(event ChangeHistoryUpdateContactEvent) HasVisitUpdateContactEvent() bool // optional VisitRemoveMemberFromGroupEvent(event ChangeHistoryRemoveMemberFromGroupEvent) HasVisitRemoveMemberFromGroupEvent() bool // optional VisitAddContactEvent(event ChangeHistoryAddContactEvent) HasVisitAddContactEvent() bool // optional VisitDeleteGroupEvent(event ChangeHistoryDeleteGroupEvent) HasVisitDeleteGroupEvent() bool // optional VisitAddGroupEvent(event ChangeHistoryAddGroupEvent) HasVisitAddGroupEvent() bool }
[Full Topic]
type PhoneNumber ¶
An immutable object representing a phone number for a contact. Full Topic
func NewPhoneNumber ¶
func NewPhoneNumber() PhoneNumber
func NewPhoneNumberWithStringValue ¶
func NewPhoneNumberWithStringValue(string_ string) PhoneNumber
Returns a new phone number object initialized with the specified phone number string. Full Topic
func PhoneNumberFrom ¶
func PhoneNumberFrom(ptr unsafe.Pointer) PhoneNumber
func PhoneNumber_PhoneNumberWithStringValue ¶
func PhoneNumber_PhoneNumberWithStringValue(stringValue string) PhoneNumber
Returns a new phone number object initialized with the specified phone number string. Full Topic
func (PhoneNumber) Init ¶
func (p_ PhoneNumber) Init() PhoneNumber
func (PhoneNumber) InitWithStringValue ¶
func (p_ PhoneNumber) InitWithStringValue(string_ string) PhoneNumber
func (PhoneNumber) StringValue ¶
func (p_ PhoneNumber) StringValue() string
The string value of the phone number. Full Topic
type PostalAddress ¶
An immutable representation of the postal address for a contact. Full Topic
func NewPostalAddress ¶
func NewPostalAddress() PostalAddress
func PostalAddressFrom ¶
func PostalAddressFrom(ptr unsafe.Pointer) PostalAddress
func (PostalAddress) City ¶
func (p_ PostalAddress) City() string
The city name in a postal address. Full Topic
func (PostalAddress) Country ¶
func (p_ PostalAddress) Country() string
The country or region name in a postal address. Full Topic
func (PostalAddress) ISOCountryCode ¶
func (p_ PostalAddress) ISOCountryCode() string
The ISO country code for the country or region in a postal address, using the ISO 3166-1 alpha-2 standard. Full Topic
func (PostalAddress) Init ¶
func (p_ PostalAddress) Init() PostalAddress
func (PostalAddress) PostalCode ¶
func (p_ PostalAddress) PostalCode() string
The postal code in a postal address. Full Topic
func (PostalAddress) State ¶
func (p_ PostalAddress) State() string
The state name in a postal address. Full Topic
func (PostalAddress) Street ¶
func (p_ PostalAddress) Street() string
The street name in a postal address. Full Topic
func (PostalAddress) SubAdministrativeArea ¶
func (p_ PostalAddress) SubAdministrativeArea() string
The subadministrative area (such as a county or other region) in a postal address. Full Topic
func (PostalAddress) SubLocality ¶
func (p_ PostalAddress) SubLocality() string
Additional information associated with the location, typically defined at the city or town level, in a postal address. Full Topic
type PostalAddressFormatter ¶
type PostalAddressFormatter struct {
foundation.Formatter
}
An object that you use to format a contact's postal addresses. Full Topic
func NewPostalAddressFormatter ¶
func NewPostalAddressFormatter() PostalAddressFormatter
func PostalAddressFormatterFrom ¶
func PostalAddressFormatterFrom(ptr unsafe.Pointer) PostalAddressFormatter
func (PostalAddressFormatter) AttributedStringFromPostalAddressWithDefaultAttributes ¶
func (p_ PostalAddressFormatter) AttributedStringFromPostalAddressWithDefaultAttributes(postalAddress IPostalAddress, attributes foundation.Dictionary) foundation.AttributedString
Returns a formatted postal address as an attributed string. Full Topic
func (PostalAddressFormatter) Init ¶
func (p_ PostalAddressFormatter) Init() PostalAddressFormatter
func (PostalAddressFormatter) SetStyle ¶
func (p_ PostalAddressFormatter) SetStyle(value PostalAddressFormatterStyle)
The style to apply when formatting strings. Full Topic
func (PostalAddressFormatter) StringFromPostalAddress ¶
func (p_ PostalAddressFormatter) StringFromPostalAddress(postalAddress IPostalAddress) string
Returns a formatted postal address. Full Topic
func (PostalAddressFormatter) Style ¶
func (p_ PostalAddressFormatter) Style() PostalAddressFormatterStyle
The style to apply when formatting strings. Full Topic
type PostalAddressFormatterStyle ¶
type PostalAddressFormatterStyle int
Constants for postal formatting styles. Full Topic
const (
PostalAddressFormatterStyleMailingAddress PostalAddressFormatterStyle = 0
)
type SaveRequest ¶
An object that collects the changes you want to save to the user's contacts database. Full Topic
func NewSaveRequest ¶
func NewSaveRequest() SaveRequest
func SaveRequestFrom ¶
func SaveRequestFrom(ptr unsafe.Pointer) SaveRequest
func (SaveRequest) AddContactToContainerWithIdentifier ¶
func (s_ SaveRequest) AddContactToContainerWithIdentifier(contact IMutableContact, identifier string)
Adds the specified contact to the contact store. Full Topic
func (SaveRequest) AddGroupToContainerWithIdentifier ¶
func (s_ SaveRequest) AddGroupToContainerWithIdentifier(group IMutableGroup, identifier string)
Adds a group to the contact store. Full Topic
func (SaveRequest) AddMemberToGroup ¶
func (s_ SaveRequest) AddMemberToGroup(contact IContact, group IGroup)
Adds a contact as a member of a group. Full Topic
func (SaveRequest) AddSubgroupToGroup ¶
func (s_ SaveRequest) AddSubgroupToGroup(subgroup IGroup, group IGroup)
Add the specified group to a parent group. Full Topic
func (SaveRequest) DeleteContact ¶
func (s_ SaveRequest) DeleteContact(contact IMutableContact)
Deletes a contact from the contact store. Full Topic
func (SaveRequest) DeleteGroup ¶
func (s_ SaveRequest) DeleteGroup(group IMutableGroup)
Deletes a group from the contact store. Full Topic
func (SaveRequest) Init ¶
func (s_ SaveRequest) Init() SaveRequest
func (SaveRequest) RemoveMemberFromGroup ¶
func (s_ SaveRequest) RemoveMemberFromGroup(contact IContact, group IGroup)
Removes a contact as a member of a group. Full Topic
func (SaveRequest) RemoveSubgroupFromGroup ¶
func (s_ SaveRequest) RemoveSubgroupFromGroup(subgroup IGroup, group IGroup)
Remove a subgroup from the specified parent group. Full Topic
func (SaveRequest) SetShouldRefetchContacts ¶
func (s_ SaveRequest) SetShouldRefetchContacts(value bool)
[Full Topic]
func (SaveRequest) SetTransactionAuthor ¶
func (s_ SaveRequest) SetTransactionAuthor(value string)
[Full Topic]
func (SaveRequest) ShouldRefetchContacts ¶
func (s_ SaveRequest) ShouldRefetchContacts() bool
[Full Topic]
func (SaveRequest) TransactionAuthor ¶
func (s_ SaveRequest) TransactionAuthor() string
[Full Topic]
func (SaveRequest) UpdateContact ¶
func (s_ SaveRequest) UpdateContact(contact IMutableContact)
Updates an existing contact in the contact store. Full Topic
func (SaveRequest) UpdateGroup ¶
func (s_ SaveRequest) UpdateGroup(group IMutableGroup)
Updates an existing group in the contact store. Full Topic
type SocialProfile ¶
An immutable object that represents one of the user's social profiles. Full Topic
func NewSocialProfile ¶
func NewSocialProfile() SocialProfile
func NewSocialProfileWithUrlStringUsernameUserIdentifierService ¶
func NewSocialProfileWithUrlStringUsernameUserIdentifierService(urlString string, username string, userIdentifier string, service string) SocialProfile
Initializes a new social profile object with the specified URL. Full Topic
func SocialProfileFrom ¶
func SocialProfileFrom(ptr unsafe.Pointer) SocialProfile
func (SocialProfile) Init ¶
func (s_ SocialProfile) Init() SocialProfile
func (SocialProfile) InitWithUrlStringUsernameUserIdentifierService ¶
func (s_ SocialProfile) InitWithUrlStringUsernameUserIdentifierService(urlString string, username string, userIdentifier string, service string) SocialProfile
func (SocialProfile) Service ¶
func (s_ SocialProfile) Service() string
The social profile’s service name. Full Topic
func (SocialProfile) UrlString ¶
func (s_ SocialProfile) UrlString() string
The URL associated with the social profile. Full Topic
func (SocialProfile) UserIdentifier ¶
func (s_ SocialProfile) UserIdentifier() string
The service’s user identifier associated with the social profile. Full Topic
func (SocialProfile) Username ¶
func (s_ SocialProfile) Username() string
The user name for the social profile. Full Topic
Source Files
¶
- change_history_add_contact_event.gen.go
- change_history_add_group_event.gen.go
- change_history_add_member_to_group_event.gen.go
- change_history_add_subgroup_to_group_event.gen.go
- change_history_delete_contact_event.gen.go
- change_history_delete_group_event.gen.go
- change_history_drop_everything_event.gen.go
- change_history_event.gen.go
- change_history_event_visitor_protocol.gen.go
- change_history_fetch_request.gen.go
- change_history_remove_member_from_group_event.gen.go
- change_history_remove_subgroup_from_group_event.gen.go
- change_history_update_contact_event.gen.go
- change_history_update_group_event.gen.go
- contact.gen.go
- contact_fetch_request.gen.go
- contact_formatter.gen.go
- contact_property.gen.go
- contact_relation.gen.go
- contact_store.gen.go
- contact_v_card_serialization.gen.go
- contacts.go
- contacts_user_defaults.gen.go
- container.gen.go
- doc.gen.go
- enumtypes.gen.go
- fetch_request.gen.go
- fetch_result.gen.go
- group.gen.go
- instant_message_address.gen.go
- labeled_value.gen.go
- mutable_contact.gen.go
- mutable_group.gen.go
- mutable_postal_address.gen.go
- phone_number.gen.go
- postal_address.gen.go
- postal_address_formatter.gen.go
- save_request.gen.go
- social_profile.gen.go