Documentation
¶
Overview ¶
Store structured app and user data in iCloud containers that all users of your app can share.
Index ¶
- Variables
- type AcceptSharesOperation
- func (a_ AcceptSharesOperation) AcceptSharesCompletionBlock() func(operationError foundation.Error)
- func (a_ AcceptSharesOperation) Init() AcceptSharesOperation
- func (a_ AcceptSharesOperation) InitWithShareMetadatas(shareMetadatas []IShareMetadata) AcceptSharesOperation
- func (a_ AcceptSharesOperation) PerShareCompletionBlock() func(shareMetadata ShareMetadata, acceptedShare Share, error foundation.Error)
- func (a_ AcceptSharesOperation) SetAcceptSharesCompletionBlock(value func(operationError foundation.Error))
- func (a_ AcceptSharesOperation) SetPerShareCompletionBlock(...)
- func (a_ AcceptSharesOperation) SetShareMetadatas(value []IShareMetadata)
- func (a_ AcceptSharesOperation) ShareMetadatas() []ShareMetadata
- type AccountStatus
- type ApplicationPermissionBlock
- type ApplicationPermissionStatus
- type ApplicationPermissions
- type Asset
- type Container
- func (c_ Container) AcceptShareMetadataCompletionHandler(metadata IShareMetadata, ...)
- func (c_ Container) AccountStatusWithCompletionHandler(completionHandler func(accountStatus AccountStatus, error foundation.Error))
- func (c_ Container) AddOperation(operation IOperation)
- func (c_ Container) ContainerIdentifier() string
- func (c_ Container) DatabaseWithDatabaseScope(databaseScope DatabaseScope) Database
- func (c_ Container) FetchAllLongLivedOperationIDsWithCompletionHandler(...)
- func (c_ Container) FetchLongLivedOperationWithIDCompletionHandler(operationID OperationID, ...)
- func (c_ Container) FetchShareMetadataWithURLCompletionHandler(url foundation.IURL, ...)
- func (c_ Container) FetchShareParticipantWithEmailAddressCompletionHandler(emailAddress string, ...)
- func (c_ Container) FetchShareParticipantWithPhoneNumberCompletionHandler(phoneNumber string, ...)
- func (c_ Container) FetchShareParticipantWithUserRecordIDCompletionHandler(userRecordID IRecordID, ...)
- func (c_ Container) FetchUserRecordIDWithCompletionHandler(completionHandler func(recordID RecordID, error foundation.Error))
- func (c_ Container) Init() Container
- func (c_ Container) PrivateCloudDatabase() Database
- func (c_ Container) PublicCloudDatabase() Database
- func (c_ Container) SharedCloudDatabase() Database
- type Database
- func (d_ Database) AddOperation(operation IDatabaseOperation)
- func (d_ Database) DatabaseScope() DatabaseScope
- func (d_ Database) DeleteRecordWithIDCompletionHandler(recordID IRecordID, ...)
- func (d_ Database) DeleteRecordZoneWithIDCompletionHandler(zoneID IRecordZoneID, ...)
- func (d_ Database) DeleteSubscriptionWithIDCompletionHandler(subscriptionID SubscriptionID, ...)
- func (d_ Database) FetchAllRecordZonesWithCompletionHandler(completionHandler func(zones []RecordZone, error foundation.Error))
- func (d_ Database) FetchAllSubscriptionsWithCompletionHandler(completionHandler func(subscriptions []Subscription, error foundation.Error))
- func (d_ Database) FetchRecordWithIDCompletionHandler(recordID IRecordID, ...)
- func (d_ Database) FetchRecordZoneWithIDCompletionHandler(zoneID IRecordZoneID, ...)
- func (d_ Database) FetchSubscriptionWithIDCompletionHandler(subscriptionID SubscriptionID, ...)
- func (d_ Database) Init() Database
- func (d_ Database) PerformQueryInZoneWithIDCompletionHandler(query IQuery, zoneID IRecordZoneID, ...)
- func (d_ Database) SaveRecordCompletionHandler(record IRecord, completionHandler func(record Record, error foundation.Error))
- func (d_ Database) SaveRecordZoneCompletionHandler(zone IRecordZone, ...)
- func (d_ Database) SaveSubscriptionCompletionHandler(subscription ISubscription, ...)
- type DatabaseNotification
- type DatabaseOperation
- type DatabaseScope
- type DatabaseSubscription
- type DiscoverAllUserIdentitiesOperation
- type DiscoverUserIdentitiesOperation
- type ErrorCode
- type FetchDatabaseChangesOperation
- func FetchDatabaseChangesOperationFrom(ptr unsafe.Pointer) FetchDatabaseChangesOperation
- func NewFetchDatabaseChangesOperation() FetchDatabaseChangesOperation
- func NewFetchDatabaseChangesOperationWithPreviousServerChangeToken(previousServerChangeToken IServerChangeToken) FetchDatabaseChangesOperation
- func (f_ FetchDatabaseChangesOperation) ChangeTokenUpdatedBlock() func(serverChangeToken ServerChangeToken)
- func (f_ FetchDatabaseChangesOperation) FetchAllChanges() bool
- func (f_ FetchDatabaseChangesOperation) FetchDatabaseChangesCompletionBlock() func(serverChangeToken ServerChangeToken, moreComing bool, ...)
- func (f_ FetchDatabaseChangesOperation) Init() FetchDatabaseChangesOperation
- func (f_ FetchDatabaseChangesOperation) InitWithPreviousServerChangeToken(previousServerChangeToken IServerChangeToken) FetchDatabaseChangesOperation
- func (f_ FetchDatabaseChangesOperation) PreviousServerChangeToken() ServerChangeToken
- func (f_ FetchDatabaseChangesOperation) RecordZoneWithIDChangedBlock() func(zoneID RecordZoneID)
- func (f_ FetchDatabaseChangesOperation) RecordZoneWithIDWasDeletedBlock() func(zoneID RecordZoneID)
- func (f_ FetchDatabaseChangesOperation) RecordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock() func(zoneID RecordZoneID)
- func (f_ FetchDatabaseChangesOperation) RecordZoneWithIDWasPurgedBlock() func(zoneID RecordZoneID)
- func (f_ FetchDatabaseChangesOperation) ResultsLimit() uint
- func (f_ FetchDatabaseChangesOperation) SetChangeTokenUpdatedBlock(value func(serverChangeToken ServerChangeToken))
- func (f_ FetchDatabaseChangesOperation) SetFetchAllChanges(value bool)
- func (f_ FetchDatabaseChangesOperation) SetFetchDatabaseChangesCompletionBlock(value func(serverChangeToken ServerChangeToken, moreComing bool, ...))
- func (f_ FetchDatabaseChangesOperation) SetPreviousServerChangeToken(value IServerChangeToken)
- func (f_ FetchDatabaseChangesOperation) SetRecordZoneWithIDChangedBlock(value func(zoneID RecordZoneID))
- func (f_ FetchDatabaseChangesOperation) SetRecordZoneWithIDWasDeletedBlock(value func(zoneID RecordZoneID))
- func (f_ FetchDatabaseChangesOperation) SetRecordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock(value func(zoneID RecordZoneID))
- func (f_ FetchDatabaseChangesOperation) SetRecordZoneWithIDWasPurgedBlock(value func(zoneID RecordZoneID))
- func (f_ FetchDatabaseChangesOperation) SetResultsLimit(value uint)
- type FetchNotificationChangesOperation
- type FetchRecordChangesOperation
- type FetchRecordZoneChangesConfiguration
- func (f_ FetchRecordZoneChangesConfiguration) DesiredKeys() []RecordFieldKey
- func (f_ FetchRecordZoneChangesConfiguration) Init() FetchRecordZoneChangesConfiguration
- func (f_ FetchRecordZoneChangesConfiguration) PreviousServerChangeToken() ServerChangeToken
- func (f_ FetchRecordZoneChangesConfiguration) ResultsLimit() uint
- func (f_ FetchRecordZoneChangesConfiguration) SetDesiredKeys(value []RecordFieldKey)
- func (f_ FetchRecordZoneChangesConfiguration) SetPreviousServerChangeToken(value IServerChangeToken)
- func (f_ FetchRecordZoneChangesConfiguration) SetResultsLimit(value uint)
- type FetchRecordZoneChangesOperation
- func FetchRecordZoneChangesOperationFrom(ptr unsafe.Pointer) FetchRecordZoneChangesOperation
- func NewFetchRecordZoneChangesOperation() FetchRecordZoneChangesOperation
- func NewFetchRecordZoneChangesOperationWithRecordZoneIDsConfigurationsByRecordZoneID(recordZoneIDs []IRecordZoneID, ...) FetchRecordZoneChangesOperation
- func (f_ FetchRecordZoneChangesOperation) ConfigurationsByRecordZoneID() foundation.Dictionary
- func (f_ FetchRecordZoneChangesOperation) FetchAllChanges() bool
- func (f_ FetchRecordZoneChangesOperation) FetchRecordZoneChangesCompletionBlock() func(operationError foundation.Error)
- func (f_ FetchRecordZoneChangesOperation) Init() FetchRecordZoneChangesOperation
- func (f_ FetchRecordZoneChangesOperation) InitWithRecordZoneIDsConfigurationsByRecordZoneID(recordZoneIDs []IRecordZoneID, ...) FetchRecordZoneChangesOperation
- func (f_ FetchRecordZoneChangesOperation) RecordWasChangedBlock() func(recordID RecordID, record Record, error foundation.Error)
- func (f_ FetchRecordZoneChangesOperation) RecordWithIDWasDeletedBlock() func(recordID RecordID, recordType RecordType)
- func (f_ FetchRecordZoneChangesOperation) RecordZoneChangeTokensUpdatedBlock() func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, ...)
- func (f_ FetchRecordZoneChangesOperation) RecordZoneFetchCompletionBlock() func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, ...)
- func (f_ FetchRecordZoneChangesOperation) RecordZoneIDs() []RecordZoneID
- func (f_ FetchRecordZoneChangesOperation) SetConfigurationsByRecordZoneID(value foundation.Dictionary)
- func (f_ FetchRecordZoneChangesOperation) SetFetchAllChanges(value bool)
- func (f_ FetchRecordZoneChangesOperation) SetFetchRecordZoneChangesCompletionBlock(value func(operationError foundation.Error))
- func (f_ FetchRecordZoneChangesOperation) SetRecordWasChangedBlock(value func(recordID RecordID, record Record, error foundation.Error))
- func (f_ FetchRecordZoneChangesOperation) SetRecordWithIDWasDeletedBlock(value func(recordID RecordID, recordType RecordType))
- func (f_ FetchRecordZoneChangesOperation) SetRecordZoneChangeTokensUpdatedBlock(...)
- func (f_ FetchRecordZoneChangesOperation) SetRecordZoneFetchCompletionBlock(...)
- func (f_ FetchRecordZoneChangesOperation) SetRecordZoneIDs(value []IRecordZoneID)
- type FetchRecordZoneChangesOptions
- type FetchRecordZonesOperation
- func FetchRecordZonesOperationFrom(ptr unsafe.Pointer) FetchRecordZonesOperation
- func FetchRecordZonesOperation_FetchAllRecordZonesOperation() FetchRecordZonesOperation
- func NewFetchRecordZonesOperation() FetchRecordZonesOperation
- func NewFetchRecordZonesOperationWithRecordZoneIDs(zoneIDs []IRecordZoneID) FetchRecordZonesOperation
- func (f_ FetchRecordZonesOperation) FetchRecordZonesCompletionBlock() ...
- func (f_ FetchRecordZonesOperation) Init() FetchRecordZonesOperation
- func (f_ FetchRecordZonesOperation) InitWithRecordZoneIDs(zoneIDs []IRecordZoneID) FetchRecordZonesOperation
- func (f_ FetchRecordZonesOperation) PerRecordZoneCompletionBlock() func(zoneID RecordZoneID, recordZone RecordZone, error foundation.Error)
- func (f_ FetchRecordZonesOperation) RecordZoneIDs() []RecordZoneID
- func (f_ FetchRecordZonesOperation) SetFetchRecordZonesCompletionBlock(...)
- func (f_ FetchRecordZonesOperation) SetPerRecordZoneCompletionBlock(value func(zoneID RecordZoneID, recordZone RecordZone, error foundation.Error))
- func (f_ FetchRecordZonesOperation) SetRecordZoneIDs(value []IRecordZoneID)
- type FetchRecordsOperation
- func (f_ FetchRecordsOperation) DesiredKeys() []RecordFieldKey
- func (f_ FetchRecordsOperation) FetchRecordsCompletionBlock() func(recordsByRecordID foundation.Dictionary, operationError foundation.Error)
- func (f_ FetchRecordsOperation) Init() FetchRecordsOperation
- func (f_ FetchRecordsOperation) InitWithRecordIDs(recordIDs []IRecordID) FetchRecordsOperation
- func (f_ FetchRecordsOperation) PerRecordCompletionBlock() func(record Record, recordID RecordID, error foundation.Error)
- func (f_ FetchRecordsOperation) PerRecordProgressBlock() func(recordID RecordID, progress float64)
- func (f_ FetchRecordsOperation) RecordIDs() []RecordID
- func (f_ FetchRecordsOperation) SetDesiredKeys(value []RecordFieldKey)
- func (f_ FetchRecordsOperation) SetFetchRecordsCompletionBlock(...)
- func (f_ FetchRecordsOperation) SetPerRecordCompletionBlock(value func(record Record, recordID RecordID, error foundation.Error))
- func (f_ FetchRecordsOperation) SetPerRecordProgressBlock(value func(recordID RecordID, progress float64))
- func (f_ FetchRecordsOperation) SetRecordIDs(value []IRecordID)
- type FetchShareMetadataOperation
- func (f_ FetchShareMetadataOperation) FetchShareMetadataCompletionBlock() func(operationError foundation.Error)
- func (f_ FetchShareMetadataOperation) Init() FetchShareMetadataOperation
- func (f_ FetchShareMetadataOperation) InitWithShareURLs(shareURLs []foundation.IURL) FetchShareMetadataOperation
- func (f_ FetchShareMetadataOperation) PerShareMetadataBlock() ...
- func (f_ FetchShareMetadataOperation) RootRecordDesiredKeys() []RecordFieldKey
- func (f_ FetchShareMetadataOperation) SetFetchShareMetadataCompletionBlock(value func(operationError foundation.Error))
- func (f_ FetchShareMetadataOperation) SetPerShareMetadataBlock(...)
- func (f_ FetchShareMetadataOperation) SetRootRecordDesiredKeys(value []RecordFieldKey)
- func (f_ FetchShareMetadataOperation) SetShareURLs(value []foundation.IURL)
- func (f_ FetchShareMetadataOperation) SetShouldFetchRootRecord(value bool)
- func (f_ FetchShareMetadataOperation) ShareURLs() []foundation.URL
- func (f_ FetchShareMetadataOperation) ShouldFetchRootRecord() bool
- type FetchShareParticipantsOperation
- func FetchShareParticipantsOperationFrom(ptr unsafe.Pointer) FetchShareParticipantsOperation
- func NewFetchShareParticipantsOperation() FetchShareParticipantsOperation
- func NewFetchShareParticipantsOperationWithUserIdentityLookupInfos(userIdentityLookupInfos []IUserIdentityLookupInfo) FetchShareParticipantsOperation
- func (f_ FetchShareParticipantsOperation) FetchShareParticipantsCompletionBlock() func(operationError foundation.Error)
- func (f_ FetchShareParticipantsOperation) Init() FetchShareParticipantsOperation
- func (f_ FetchShareParticipantsOperation) InitWithUserIdentityLookupInfos(userIdentityLookupInfos []IUserIdentityLookupInfo) FetchShareParticipantsOperation
- func (f_ FetchShareParticipantsOperation) PerShareParticipantCompletionBlock() func(lookupInfo UserIdentityLookupInfo, participant ShareParticipant, ...)
- func (f_ FetchShareParticipantsOperation) SetFetchShareParticipantsCompletionBlock(value func(operationError foundation.Error))
- func (f_ FetchShareParticipantsOperation) SetPerShareParticipantCompletionBlock(...)
- func (f_ FetchShareParticipantsOperation) SetUserIdentityLookupInfos(value []IUserIdentityLookupInfo)
- func (f_ FetchShareParticipantsOperation) UserIdentityLookupInfos() []UserIdentityLookupInfo
- type FetchSubscriptionsOperation
- func FetchSubscriptionsOperationFrom(ptr unsafe.Pointer) FetchSubscriptionsOperation
- func FetchSubscriptionsOperation_FetchAllSubscriptionsOperation() FetchSubscriptionsOperation
- func NewFetchSubscriptionsOperation() FetchSubscriptionsOperation
- func NewFetchSubscriptionsOperationWithSubscriptionIDs(subscriptionIDs []SubscriptionID) FetchSubscriptionsOperation
- func (f_ FetchSubscriptionsOperation) FetchSubscriptionCompletionBlock() func(subscriptionsBySubscriptionID map[SubscriptionID]Subscription, ...)
- func (f_ FetchSubscriptionsOperation) Init() FetchSubscriptionsOperation
- func (f_ FetchSubscriptionsOperation) InitWithSubscriptionIDs(subscriptionIDs []SubscriptionID) FetchSubscriptionsOperation
- func (f_ FetchSubscriptionsOperation) PerSubscriptionCompletionBlock() func(subscriptionID SubscriptionID, subscription Subscription, ...)
- func (f_ FetchSubscriptionsOperation) SetFetchSubscriptionCompletionBlock(value func(subscriptionsBySubscriptionID map[SubscriptionID]Subscription, ...))
- func (f_ FetchSubscriptionsOperation) SetPerSubscriptionCompletionBlock(value func(subscriptionID SubscriptionID, subscription Subscription, ...))
- func (f_ FetchSubscriptionsOperation) SetSubscriptionIDs(value []SubscriptionID)
- func (f_ FetchSubscriptionsOperation) SubscriptionIDs() []SubscriptionID
- type FetchWebAuthTokenOperation
- func (f_ FetchWebAuthTokenOperation) APIToken() string
- func (f_ FetchWebAuthTokenOperation) FetchWebAuthTokenCompletionBlock() func(webAuthToken string, operationError foundation.Error)
- func (f_ FetchWebAuthTokenOperation) Init() FetchWebAuthTokenOperation
- func (f_ FetchWebAuthTokenOperation) InitWithAPIToken(APIToken string) FetchWebAuthTokenOperation
- func (f_ FetchWebAuthTokenOperation) SetAPIToken(value string)
- func (f_ FetchWebAuthTokenOperation) SetFetchWebAuthTokenCompletionBlock(value func(webAuthToken string, operationError foundation.Error))
- type IAcceptSharesOperation
- type IAsset
- type IContainer
- type IDatabase
- type IDatabaseNotification
- type IDatabaseOperation
- type IDatabaseSubscription
- type IDiscoverAllUserIdentitiesOperation
- type IDiscoverUserIdentitiesOperation
- type IFetchDatabaseChangesOperation
- type IFetchNotificationChangesOperation
- type IFetchRecordChangesOperation
- type IFetchRecordZoneChangesConfiguration
- type IFetchRecordZoneChangesOperation
- type IFetchRecordZoneChangesOptions
- type IFetchRecordZonesOperation
- type IFetchRecordsOperation
- type IFetchShareMetadataOperation
- type IFetchShareParticipantsOperation
- type IFetchSubscriptionsOperation
- type IFetchWebAuthTokenOperation
- type ILocationSortDescriptor
- type IMarkNotificationsReadOperation
- type IModifyBadgeOperation
- type IModifyRecordZonesOperation
- type IModifyRecordsOperation
- type IModifySubscriptionsOperation
- type INotification
- type INotificationID
- type INotificationInfo
- type IOperation
- type IOperationConfiguration
- type IOperationGroup
- type IQuery
- type IQueryCursor
- type IQueryNotification
- type IQueryOperation
- type IQuerySubscription
- type IRecord
- type IRecordID
- type IRecordZone
- type IRecordZoneID
- type IRecordZoneNotification
- type IRecordZoneSubscription
- type IReference
- type IServerChangeToken
- type IShare
- type IShareMetadata
- type IShareParticipant
- type ISubscription
- type IUserIdentity
- type IUserIdentityLookupInfo
- type LocationSortDescriptor
- func LocationSortDescriptorFrom(ptr unsafe.Pointer) LocationSortDescriptor
- func LocationSortDescriptor_SortDescriptorWithKeyAscending(key string, ascending bool) LocationSortDescriptor
- func LocationSortDescriptor_SortDescriptorWithKeyAscendingComparator(key string, ascending bool, cmptr foundation.Comparator) LocationSortDescriptor
- func LocationSortDescriptor_SortDescriptorWithKeyAscendingSelector(key string, ascending bool, selector objc.Selector) LocationSortDescriptor
- func NewLocationSortDescriptor() LocationSortDescriptor
- func NewLocationSortDescriptorWithKeyAscending(key string, ascending bool) LocationSortDescriptor
- func NewLocationSortDescriptorWithKeyAscendingComparator(key string, ascending bool, cmptr foundation.Comparator) LocationSortDescriptor
- func NewLocationSortDescriptorWithKeyAscendingSelector(key string, ascending bool, selector objc.Selector) LocationSortDescriptor
- func NewLocationSortDescriptorWithKeyRelativeLocation(key string, relativeLocation objc.IObject) LocationSortDescriptor
- func (l_ LocationSortDescriptor) Init() LocationSortDescriptor
- func (l_ LocationSortDescriptor) InitWithKeyAscending(key string, ascending bool) LocationSortDescriptor
- func (l_ LocationSortDescriptor) InitWithKeyAscendingComparator(key string, ascending bool, cmptr foundation.Comparator) LocationSortDescriptor
- func (l_ LocationSortDescriptor) InitWithKeyAscendingSelector(key string, ascending bool, selector objc.Selector) LocationSortDescriptor
- func (l_ LocationSortDescriptor) InitWithKeyRelativeLocation(key string, relativeLocation objc.IObject) LocationSortDescriptor
- func (l_ LocationSortDescriptor) RelativeLocation() objc.Object
- type MarkNotificationsReadOperation
- type ModifyBadgeOperation
- type ModifyRecordZonesOperation
- func ModifyRecordZonesOperationFrom(ptr unsafe.Pointer) ModifyRecordZonesOperation
- func NewModifyRecordZonesOperation() ModifyRecordZonesOperation
- func NewModifyRecordZonesOperationWithRecordZonesToSaveRecordZoneIDsToDelete(recordZonesToSave []IRecordZone, recordZoneIDsToDelete []IRecordZoneID) ModifyRecordZonesOperation
- func (m_ ModifyRecordZonesOperation) Init() ModifyRecordZonesOperation
- func (m_ ModifyRecordZonesOperation) InitWithRecordZonesToSaveRecordZoneIDsToDelete(recordZonesToSave []IRecordZone, recordZoneIDsToDelete []IRecordZoneID) ModifyRecordZonesOperation
- func (m_ ModifyRecordZonesOperation) ModifyRecordZonesCompletionBlock() func(savedRecordZones []RecordZone, deletedRecordZoneIDs []RecordZoneID, ...)
- func (m_ ModifyRecordZonesOperation) PerRecordZoneDeleteBlock() func(recordZoneID RecordZoneID, error foundation.Error)
- func (m_ ModifyRecordZonesOperation) PerRecordZoneSaveBlock() func(recordZoneID RecordZoneID, recordZone RecordZone, error foundation.Error)
- func (m_ ModifyRecordZonesOperation) RecordZoneIDsToDelete() []RecordZoneID
- func (m_ ModifyRecordZonesOperation) RecordZonesToSave() []RecordZone
- func (m_ ModifyRecordZonesOperation) SetModifyRecordZonesCompletionBlock(...)
- func (m_ ModifyRecordZonesOperation) SetPerRecordZoneDeleteBlock(value func(recordZoneID RecordZoneID, error foundation.Error))
- func (m_ ModifyRecordZonesOperation) SetPerRecordZoneSaveBlock(...)
- func (m_ ModifyRecordZonesOperation) SetRecordZoneIDsToDelete(value []IRecordZoneID)
- func (m_ ModifyRecordZonesOperation) SetRecordZonesToSave(value []IRecordZone)
- type ModifyRecordsOperation
- func (m_ ModifyRecordsOperation) Atomic() bool
- func (m_ ModifyRecordsOperation) ClientChangeTokenData() []byte
- func (m_ ModifyRecordsOperation) Init() ModifyRecordsOperation
- func (m_ ModifyRecordsOperation) InitWithRecordsToSaveRecordIDsToDelete(records []IRecord, recordIDs []IRecordID) ModifyRecordsOperation
- func (m_ ModifyRecordsOperation) ModifyRecordsCompletionBlock() func(savedRecords []Record, deletedRecordIDs []RecordID, ...)
- func (m_ ModifyRecordsOperation) PerRecordDeleteBlock() func(recordID RecordID, error foundation.Error)
- func (m_ ModifyRecordsOperation) PerRecordProgressBlock() func(record Record, progress float64)
- func (m_ ModifyRecordsOperation) PerRecordSaveBlock() func(recordID RecordID, record Record, error foundation.Error)
- func (m_ ModifyRecordsOperation) RecordIDsToDelete() []RecordID
- func (m_ ModifyRecordsOperation) RecordsToSave() []Record
- func (m_ ModifyRecordsOperation) SavePolicy() RecordSavePolicy
- func (m_ ModifyRecordsOperation) SetAtomic(value bool)
- func (m_ ModifyRecordsOperation) SetClientChangeTokenData(value []byte)
- func (m_ ModifyRecordsOperation) SetModifyRecordsCompletionBlock(value func(savedRecords []Record, deletedRecordIDs []RecordID, ...))
- func (m_ ModifyRecordsOperation) SetPerRecordDeleteBlock(value func(recordID RecordID, error foundation.Error))
- func (m_ ModifyRecordsOperation) SetPerRecordProgressBlock(value func(record Record, progress float64))
- func (m_ ModifyRecordsOperation) SetPerRecordSaveBlock(value func(recordID RecordID, record Record, error foundation.Error))
- func (m_ ModifyRecordsOperation) SetRecordIDsToDelete(value []IRecordID)
- func (m_ ModifyRecordsOperation) SetRecordsToSave(value []IRecord)
- func (m_ ModifyRecordsOperation) SetSavePolicy(value RecordSavePolicy)
- type ModifySubscriptionsOperation
- func ModifySubscriptionsOperationFrom(ptr unsafe.Pointer) ModifySubscriptionsOperation
- func NewModifySubscriptionsOperation() ModifySubscriptionsOperation
- func NewModifySubscriptionsOperationWithSubscriptionsToSaveSubscriptionIDsToDelete(subscriptionsToSave []ISubscription, subscriptionIDsToDelete []SubscriptionID) ModifySubscriptionsOperation
- func (m_ ModifySubscriptionsOperation) Init() ModifySubscriptionsOperation
- func (m_ ModifySubscriptionsOperation) InitWithSubscriptionsToSaveSubscriptionIDsToDelete(subscriptionsToSave []ISubscription, subscriptionIDsToDelete []SubscriptionID) ModifySubscriptionsOperation
- func (m_ ModifySubscriptionsOperation) ModifySubscriptionsCompletionBlock() ...
- func (m_ ModifySubscriptionsOperation) PerSubscriptionDeleteBlock() func(subscriptionID SubscriptionID, error foundation.Error)
- func (m_ ModifySubscriptionsOperation) PerSubscriptionSaveBlock() func(subscriptionID SubscriptionID, subscription Subscription, ...)
- func (m_ ModifySubscriptionsOperation) SetModifySubscriptionsCompletionBlock(...)
- func (m_ ModifySubscriptionsOperation) SetPerSubscriptionDeleteBlock(value func(subscriptionID SubscriptionID, error foundation.Error))
- func (m_ ModifySubscriptionsOperation) SetPerSubscriptionSaveBlock(value func(subscriptionID SubscriptionID, subscription Subscription, ...))
- func (m_ ModifySubscriptionsOperation) SetSubscriptionIDsToDelete(value []SubscriptionID)
- func (m_ ModifySubscriptionsOperation) SetSubscriptionsToSave(value []ISubscription)
- func (m_ ModifySubscriptionsOperation) SubscriptionIDsToDelete() []SubscriptionID
- func (m_ ModifySubscriptionsOperation) SubscriptionsToSave() []Subscription
- type Notification
- func (n_ Notification) ContainerIdentifier() string
- func (n_ Notification) Init() Notification
- func (n_ Notification) IsPruned() bool
- func (n_ Notification) NotificationID() NotificationID
- func (n_ Notification) NotificationType() NotificationType
- func (n_ Notification) SubscriptionID() SubscriptionID
- func (n_ Notification) SubscriptionOwnerUserRecordID() RecordID
- type NotificationID
- type NotificationInfo
- func (n_ NotificationInfo) AlertActionLocalizationKey() string
- func (n_ NotificationInfo) AlertBody() string
- func (n_ NotificationInfo) AlertLaunchImage() string
- func (n_ NotificationInfo) AlertLocalizationArgs() []RecordFieldKey
- func (n_ NotificationInfo) AlertLocalizationKey() string
- func (n_ NotificationInfo) Category() string
- func (n_ NotificationInfo) CollapseIDKey() string
- func (n_ NotificationInfo) DesiredKeys() []RecordFieldKey
- func (n_ NotificationInfo) Init() NotificationInfo
- func (n_ NotificationInfo) SetAlertActionLocalizationKey(value string)
- func (n_ NotificationInfo) SetAlertBody(value string)
- func (n_ NotificationInfo) SetAlertLaunchImage(value string)
- func (n_ NotificationInfo) SetAlertLocalizationArgs(value []RecordFieldKey)
- func (n_ NotificationInfo) SetAlertLocalizationKey(value string)
- func (n_ NotificationInfo) SetCategory(value string)
- func (n_ NotificationInfo) SetCollapseIDKey(value string)
- func (n_ NotificationInfo) SetDesiredKeys(value []RecordFieldKey)
- func (n_ NotificationInfo) SetShouldBadge(value bool)
- func (n_ NotificationInfo) SetShouldSendContentAvailable(value bool)
- func (n_ NotificationInfo) SetShouldSendMutableContent(value bool)
- func (n_ NotificationInfo) SetSoundName(value string)
- func (n_ NotificationInfo) SetSubtitle(value string)
- func (n_ NotificationInfo) SetSubtitleLocalizationArgs(value []RecordFieldKey)
- func (n_ NotificationInfo) SetSubtitleLocalizationKey(value string)
- func (n_ NotificationInfo) SetTitle(value string)
- func (n_ NotificationInfo) SetTitleLocalizationArgs(value []RecordFieldKey)
- func (n_ NotificationInfo) SetTitleLocalizationKey(value string)
- func (n_ NotificationInfo) ShouldBadge() bool
- func (n_ NotificationInfo) ShouldSendContentAvailable() bool
- func (n_ NotificationInfo) ShouldSendMutableContent() bool
- func (n_ NotificationInfo) SoundName() string
- func (n_ NotificationInfo) Subtitle() string
- func (n_ NotificationInfo) SubtitleLocalizationArgs() []RecordFieldKey
- func (n_ NotificationInfo) SubtitleLocalizationKey() string
- func (n_ NotificationInfo) Title() string
- func (n_ NotificationInfo) TitleLocalizationArgs() []RecordFieldKey
- func (n_ NotificationInfo) TitleLocalizationKey() string
- type NotificationType
- type Operation
- func (o_ Operation) Configuration() OperationConfiguration
- func (o_ Operation) Group() OperationGroup
- func (o_ Operation) Init() Operation
- func (o_ Operation) LongLivedOperationWasPersistedBlock() func()
- func (o_ Operation) OperationID() OperationID
- func (o_ Operation) SetConfiguration(value IOperationConfiguration)
- func (o_ Operation) SetGroup(value IOperationGroup)
- func (o_ Operation) SetLongLivedOperationWasPersistedBlock(value func())
- type OperationConfiguration
- func (o_ OperationConfiguration) AllowsCellularAccess() bool
- func (o_ OperationConfiguration) Container() Container
- func (o_ OperationConfiguration) Init() OperationConfiguration
- func (o_ OperationConfiguration) IsLongLived() bool
- func (o_ OperationConfiguration) QualityOfService() foundation.QualityOfService
- func (o_ OperationConfiguration) SetAllowsCellularAccess(value bool)
- func (o_ OperationConfiguration) SetContainer(value IContainer)
- func (o_ OperationConfiguration) SetLongLived(value bool)
- func (o_ OperationConfiguration) SetQualityOfService(value foundation.QualityOfService)
- func (o_ OperationConfiguration) SetTimeoutIntervalForRequest(value foundation.TimeInterval)
- func (o_ OperationConfiguration) SetTimeoutIntervalForResource(value foundation.TimeInterval)
- func (o_ OperationConfiguration) TimeoutIntervalForRequest() foundation.TimeInterval
- func (o_ OperationConfiguration) TimeoutIntervalForResource() foundation.TimeInterval
- type OperationGroup
- func (o_ OperationGroup) DefaultConfiguration() OperationConfiguration
- func (o_ OperationGroup) ExpectedReceiveSize() OperationGroupTransferSize
- func (o_ OperationGroup) ExpectedSendSize() OperationGroupTransferSize
- func (o_ OperationGroup) Init() OperationGroup
- func (o_ OperationGroup) Name() string
- func (o_ OperationGroup) OperationGroupID() string
- func (o_ OperationGroup) Quantity() uint
- func (o_ OperationGroup) SetDefaultConfiguration(value IOperationConfiguration)
- func (o_ OperationGroup) SetExpectedReceiveSize(value OperationGroupTransferSize)
- func (o_ OperationGroup) SetExpectedSendSize(value OperationGroupTransferSize)
- func (o_ OperationGroup) SetName(value string)
- func (o_ OperationGroup) SetQuantity(value uint)
- type OperationGroupTransferSize
- type OperationID
- type PRecordKeyValueSetting
- type PRecordValue
- type Query
- func (q_ Query) Init() Query
- func (q_ Query) InitWithRecordTypePredicate(recordType RecordType, predicate foundation.IPredicate) Query
- func (q_ Query) Predicate() foundation.Predicate
- func (q_ Query) RecordType() RecordType
- func (q_ Query) SetSortDescriptors(value []foundation.ISortDescriptor)
- func (q_ Query) SortDescriptors() []foundation.SortDescriptor
- type QueryCursor
- type QueryNotification
- func (q_ QueryNotification) DatabaseScope() DatabaseScope
- func (q_ QueryNotification) Init() QueryNotification
- func (q_ QueryNotification) QueryNotificationReason() QueryNotificationReason
- func (q_ QueryNotification) RecordFields() map[string]objc.Object
- func (q_ QueryNotification) RecordID() RecordID
- type QueryNotificationReason
- type QueryOperation
- func (q_ QueryOperation) Cursor() QueryCursor
- func (q_ QueryOperation) DesiredKeys() []RecordFieldKey
- func (q_ QueryOperation) Init() QueryOperation
- func (q_ QueryOperation) InitWithCursor(cursor IQueryCursor) QueryOperation
- func (q_ QueryOperation) InitWithQuery(query IQuery) QueryOperation
- func (q_ QueryOperation) Query() Query
- func (q_ QueryOperation) QueryCompletionBlock() func(cursor QueryCursor, operationError foundation.Error)
- func (q_ QueryOperation) RecordMatchedBlock() func(recordID RecordID, record Record, error foundation.Error)
- func (q_ QueryOperation) ResultsLimit() uint
- func (q_ QueryOperation) SetCursor(value IQueryCursor)
- func (q_ QueryOperation) SetDesiredKeys(value []RecordFieldKey)
- func (q_ QueryOperation) SetQuery(value IQuery)
- func (q_ QueryOperation) SetQueryCompletionBlock(value func(cursor QueryCursor, operationError foundation.Error))
- func (q_ QueryOperation) SetRecordMatchedBlock(value func(recordID RecordID, record Record, error foundation.Error))
- func (q_ QueryOperation) SetResultsLimit(value uint)
- func (q_ QueryOperation) SetZoneID(value IRecordZoneID)
- func (q_ QueryOperation) ZoneID() RecordZoneID
- type QuerySubscription
- func (q_ QuerySubscription) Init() QuerySubscription
- func (q_ QuerySubscription) InitWithRecordTypePredicateSubscriptionIDOptions(recordType RecordType, predicate foundation.IPredicate, ...) QuerySubscription
- func (q_ QuerySubscription) Predicate() foundation.Predicate
- func (q_ QuerySubscription) QuerySubscriptionOptions() QuerySubscriptionOptions
- func (q_ QuerySubscription) RecordType() RecordType
- func (q_ QuerySubscription) SetZoneID(value IRecordZoneID)
- func (q_ QuerySubscription) ZoneID() RecordZoneID
- type QuerySubscriptionOptions
- type Record
- func (r_ Record) AllKeys() []RecordFieldKey
- func (r_ Record) AllTokens() []string
- func (r_ Record) ChangedKeys() []RecordFieldKey
- func (r_ Record) CreationDate() foundation.Date
- func (r_ Record) CreatorUserRecordID() RecordID
- func (r_ Record) EncodeSystemFieldsWithCoder(coder foundation.ICoder)
- func (r_ Record) EncryptedValues() RecordKeyValueSettingObject
- func (r_ Record) Init() Record
- func (r_ Record) InitWithRecordType(recordType RecordType) Record
- func (r_ Record) InitWithRecordTypeRecordID(recordType RecordType, recordID IRecordID) Record
- func (r_ Record) InitWithRecordTypeZoneID(recordType RecordType, zoneID IRecordZoneID) Record
- func (r_ Record) LastModifiedUserRecordID() RecordID
- func (r_ Record) ModificationDate() foundation.Date
- func (r_ Record) ObjectForKey(key RecordFieldKey) RecordValueObject
- func (r_ Record) ObjectForKeyedSubscript(key RecordFieldKey) RecordValueObject
- func (r_ Record) Parent() Reference
- func (r_ Record) RecordChangeTag() string
- func (r_ Record) RecordID() RecordID
- func (r_ Record) RecordType() RecordType
- func (r_ Record) SetObjectForKey(object PRecordValue, key RecordFieldKey)
- func (r_ Record) SetObjectForKeyedSubscript(object PRecordValue, key RecordFieldKey)
- func (r_ Record) SetObjectObjectForKey(objectObject objc.IObject, key RecordFieldKey)
- func (r_ Record) SetObjectObjectForKeyedSubscript(objectObject objc.IObject, key RecordFieldKey)
- func (r_ Record) SetParent(value IReference)
- func (r_ Record) SetParentReferenceFromRecord(parentRecord IRecord)
- func (r_ Record) SetParentReferenceFromRecordID(parentRecordID IRecordID)
- func (r_ Record) Share() Reference
- type RecordFieldKey
- type RecordID
- type RecordKeyValueSettingObject
- func (r_ RecordKeyValueSettingObject) AllKeys() []RecordFieldKey
- func (r_ RecordKeyValueSettingObject) ChangedKeys() []RecordFieldKey
- func (r_ RecordKeyValueSettingObject) HasAllKeys() bool
- func (r_ RecordKeyValueSettingObject) HasChangedKeys() bool
- func (r_ RecordKeyValueSettingObject) HasObjectForKey() bool
- func (r_ RecordKeyValueSettingObject) HasObjectForKeyedSubscript() bool
- func (r_ RecordKeyValueSettingObject) HasSetObjectForKey() bool
- func (r_ RecordKeyValueSettingObject) HasSetObjectForKeyedSubscript() bool
- func (r_ RecordKeyValueSettingObject) ObjectForKey(key RecordFieldKey) RecordValueObject
- func (r_ RecordKeyValueSettingObject) ObjectForKeyedSubscript(key RecordFieldKey) RecordValueObject
- func (r_ RecordKeyValueSettingObject) SetObjectForKey(object RecordValueObject, key RecordFieldKey)
- func (r_ RecordKeyValueSettingObject) SetObjectForKeyedSubscript(object RecordValueObject, key RecordFieldKey)
- type RecordSavePolicy
- type RecordType
- type RecordValueObject
- type RecordZone
- func (r_ RecordZone) Capabilities() RecordZoneCapabilities
- func (r_ RecordZone) Init() RecordZone
- func (r_ RecordZone) InitWithZoneID(zoneID IRecordZoneID) RecordZone
- func (r_ RecordZone) InitWithZoneName(zoneName string) RecordZone
- func (r_ RecordZone) Share() Reference
- func (r_ RecordZone) ZoneID() RecordZoneID
- type RecordZoneCapabilities
- type RecordZoneID
- type RecordZoneNotification
- type RecordZoneSubscription
- func (r_ RecordZoneSubscription) Init() RecordZoneSubscription
- func (r_ RecordZoneSubscription) InitWithZoneIDSubscriptionID(zoneID IRecordZoneID, subscriptionID SubscriptionID) RecordZoneSubscription
- func (r_ RecordZoneSubscription) RecordType() RecordType
- func (r_ RecordZoneSubscription) SetRecordType(value RecordType)
- func (r_ RecordZoneSubscription) ZoneID() RecordZoneID
- type Reference
- func (r_ Reference) Init() Reference
- func (r_ Reference) InitWithRecordAction(record IRecord, action ReferenceAction) Reference
- func (r_ Reference) InitWithRecordIDAction(recordID IRecordID, action ReferenceAction) Reference
- func (r_ Reference) RecordID() RecordID
- func (r_ Reference) ReferenceAction() ReferenceAction
- type ReferenceAction
- type ServerChangeToken
- type Share
- func NewShare() Share
- func NewShareWithRecordType(recordType RecordType) Share
- func NewShareWithRecordTypeRecordID(recordType RecordType, recordID IRecordID) Share
- func NewShareWithRecordTypeZoneID(recordType RecordType, zoneID IRecordZoneID) Share
- func NewShareWithRecordZoneID(recordZoneID IRecordZoneID) Share
- func NewShareWithRootRecord(rootRecord IRecord) Share
- func NewShareWithRootRecordShareID(rootRecord IRecord, shareID IRecordID) Share
- func ShareFrom(ptr unsafe.Pointer) Share
- func (s_ Share) AddParticipant(participant IShareParticipant)
- func (s_ Share) CurrentUserParticipant() ShareParticipant
- func (s_ Share) Init() Share
- func (s_ Share) InitWithRecordType(recordType RecordType) Share
- func (s_ Share) InitWithRecordTypeRecordID(recordType RecordType, recordID IRecordID) Share
- func (s_ Share) InitWithRecordTypeZoneID(recordType RecordType, zoneID IRecordZoneID) Share
- func (s_ Share) InitWithRecordZoneID(recordZoneID IRecordZoneID) Share
- func (s_ Share) InitWithRootRecord(rootRecord IRecord) Share
- func (s_ Share) InitWithRootRecordShareID(rootRecord IRecord, shareID IRecordID) Share
- func (s_ Share) Owner() ShareParticipant
- func (s_ Share) Participants() []ShareParticipant
- func (s_ Share) PublicPermission() ShareParticipantPermission
- func (s_ Share) RemoveParticipant(participant IShareParticipant)
- func (s_ Share) SetPublicPermission(value ShareParticipantPermission)
- func (s_ Share) URL() foundation.URL
- type ShareMetadata
- func (s_ ShareMetadata) ContainerIdentifier() string
- func (s_ ShareMetadata) HierarchicalRootRecordID() RecordID
- func (s_ ShareMetadata) Init() ShareMetadata
- func (s_ ShareMetadata) OwnerIdentity() UserIdentity
- func (s_ ShareMetadata) ParticipantPermission() ShareParticipantPermission
- func (s_ ShareMetadata) ParticipantRole() ShareParticipantRole
- func (s_ ShareMetadata) ParticipantStatus() ShareParticipantAcceptanceStatus
- func (s_ ShareMetadata) RootRecord() Record
- func (s_ ShareMetadata) Share() Share
- type ShareParticipant
- func (s_ ShareParticipant) AcceptanceStatus() ShareParticipantAcceptanceStatus
- func (s_ ShareParticipant) Init() ShareParticipant
- func (s_ ShareParticipant) Permission() ShareParticipantPermission
- func (s_ ShareParticipant) Role() ShareParticipantRole
- func (s_ ShareParticipant) SetPermission(value ShareParticipantPermission)
- func (s_ ShareParticipant) SetRole(value ShareParticipantRole)
- func (s_ ShareParticipant) UserIdentity() UserIdentity
- type ShareParticipantAcceptanceStatus
- type ShareParticipantPermission
- type ShareParticipantRole
- type ShareParticipantType
- type Subscription
- type SubscriptionID
- type SubscriptionType
- type UserIdentity
- func (u_ UserIdentity) ContactIdentifiers() []string
- func (u_ UserIdentity) HasiCloudAccount() bool
- func (u_ UserIdentity) Init() UserIdentity
- func (u_ UserIdentity) LookupInfo() UserIdentityLookupInfo
- func (u_ UserIdentity) NameComponents() foundation.PersonNameComponents
- func (u_ UserIdentity) UserRecordID() RecordID
- type UserIdentityLookupInfo
- func NewUserIdentityLookupInfo() UserIdentityLookupInfo
- func NewUserIdentityLookupInfoWithEmailAddress(emailAddress string) UserIdentityLookupInfo
- func NewUserIdentityLookupInfoWithPhoneNumber(phoneNumber string) UserIdentityLookupInfo
- func NewUserIdentityLookupInfoWithUserRecordID(userRecordID IRecordID) UserIdentityLookupInfo
- func UserIdentityLookupInfoFrom(ptr unsafe.Pointer) UserIdentityLookupInfo
- func UserIdentityLookupInfo_LookupInfosWithEmails(emails []string) []UserIdentityLookupInfo
- func UserIdentityLookupInfo_LookupInfosWithPhoneNumbers(phoneNumbers []string) []UserIdentityLookupInfo
- func UserIdentityLookupInfo_LookupInfosWithRecordIDs(recordIDs []IRecordID) []UserIdentityLookupInfo
- func (u_ UserIdentityLookupInfo) EmailAddress() string
- func (u_ UserIdentityLookupInfo) Init() UserIdentityLookupInfo
- func (u_ UserIdentityLookupInfo) InitWithEmailAddress(emailAddress string) UserIdentityLookupInfo
- func (u_ UserIdentityLookupInfo) InitWithPhoneNumber(phoneNumber string) UserIdentityLookupInfo
- func (u_ UserIdentityLookupInfo) InitWithUserRecordID(userRecordID IRecordID) UserIdentityLookupInfo
- func (u_ UserIdentityLookupInfo) PhoneNumber() string
- func (u_ UserIdentityLookupInfo) UserRecordID() RecordID
Constants ¶
This section is empty.
Variables ¶
The class instance for the AcceptSharesOperation class.
var AssetClass = _AssetClass{objc.GetClass("CKAsset")}
The class instance for the Asset class.
var ContainerClass = _ContainerClass{objc.GetClass("CKContainer")}
The class instance for the Container class.
var DatabaseClass = _DatabaseClass{objc.GetClass("CKDatabase")}
The class instance for the Database class.
var DatabaseNotificationClass = _DatabaseNotificationClass{objc.GetClass("CKDatabaseNotification")}
The class instance for the DatabaseNotification class.
var DatabaseOperationClass = _DatabaseOperationClass{objc.GetClass("CKDatabaseOperation")}
The class instance for the DatabaseOperation class.
var DatabaseSubscriptionClass = _DatabaseSubscriptionClass{objc.GetClass("CKDatabaseSubscription")}
The class instance for the DatabaseSubscription class.
var DiscoverAllUserIdentitiesOperationClass = _DiscoverAllUserIdentitiesOperationClass{objc.GetClass("CKDiscoverAllUserIdentitiesOperation")}
The class instance for the DiscoverAllUserIdentitiesOperation class.
var DiscoverUserIdentitiesOperationClass = _DiscoverUserIdentitiesOperationClass{objc.GetClass("CKDiscoverUserIdentitiesOperation")}
The class instance for the DiscoverUserIdentitiesOperation class.
var FetchDatabaseChangesOperationClass = _FetchDatabaseChangesOperationClass{objc.GetClass("CKFetchDatabaseChangesOperation")}
The class instance for the FetchDatabaseChangesOperation class.
var FetchNotificationChangesOperationClass = _FetchNotificationChangesOperationClass{objc.GetClass("CKFetchNotificationChangesOperation")}
The class instance for the FetchNotificationChangesOperation class.
var FetchRecordChangesOperationClass = _FetchRecordChangesOperationClass{objc.GetClass("CKFetchRecordChangesOperation")}
The class instance for the FetchRecordChangesOperation class.
var FetchRecordZoneChangesConfigurationClass = _FetchRecordZoneChangesConfigurationClass{objc.GetClass("CKFetchRecordZoneChangesConfiguration")}
The class instance for the FetchRecordZoneChangesConfiguration class.
var FetchRecordZoneChangesOperationClass = _FetchRecordZoneChangesOperationClass{objc.GetClass("CKFetchRecordZoneChangesOperation")}
The class instance for the FetchRecordZoneChangesOperation class.
var FetchRecordZoneChangesOptionsClass = _FetchRecordZoneChangesOptionsClass{objc.GetClass("CKFetchRecordZoneChangesOptions")}
The class instance for the FetchRecordZoneChangesOptions class.
var FetchRecordZonesOperationClass = _FetchRecordZonesOperationClass{objc.GetClass("CKFetchRecordZonesOperation")}
The class instance for the FetchRecordZonesOperation class.
var FetchRecordsOperationClass = _FetchRecordsOperationClass{objc.GetClass("CKFetchRecordsOperation")}
The class instance for the FetchRecordsOperation class.
The class instance for the FetchShareMetadataOperation class.
The class instance for the FetchShareParticipantsOperation class.
var FetchSubscriptionsOperationClass = _FetchSubscriptionsOperationClass{objc.GetClass("CKFetchSubscriptionsOperation")}
The class instance for the FetchSubscriptionsOperation class.
var FetchWebAuthTokenOperationClass = _FetchWebAuthTokenOperationClass{objc.GetClass("CKFetchWebAuthTokenOperation")}
The class instance for the FetchWebAuthTokenOperation class.
var LocationSortDescriptorClass = _LocationSortDescriptorClass{objc.GetClass("CKLocationSortDescriptor")}
The class instance for the LocationSortDescriptor class.
var MarkNotificationsReadOperationClass = _MarkNotificationsReadOperationClass{objc.GetClass("CKMarkNotificationsReadOperation")}
The class instance for the MarkNotificationsReadOperation class.
var ModifyBadgeOperationClass = _ModifyBadgeOperationClass{objc.GetClass("CKModifyBadgeOperation")}
The class instance for the ModifyBadgeOperation class.
var ModifyRecordZonesOperationClass = _ModifyRecordZonesOperationClass{objc.GetClass("CKModifyRecordZonesOperation")}
The class instance for the ModifyRecordZonesOperation class.
var ModifyRecordsOperationClass = _ModifyRecordsOperationClass{objc.GetClass("CKModifyRecordsOperation")}
The class instance for the ModifyRecordsOperation class.
var ModifySubscriptionsOperationClass = _ModifySubscriptionsOperationClass{objc.GetClass("CKModifySubscriptionsOperation")}
The class instance for the ModifySubscriptionsOperation class.
var NotificationClass = _NotificationClass{objc.GetClass("CKNotification")}
The class instance for the Notification class.
var NotificationIDClass = _NotificationIDClass{objc.GetClass("CKNotificationID")}
The class instance for the NotificationID class.
var NotificationInfoClass = _NotificationInfoClass{objc.GetClass("CKNotificationInfo")}
The class instance for the NotificationInfo class.
var OperationClass = _OperationClass{objc.GetClass("CKOperation")}
The class instance for the Operation class.
var OperationConfigurationClass = _OperationConfigurationClass{objc.GetClass("CKOperationConfiguration")}
The class instance for the OperationConfiguration class.
var OperationGroupClass = _OperationGroupClass{objc.GetClass("CKOperationGroup")}
The class instance for the OperationGroup class.
var QueryClass = _QueryClass{objc.GetClass("CKQuery")}
The class instance for the Query class.
var QueryCursorClass = _QueryCursorClass{objc.GetClass("CKQueryCursor")}
The class instance for the QueryCursor class.
var QueryNotificationClass = _QueryNotificationClass{objc.GetClass("CKQueryNotification")}
The class instance for the QueryNotification class.
var QueryOperationClass = _QueryOperationClass{objc.GetClass("CKQueryOperation")}
The class instance for the QueryOperation class.
var QuerySubscriptionClass = _QuerySubscriptionClass{objc.GetClass("CKQuerySubscription")}
The class instance for the QuerySubscription class.
var RecordClass = _RecordClass{objc.GetClass("CKRecord")}
The class instance for the Record class.
var RecordIDClass = _RecordIDClass{objc.GetClass("CKRecordID")}
The class instance for the RecordID class.
var RecordZoneClass = _RecordZoneClass{objc.GetClass("CKRecordZone")}
The class instance for the RecordZone class.
var RecordZoneIDClass = _RecordZoneIDClass{objc.GetClass("CKRecordZoneID")}
The class instance for the RecordZoneID class.
var RecordZoneNotificationClass = _RecordZoneNotificationClass{objc.GetClass("CKRecordZoneNotification")}
The class instance for the RecordZoneNotification class.
var RecordZoneSubscriptionClass = _RecordZoneSubscriptionClass{objc.GetClass("CKRecordZoneSubscription")}
The class instance for the RecordZoneSubscription class.
var ReferenceClass = _ReferenceClass{objc.GetClass("CKReference")}
The class instance for the Reference class.
var ServerChangeTokenClass = _ServerChangeTokenClass{objc.GetClass("CKServerChangeToken")}
The class instance for the ServerChangeToken class.
The class instance for the Share class.
The class instance for the ShareMetadata class.
The class instance for the ShareParticipant class.
var SubscriptionClass = _SubscriptionClass{objc.GetClass("CKSubscription")}
The class instance for the Subscription class.
var UserIdentityClass = _UserIdentityClass{objc.GetClass("CKUserIdentity")}
The class instance for the UserIdentity class.
var UserIdentityLookupInfoClass = _UserIdentityLookupInfoClass{objc.GetClass("CKUserIdentityLookupInfo")}
The class instance for the UserIdentityLookupInfo class.
Functions ¶
This section is empty.
Types ¶
type AcceptSharesOperation ¶
type AcceptSharesOperation struct {
}An operation that confirms a user’s participation in a share. Full Topic
func AcceptSharesOperationFrom ¶
func AcceptSharesOperationFrom(ptr unsafe.Pointer) AcceptSharesOperation
func NewAcceptSharesOperation ¶
func NewAcceptSharesOperation() AcceptSharesOperation
func NewAcceptSharesOperationWithShareMetadatas ¶
func NewAcceptSharesOperationWithShareMetadatas(shareMetadatas []IShareMetadata) AcceptSharesOperation
Creates an operation for accepting the specified shares. Full Topic
func (AcceptSharesOperation) AcceptSharesCompletionBlock ¶
func (a_ AcceptSharesOperation) AcceptSharesCompletionBlock() func(operationError foundation.Error)
The block to execute when the operation finishes. Full Topic
func (AcceptSharesOperation) Init ¶
func (a_ AcceptSharesOperation) Init() AcceptSharesOperation
func (AcceptSharesOperation) InitWithShareMetadatas ¶
func (a_ AcceptSharesOperation) InitWithShareMetadatas(shareMetadatas []IShareMetadata) AcceptSharesOperation
func (AcceptSharesOperation) PerShareCompletionBlock ¶
func (a_ AcceptSharesOperation) PerShareCompletionBlock() func(shareMetadata ShareMetadata, acceptedShare Share, error foundation.Error)
The block to execute as CloudKit processes individual shares. Full Topic
func (AcceptSharesOperation) SetAcceptSharesCompletionBlock ¶
func (a_ AcceptSharesOperation) SetAcceptSharesCompletionBlock(value func(operationError foundation.Error))
The block to execute when the operation finishes. Full Topic
func (AcceptSharesOperation) SetPerShareCompletionBlock ¶
func (a_ AcceptSharesOperation) SetPerShareCompletionBlock(value func(shareMetadata ShareMetadata, acceptedShare Share, error foundation.Error))
The block to execute as CloudKit processes individual shares. Full Topic
func (AcceptSharesOperation) SetShareMetadatas ¶
func (a_ AcceptSharesOperation) SetShareMetadatas(value []IShareMetadata)
The share metadatas to process. Full Topic
func (AcceptSharesOperation) ShareMetadatas ¶
func (a_ AcceptSharesOperation) ShareMetadatas() []ShareMetadata
The share metadatas to process. Full Topic
type AccountStatus ¶
type AccountStatus int
Constants that indicate the availability of the user’s iCloud account. Full Topic
const ( AccountStatusAvailable AccountStatus = 1 AccountStatusCouldNotDetermine AccountStatus = 0 AccountStatusNoAccount AccountStatus = 3 AccountStatusRestricted AccountStatus = 2 )
type ApplicationPermissionBlock ¶
type ApplicationPermissionBlock = func(applicationPermissionStatus ApplicationPermissionStatus, error foundation.Error)
A block that processes the outcome of a permissions request. Full Topic
type ApplicationPermissionStatus ¶
type ApplicationPermissionStatus int
Constants that represent the status of a permission. Full Topic
const ( ApplicationPermissionStatusCouldNotComplete ApplicationPermissionStatus = 1 ApplicationPermissionStatusDenied ApplicationPermissionStatus = 2 ApplicationPermissionStatusGranted ApplicationPermissionStatus = 3 ApplicationPermissionStatusInitialState ApplicationPermissionStatus = 0 )
type ApplicationPermissions ¶
type ApplicationPermissions uint
Constants that represent the permissions that a user grants. Full Topic
const (
ApplicationPermissionUserDiscoverability ApplicationPermissions = 1
)
type Asset ¶
An external file that belongs to a record. Full Topic
func NewAssetWithFileURL ¶
func NewAssetWithFileURL(fileURL foundation.IURL) Asset
Creates an asset that references a file. Full Topic
func (Asset) FileURL ¶
func (a_ Asset) FileURL() foundation.URL
The URL for accessing the asset. Full Topic
func (Asset) InitWithFileURL ¶
func (a_ Asset) InitWithFileURL(fileURL foundation.IURL) Asset
type Container ¶
A conduit to your app’s databases. Full Topic
func ContainerFrom ¶
func Container_ContainerWithIdentifier ¶
Creates a container for the specified identifier. Full Topic
func Container_DefaultContainer ¶
func Container_DefaultContainer() Container
Returns the app’s default container. Full Topic
func NewContainer ¶
func NewContainer() Container
func (Container) AcceptShareMetadataCompletionHandler ¶
func (c_ Container) AcceptShareMetadataCompletionHandler(metadata IShareMetadata, completionHandler func(acceptedShare Share, error foundation.Error))
Accepts the specified share metadata. Full Topic
func (Container) AccountStatusWithCompletionHandler ¶
func (c_ Container) AccountStatusWithCompletionHandler(completionHandler func(accountStatus AccountStatus, error foundation.Error))
Determines whether the system can access the user’s iCloud account. Full Topic
func (Container) AddOperation ¶
func (c_ Container) AddOperation(operation IOperation)
Adds an operation to the container’s queue. Full Topic
func (Container) ContainerIdentifier ¶
The container’s unique identifier. Full Topic
func (Container) DatabaseWithDatabaseScope ¶
func (c_ Container) DatabaseWithDatabaseScope(databaseScope DatabaseScope) Database
Returns the database with the specified scope. Full Topic
func (Container) FetchAllLongLivedOperationIDsWithCompletionHandler ¶
func (c_ Container) FetchAllLongLivedOperationIDsWithCompletionHandler(completionHandler func(outstandingOperationIDs []OperationID, error foundation.Error))
Fetches the IDs of any long-lived operations that are running. Full Topic
func (Container) FetchLongLivedOperationWithIDCompletionHandler ¶
func (c_ Container) FetchLongLivedOperationWithIDCompletionHandler(operationID OperationID, completionHandler func(outstandingOperation Operation, error foundation.Error))
Fetches the long-lived operation for the specified operation ID. Full Topic
func (Container) FetchShareMetadataWithURLCompletionHandler ¶
func (c_ Container) FetchShareMetadataWithURLCompletionHandler(url foundation.IURL, completionHandler func(metadata ShareMetadata, error foundation.Error))
Fetches the share metadata for the specified share URL. Full Topic
func (Container) FetchShareParticipantWithEmailAddressCompletionHandler ¶
func (c_ Container) FetchShareParticipantWithEmailAddressCompletionHandler(emailAddress string, completionHandler func(shareParticipant ShareParticipant, error foundation.Error))
Fetches the share participant with the specified email address. Full Topic
func (Container) FetchShareParticipantWithPhoneNumberCompletionHandler ¶
func (c_ Container) FetchShareParticipantWithPhoneNumberCompletionHandler(phoneNumber string, completionHandler func(shareParticipant ShareParticipant, error foundation.Error))
Fetches the share participant with the specified phone number. Full Topic
func (Container) FetchShareParticipantWithUserRecordIDCompletionHandler ¶
func (c_ Container) FetchShareParticipantWithUserRecordIDCompletionHandler(userRecordID IRecordID, completionHandler func(shareParticipant ShareParticipant, error foundation.Error))
Fetches the share participant with the specified user record ID. Full Topic
func (Container) FetchUserRecordIDWithCompletionHandler ¶
func (c_ Container) FetchUserRecordIDWithCompletionHandler(completionHandler func(recordID RecordID, error foundation.Error))
Fetches the user record ID of the current user. Full Topic
func (Container) PrivateCloudDatabase ¶
The user’s private database. Full Topic
func (Container) PublicCloudDatabase ¶
The app’s public database. Full Topic
func (Container) SharedCloudDatabase ¶
The database that contains shared data. Full Topic
type Database ¶
An object that represents a collection of record zones and subscriptions. Full Topic
func DatabaseFrom ¶
func NewDatabase ¶
func NewDatabase() Database
func (Database) AddOperation ¶
func (d_ Database) AddOperation(operation IDatabaseOperation)
Executes the specified operation in the current database. Full Topic
func (Database) DatabaseScope ¶
func (d_ Database) DatabaseScope() DatabaseScope
The type of database. Full Topic
func (Database) DeleteRecordWithIDCompletionHandler ¶
func (d_ Database) DeleteRecordWithIDCompletionHandler(recordID IRecordID, completionHandler func(recordID RecordID, error foundation.Error))
Deletes a specific record. Full Topic
func (Database) DeleteRecordZoneWithIDCompletionHandler ¶
func (d_ Database) DeleteRecordZoneWithIDCompletionHandler(zoneID IRecordZoneID, completionHandler func(zoneID RecordZoneID, error foundation.Error))
Deletes a specific record zone. Full Topic
func (Database) DeleteSubscriptionWithIDCompletionHandler ¶
func (d_ Database) DeleteSubscriptionWithIDCompletionHandler(subscriptionID SubscriptionID, completionHandler func(subscriptionID SubscriptionID, error foundation.Error))
Deletes a specific subscription and delivers the deleted subscription’s identifier to a completion handler. Full Topic
func (Database) FetchAllRecordZonesWithCompletionHandler ¶
func (d_ Database) FetchAllRecordZonesWithCompletionHandler(completionHandler func(zones []RecordZone, error foundation.Error))
Fetches all record zones from the current database. Full Topic
func (Database) FetchAllSubscriptionsWithCompletionHandler ¶
func (d_ Database) FetchAllSubscriptionsWithCompletionHandler(completionHandler func(subscriptions []Subscription, error foundation.Error))
Fetches all subscriptions from the current database. Full Topic
func (Database) FetchRecordWithIDCompletionHandler ¶
func (d_ Database) FetchRecordWithIDCompletionHandler(recordID IRecordID, completionHandler func(record Record, error foundation.Error))
Fetches a specific record. Full Topic
func (Database) FetchRecordZoneWithIDCompletionHandler ¶
func (d_ Database) FetchRecordZoneWithIDCompletionHandler(zoneID IRecordZoneID, completionHandler func(zone RecordZone, error foundation.Error))
Fetches a specific record zone. Full Topic
func (Database) FetchSubscriptionWithIDCompletionHandler ¶
func (d_ Database) FetchSubscriptionWithIDCompletionHandler(subscriptionID SubscriptionID, completionHandler func(subscription Subscription, error foundation.Error))
Fetches a specific subscription and delivers it to a completion handler. Full Topic
func (Database) PerformQueryInZoneWithIDCompletionHandler ¶
func (d_ Database) PerformQueryInZoneWithIDCompletionHandler(query IQuery, zoneID IRecordZoneID, completionHandler func(results []Record, error foundation.Error))
Searches for records matching a predicate in the specified record zone. Full Topic
func (Database) SaveRecordCompletionHandler ¶
func (d_ Database) SaveRecordCompletionHandler(record IRecord, completionHandler func(record Record, error foundation.Error))
Saves a specific record. Full Topic
func (Database) SaveRecordZoneCompletionHandler ¶
func (d_ Database) SaveRecordZoneCompletionHandler(zone IRecordZone, completionHandler func(zone RecordZone, error foundation.Error))
Saves a specific record zone. Full Topic
func (Database) SaveSubscriptionCompletionHandler ¶
func (d_ Database) SaveSubscriptionCompletionHandler(subscription ISubscription, completionHandler func(subscription Subscription, error foundation.Error))
Saves a specific subscription. Full Topic
type DatabaseNotification ¶
type DatabaseNotification struct {
Notification
}
A notification that triggers when the contents of a database change. Full Topic
func DatabaseNotificationFrom ¶
func DatabaseNotificationFrom(ptr unsafe.Pointer) DatabaseNotification
func DatabaseNotification_NotificationFromRemoteNotificationDictionary ¶
func DatabaseNotification_NotificationFromRemoteNotificationDictionary(notificationDictionary foundation.Dictionary) DatabaseNotification
Creates a new notification using the specified payload data. Full Topic
func NewDatabaseNotification ¶
func NewDatabaseNotification() DatabaseNotification
func (DatabaseNotification) DatabaseScope ¶
func (d_ DatabaseNotification) DatabaseScope() DatabaseScope
The type of database. Full Topic
func (DatabaseNotification) Init ¶
func (d_ DatabaseNotification) Init() DatabaseNotification
type DatabaseOperation ¶
type DatabaseOperation struct {
Operation
}
The abstract base class for operations that act upon databases in CloudKit. Full Topic
func DatabaseOperationFrom ¶
func DatabaseOperationFrom(ptr unsafe.Pointer) DatabaseOperation
func NewDatabaseOperation ¶
func NewDatabaseOperation() DatabaseOperation
func (DatabaseOperation) Database ¶
func (d_ DatabaseOperation) Database() Database
The database that the operation uses. Full Topic
func (DatabaseOperation) Init ¶
func (d_ DatabaseOperation) Init() DatabaseOperation
func (DatabaseOperation) SetDatabase ¶
func (d_ DatabaseOperation) SetDatabase(value IDatabase)
The database that the operation uses. Full Topic
type DatabaseScope ¶
type DatabaseScope int
Constants that represent the scope of a database. Full Topic
const ( DatabaseScopePrivate DatabaseScope = 2 DatabaseScopePublic DatabaseScope = 1 )
type DatabaseSubscription ¶
type DatabaseSubscription struct {
Subscription
}
A subscription that generates push notifications when CloudKit modifies records in a database. Full Topic
func DatabaseSubscriptionFrom ¶
func DatabaseSubscriptionFrom(ptr unsafe.Pointer) DatabaseSubscription
func NewDatabaseSubscription ¶
func NewDatabaseSubscription() DatabaseSubscription
func NewDatabaseSubscriptionWithSubscriptionID ¶
func NewDatabaseSubscriptionWithSubscriptionID(subscriptionID SubscriptionID) DatabaseSubscription
Creates a named subscription for all records in a database. Full Topic
func (DatabaseSubscription) Init ¶
func (d_ DatabaseSubscription) Init() DatabaseSubscription
func (DatabaseSubscription) InitWithSubscriptionID ¶
func (d_ DatabaseSubscription) InitWithSubscriptionID(subscriptionID SubscriptionID) DatabaseSubscription
func (DatabaseSubscription) RecordType ¶
func (d_ DatabaseSubscription) RecordType() RecordType
The type of record that the subscription queries. Full Topic
func (DatabaseSubscription) SetRecordType ¶
func (d_ DatabaseSubscription) SetRecordType(value RecordType)
The type of record that the subscription queries. Full Topic
type DiscoverAllUserIdentitiesOperation ¶
type DiscoverAllUserIdentitiesOperation struct {
Operation
}
An operation that uses the device’s contacts to search for discoverable iCloud users. Full Topic
func DiscoverAllUserIdentitiesOperationFrom ¶
func DiscoverAllUserIdentitiesOperationFrom(ptr unsafe.Pointer) DiscoverAllUserIdentitiesOperation
func NewDiscoverAllUserIdentitiesOperation ¶
func NewDiscoverAllUserIdentitiesOperation() DiscoverAllUserIdentitiesOperation
func (DiscoverAllUserIdentitiesOperation) Init ¶
func (d_ DiscoverAllUserIdentitiesOperation) Init() DiscoverAllUserIdentitiesOperation
type DiscoverUserIdentitiesOperation ¶
type DiscoverUserIdentitiesOperation struct {
Operation
}
An operation that uses the provided criteria to search for discoverable iCloud users. Full Topic
func DiscoverUserIdentitiesOperationFrom ¶
func DiscoverUserIdentitiesOperationFrom(ptr unsafe.Pointer) DiscoverUserIdentitiesOperation
func NewDiscoverUserIdentitiesOperation ¶
func NewDiscoverUserIdentitiesOperation() DiscoverUserIdentitiesOperation
func (DiscoverUserIdentitiesOperation) Init ¶
func (d_ DiscoverUserIdentitiesOperation) Init() DiscoverUserIdentitiesOperation
type ErrorCode ¶
type ErrorCode int
The error codes that CloudKit returns. Full Topic
const ( ErrorAssetFileModified ErrorCode = 17 ErrorAssetFileNotFound ErrorCode = 16 ErrorAssetNotAvailable ErrorCode = 35 ErrorBadContainer ErrorCode = 5 ErrorBadDatabase ErrorCode = 24 ErrorBatchRequestFailed ErrorCode = 22 ErrorChangeTokenExpired ErrorCode = 21 ErrorConstraintViolation ErrorCode = 19 ErrorIncompatibleVersion ErrorCode = 18 ErrorInternalError ErrorCode = 1 ErrorInvalidArguments ErrorCode = 12 ErrorLimitExceeded ErrorCode = 27 ErrorManagedAccountRestricted ErrorCode = 32 ErrorMissingEntitlement ErrorCode = 8 ErrorNetworkFailure ErrorCode = 4 ErrorNotAuthenticated ErrorCode = 9 ErrorOperationCancelled ErrorCode = 20 ErrorPartialFailure ErrorCode = 2 ErrorParticipantMayNeedVerification ErrorCode = 33 ErrorPermissionFailure ErrorCode = 10 ErrorQuotaExceeded ErrorCode = 25 ErrorReferenceViolation ErrorCode = 31 ErrorRequestRateLimited ErrorCode = 7 ErrorResultsTruncated ErrorCode = 13 ErrorServerRecordChanged ErrorCode = 14 ErrorServerRejectedRequest ErrorCode = 15 ErrorServerResponseLost ErrorCode = 34 ErrorTooManyParticipants ErrorCode = 29 ErrorUnknownItem ErrorCode = 11 ErrorUserDeletedZone ErrorCode = 28 ErrorZoneBusy ErrorCode = 23 ErrorZoneNotFound ErrorCode = 26 )
type FetchDatabaseChangesOperation ¶
type FetchDatabaseChangesOperation struct {
DatabaseOperation
}
An operation that fetches database changes. Full Topic
func FetchDatabaseChangesOperationFrom ¶
func FetchDatabaseChangesOperationFrom(ptr unsafe.Pointer) FetchDatabaseChangesOperation
func NewFetchDatabaseChangesOperation ¶
func NewFetchDatabaseChangesOperation() FetchDatabaseChangesOperation
func NewFetchDatabaseChangesOperationWithPreviousServerChangeToken ¶
func NewFetchDatabaseChangesOperationWithPreviousServerChangeToken(previousServerChangeToken IServerChangeToken) FetchDatabaseChangesOperation
Creates an operation for fetching database changes. Full Topic
func (FetchDatabaseChangesOperation) ChangeTokenUpdatedBlock ¶
func (f_ FetchDatabaseChangesOperation) ChangeTokenUpdatedBlock() func(serverChangeToken ServerChangeToken)
The block to execute when the change token updates. Full Topic
func (FetchDatabaseChangesOperation) FetchAllChanges ¶
func (f_ FetchDatabaseChangesOperation) FetchAllChanges() bool
A Boolean value that indicates whether to send repeated requests to the server. Full Topic
func (FetchDatabaseChangesOperation) FetchDatabaseChangesCompletionBlock ¶
func (f_ FetchDatabaseChangesOperation) FetchDatabaseChangesCompletionBlock() func(serverChangeToken ServerChangeToken, moreComing bool, operationError foundation.Error)
The block to execute when the operation finishes. Full Topic
func (FetchDatabaseChangesOperation) Init ¶
func (f_ FetchDatabaseChangesOperation) Init() FetchDatabaseChangesOperation
func (FetchDatabaseChangesOperation) InitWithPreviousServerChangeToken ¶
func (f_ FetchDatabaseChangesOperation) InitWithPreviousServerChangeToken(previousServerChangeToken IServerChangeToken) FetchDatabaseChangesOperation
func (FetchDatabaseChangesOperation) PreviousServerChangeToken ¶
func (f_ FetchDatabaseChangesOperation) PreviousServerChangeToken() ServerChangeToken
The server change token. Full Topic
func (FetchDatabaseChangesOperation) RecordZoneWithIDChangedBlock ¶
func (f_ FetchDatabaseChangesOperation) RecordZoneWithIDChangedBlock() func(zoneID RecordZoneID)
The block to execute with a single record zone change. Full Topic
func (FetchDatabaseChangesOperation) RecordZoneWithIDWasDeletedBlock ¶
func (f_ FetchDatabaseChangesOperation) RecordZoneWithIDWasDeletedBlock() func(zoneID RecordZoneID)
The block to execute when a record zone no longer exists. Full Topic
func (FetchDatabaseChangesOperation) RecordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock ¶
func (f_ FetchDatabaseChangesOperation) RecordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock() func(zoneID RecordZoneID)
The block to execute when a user-invoked account reset deletes a record zone. Full Topic
func (FetchDatabaseChangesOperation) RecordZoneWithIDWasPurgedBlock ¶
func (f_ FetchDatabaseChangesOperation) RecordZoneWithIDWasPurgedBlock() func(zoneID RecordZoneID)
The block to execute when CloudKit purges a record zone. Full Topic
func (FetchDatabaseChangesOperation) ResultsLimit ¶
func (f_ FetchDatabaseChangesOperation) ResultsLimit() uint
The maximum number of results that the operation fetches. Full Topic
func (FetchDatabaseChangesOperation) SetChangeTokenUpdatedBlock ¶
func (f_ FetchDatabaseChangesOperation) SetChangeTokenUpdatedBlock(value func(serverChangeToken ServerChangeToken))
The block to execute when the change token updates. Full Topic
func (FetchDatabaseChangesOperation) SetFetchAllChanges ¶
func (f_ FetchDatabaseChangesOperation) SetFetchAllChanges(value bool)
A Boolean value that indicates whether to send repeated requests to the server. Full Topic
func (FetchDatabaseChangesOperation) SetFetchDatabaseChangesCompletionBlock ¶
func (f_ FetchDatabaseChangesOperation) SetFetchDatabaseChangesCompletionBlock(value func(serverChangeToken ServerChangeToken, moreComing bool, operationError foundation.Error))
The block to execute when the operation finishes. Full Topic
func (FetchDatabaseChangesOperation) SetPreviousServerChangeToken ¶
func (f_ FetchDatabaseChangesOperation) SetPreviousServerChangeToken(value IServerChangeToken)
The server change token. Full Topic
func (FetchDatabaseChangesOperation) SetRecordZoneWithIDChangedBlock ¶
func (f_ FetchDatabaseChangesOperation) SetRecordZoneWithIDChangedBlock(value func(zoneID RecordZoneID))
The block to execute with a single record zone change. Full Topic
func (FetchDatabaseChangesOperation) SetRecordZoneWithIDWasDeletedBlock ¶
func (f_ FetchDatabaseChangesOperation) SetRecordZoneWithIDWasDeletedBlock(value func(zoneID RecordZoneID))
The block to execute when a record zone no longer exists. Full Topic
func (FetchDatabaseChangesOperation) SetRecordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock ¶
func (f_ FetchDatabaseChangesOperation) SetRecordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock(value func(zoneID RecordZoneID))
The block to execute when a user-invoked account reset deletes a record zone. Full Topic
func (FetchDatabaseChangesOperation) SetRecordZoneWithIDWasPurgedBlock ¶
func (f_ FetchDatabaseChangesOperation) SetRecordZoneWithIDWasPurgedBlock(value func(zoneID RecordZoneID))
The block to execute when CloudKit purges a record zone. Full Topic
func (FetchDatabaseChangesOperation) SetResultsLimit ¶
func (f_ FetchDatabaseChangesOperation) SetResultsLimit(value uint)
The maximum number of results that the operation fetches. Full Topic
type FetchNotificationChangesOperation ¶
type FetchNotificationChangesOperation struct {
Operation
}
An operation that retrieves unread notifications from a CloudKit container. Full Topic
func FetchNotificationChangesOperationFrom ¶
func FetchNotificationChangesOperationFrom(ptr unsafe.Pointer) FetchNotificationChangesOperation
func NewFetchNotificationChangesOperation ¶
func NewFetchNotificationChangesOperation() FetchNotificationChangesOperation
func (FetchNotificationChangesOperation) Init ¶
func (f_ FetchNotificationChangesOperation) Init() FetchNotificationChangesOperation
type FetchRecordChangesOperation ¶
type FetchRecordChangesOperation struct {
DatabaseOperation
}
An operation that reports on the changed and deleted records in the specified record zone. Full Topic
func FetchRecordChangesOperationFrom ¶
func FetchRecordChangesOperationFrom(ptr unsafe.Pointer) FetchRecordChangesOperation
func NewFetchRecordChangesOperation ¶
func NewFetchRecordChangesOperation() FetchRecordChangesOperation
func (FetchRecordChangesOperation) Init ¶
func (f_ FetchRecordChangesOperation) Init() FetchRecordChangesOperation
type FetchRecordZoneChangesConfiguration ¶
A configuration object that describes the information to fetch from a record zone. Full Topic
func FetchRecordZoneChangesConfigurationFrom ¶
func FetchRecordZoneChangesConfigurationFrom(ptr unsafe.Pointer) FetchRecordZoneChangesConfiguration
func NewFetchRecordZoneChangesConfiguration ¶
func NewFetchRecordZoneChangesConfiguration() FetchRecordZoneChangesConfiguration
func (FetchRecordZoneChangesConfiguration) DesiredKeys ¶
func (f_ FetchRecordZoneChangesConfiguration) DesiredKeys() []RecordFieldKey
An array of the record keys to retrieve. Full Topic
func (FetchRecordZoneChangesConfiguration) Init ¶
func (f_ FetchRecordZoneChangesConfiguration) Init() FetchRecordZoneChangesConfiguration
func (FetchRecordZoneChangesConfiguration) PreviousServerChangeToken ¶
func (f_ FetchRecordZoneChangesConfiguration) PreviousServerChangeToken() ServerChangeToken
The server change token. Full Topic
func (FetchRecordZoneChangesConfiguration) ResultsLimit ¶
func (f_ FetchRecordZoneChangesConfiguration) ResultsLimit() uint
The maximum number of records that CloudKit retrieves when fetching zone changes. Full Topic
func (FetchRecordZoneChangesConfiguration) SetDesiredKeys ¶
func (f_ FetchRecordZoneChangesConfiguration) SetDesiredKeys(value []RecordFieldKey)
An array of the record keys to retrieve. Full Topic
func (FetchRecordZoneChangesConfiguration) SetPreviousServerChangeToken ¶
func (f_ FetchRecordZoneChangesConfiguration) SetPreviousServerChangeToken(value IServerChangeToken)
The server change token. Full Topic
func (FetchRecordZoneChangesConfiguration) SetResultsLimit ¶
func (f_ FetchRecordZoneChangesConfiguration) SetResultsLimit(value uint)
The maximum number of records that CloudKit retrieves when fetching zone changes. Full Topic
type FetchRecordZoneChangesOperation ¶
type FetchRecordZoneChangesOperation struct {
DatabaseOperation
}
An operation that fetches record zone changes. Full Topic
func FetchRecordZoneChangesOperationFrom ¶
func FetchRecordZoneChangesOperationFrom(ptr unsafe.Pointer) FetchRecordZoneChangesOperation
func NewFetchRecordZoneChangesOperation ¶
func NewFetchRecordZoneChangesOperation() FetchRecordZoneChangesOperation
func NewFetchRecordZoneChangesOperationWithRecordZoneIDsConfigurationsByRecordZoneID ¶
func NewFetchRecordZoneChangesOperationWithRecordZoneIDsConfigurationsByRecordZoneID(recordZoneIDs []IRecordZoneID, configurationsByRecordZoneID foundation.Dictionary) FetchRecordZoneChangesOperation
Creates an operation for fetching record zone changes. Full Topic
func (FetchRecordZoneChangesOperation) ConfigurationsByRecordZoneID ¶
func (f_ FetchRecordZoneChangesOperation) ConfigurationsByRecordZoneID() foundation.Dictionary
A dictionary of configurations for fetching change operations by zone identifier. Full Topic
func (FetchRecordZoneChangesOperation) FetchAllChanges ¶
func (f_ FetchRecordZoneChangesOperation) FetchAllChanges() bool
A Boolean value that indicates whether to send repeated requests to the server. Full Topic
func (FetchRecordZoneChangesOperation) FetchRecordZoneChangesCompletionBlock ¶
func (f_ FetchRecordZoneChangesOperation) FetchRecordZoneChangesCompletionBlock() func(operationError foundation.Error)
The block to execute when the operation finishes. Full Topic
func (FetchRecordZoneChangesOperation) Init ¶
func (f_ FetchRecordZoneChangesOperation) Init() FetchRecordZoneChangesOperation
func (FetchRecordZoneChangesOperation) InitWithRecordZoneIDsConfigurationsByRecordZoneID ¶
func (f_ FetchRecordZoneChangesOperation) InitWithRecordZoneIDsConfigurationsByRecordZoneID(recordZoneIDs []IRecordZoneID, configurationsByRecordZoneID foundation.Dictionary) FetchRecordZoneChangesOperation
func (FetchRecordZoneChangesOperation) RecordWasChangedBlock ¶
func (f_ FetchRecordZoneChangesOperation) RecordWasChangedBlock() func(recordID RecordID, record Record, error foundation.Error)
[Full Topic]
func (FetchRecordZoneChangesOperation) RecordWithIDWasDeletedBlock ¶
func (f_ FetchRecordZoneChangesOperation) RecordWithIDWasDeletedBlock() func(recordID RecordID, recordType RecordType)
The block to execute when a record no longer exists. Full Topic
func (FetchRecordZoneChangesOperation) RecordZoneChangeTokensUpdatedBlock ¶
func (f_ FetchRecordZoneChangesOperation) RecordZoneChangeTokensUpdatedBlock() func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, clientChangeTokenData []byte)
The block to execute when the change token updates. Full Topic
func (FetchRecordZoneChangesOperation) RecordZoneFetchCompletionBlock ¶
func (f_ FetchRecordZoneChangesOperation) RecordZoneFetchCompletionBlock() func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, clientChangeTokenData []byte, moreComing bool, recordZoneError foundation.Error)
The block to execute when a record zone’s fetch finishes. Full Topic
func (FetchRecordZoneChangesOperation) RecordZoneIDs ¶
func (f_ FetchRecordZoneChangesOperation) RecordZoneIDs() []RecordZoneID
The IDs of the record zones that contain the records to fetch. Full Topic
func (FetchRecordZoneChangesOperation) SetConfigurationsByRecordZoneID ¶
func (f_ FetchRecordZoneChangesOperation) SetConfigurationsByRecordZoneID(value foundation.Dictionary)
A dictionary of configurations for fetching change operations by zone identifier. Full Topic
func (FetchRecordZoneChangesOperation) SetFetchAllChanges ¶
func (f_ FetchRecordZoneChangesOperation) SetFetchAllChanges(value bool)
A Boolean value that indicates whether to send repeated requests to the server. Full Topic
func (FetchRecordZoneChangesOperation) SetFetchRecordZoneChangesCompletionBlock ¶
func (f_ FetchRecordZoneChangesOperation) SetFetchRecordZoneChangesCompletionBlock(value func(operationError foundation.Error))
The block to execute when the operation finishes. Full Topic
func (FetchRecordZoneChangesOperation) SetRecordWasChangedBlock ¶
func (f_ FetchRecordZoneChangesOperation) SetRecordWasChangedBlock(value func(recordID RecordID, record Record, error foundation.Error))
[Full Topic]
func (FetchRecordZoneChangesOperation) SetRecordWithIDWasDeletedBlock ¶
func (f_ FetchRecordZoneChangesOperation) SetRecordWithIDWasDeletedBlock(value func(recordID RecordID, recordType RecordType))
The block to execute when a record no longer exists. Full Topic
func (FetchRecordZoneChangesOperation) SetRecordZoneChangeTokensUpdatedBlock ¶
func (f_ FetchRecordZoneChangesOperation) SetRecordZoneChangeTokensUpdatedBlock(value func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, clientChangeTokenData []byte))
The block to execute when the change token updates. Full Topic
func (FetchRecordZoneChangesOperation) SetRecordZoneFetchCompletionBlock ¶
func (f_ FetchRecordZoneChangesOperation) SetRecordZoneFetchCompletionBlock(value func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, clientChangeTokenData []byte, moreComing bool, recordZoneError foundation.Error))
The block to execute when a record zone’s fetch finishes. Full Topic
func (FetchRecordZoneChangesOperation) SetRecordZoneIDs ¶
func (f_ FetchRecordZoneChangesOperation) SetRecordZoneIDs(value []IRecordZoneID)
The IDs of the record zones that contain the records to fetch. Full Topic
type FetchRecordZoneChangesOptions ¶
A configuration object that describes the information to fetch from a record zone. Full Topic
func FetchRecordZoneChangesOptionsFrom ¶
func FetchRecordZoneChangesOptionsFrom(ptr unsafe.Pointer) FetchRecordZoneChangesOptions
func NewFetchRecordZoneChangesOptions ¶
func NewFetchRecordZoneChangesOptions() FetchRecordZoneChangesOptions
func (FetchRecordZoneChangesOptions) Init ¶
func (f_ FetchRecordZoneChangesOptions) Init() FetchRecordZoneChangesOptions
type FetchRecordZonesOperation ¶
type FetchRecordZonesOperation struct {
DatabaseOperation
}
An operation for retrieving record zones from a database. Full Topic
func FetchRecordZonesOperationFrom ¶
func FetchRecordZonesOperationFrom(ptr unsafe.Pointer) FetchRecordZonesOperation
func FetchRecordZonesOperation_FetchAllRecordZonesOperation ¶
func FetchRecordZonesOperation_FetchAllRecordZonesOperation() FetchRecordZonesOperation
Returns an operation for fetching all record zones in the current database. Full Topic
func NewFetchRecordZonesOperation ¶
func NewFetchRecordZonesOperation() FetchRecordZonesOperation
func NewFetchRecordZonesOperationWithRecordZoneIDs ¶
func NewFetchRecordZonesOperationWithRecordZoneIDs(zoneIDs []IRecordZoneID) FetchRecordZonesOperation
Creates an operation for fetching the specified record zones. Full Topic
func (FetchRecordZonesOperation) FetchRecordZonesCompletionBlock ¶
func (f_ FetchRecordZonesOperation) FetchRecordZonesCompletionBlock() func(recordZonesByZoneID foundation.Dictionary, operationError foundation.Error)
The block to execute after CloudKit retrieves all of the record zones. Full Topic
func (FetchRecordZonesOperation) Init ¶
func (f_ FetchRecordZonesOperation) Init() FetchRecordZonesOperation
func (FetchRecordZonesOperation) InitWithRecordZoneIDs ¶
func (f_ FetchRecordZonesOperation) InitWithRecordZoneIDs(zoneIDs []IRecordZoneID) FetchRecordZonesOperation
func (FetchRecordZonesOperation) PerRecordZoneCompletionBlock ¶
func (f_ FetchRecordZonesOperation) PerRecordZoneCompletionBlock() func(zoneID RecordZoneID, recordZone RecordZone, error foundation.Error)
[Full Topic]
func (FetchRecordZonesOperation) RecordZoneIDs ¶
func (f_ FetchRecordZonesOperation) RecordZoneIDs() []RecordZoneID
The IDs of the record zones to retrieve. Full Topic
func (FetchRecordZonesOperation) SetFetchRecordZonesCompletionBlock ¶
func (f_ FetchRecordZonesOperation) SetFetchRecordZonesCompletionBlock(value func(recordZonesByZoneID foundation.Dictionary, operationError foundation.Error))
The block to execute after CloudKit retrieves all of the record zones. Full Topic
func (FetchRecordZonesOperation) SetPerRecordZoneCompletionBlock ¶
func (f_ FetchRecordZonesOperation) SetPerRecordZoneCompletionBlock(value func(zoneID RecordZoneID, recordZone RecordZone, error foundation.Error))
[Full Topic]
func (FetchRecordZonesOperation) SetRecordZoneIDs ¶
func (f_ FetchRecordZonesOperation) SetRecordZoneIDs(value []IRecordZoneID)
The IDs of the record zones to retrieve. Full Topic
type FetchRecordsOperation ¶
type FetchRecordsOperation struct {
DatabaseOperation
}
An operation for retrieving records from a database. Full Topic
func FetchRecordsOperationFrom ¶
func FetchRecordsOperationFrom(ptr unsafe.Pointer) FetchRecordsOperation
func FetchRecordsOperation_FetchCurrentUserRecordOperation ¶
func FetchRecordsOperation_FetchCurrentUserRecordOperation() FetchRecordsOperation
Returns a fetch operation for retrieving the current user record. Full Topic
func NewFetchRecordsOperation ¶
func NewFetchRecordsOperation() FetchRecordsOperation
func NewFetchRecordsOperationWithRecordIDs ¶
func NewFetchRecordsOperationWithRecordIDs(recordIDs []IRecordID) FetchRecordsOperation
Creates a fetch operation for retrieving the records with the specified IDs. Full Topic
func (FetchRecordsOperation) DesiredKeys ¶
func (f_ FetchRecordsOperation) DesiredKeys() []RecordFieldKey
The fields of the records to fetch. Full Topic
func (FetchRecordsOperation) FetchRecordsCompletionBlock ¶
func (f_ FetchRecordsOperation) FetchRecordsCompletionBlock() func(recordsByRecordID foundation.Dictionary, operationError foundation.Error)
The block to execute after CloudKit retrieves all of the records. Full Topic
func (FetchRecordsOperation) Init ¶
func (f_ FetchRecordsOperation) Init() FetchRecordsOperation
func (FetchRecordsOperation) InitWithRecordIDs ¶
func (f_ FetchRecordsOperation) InitWithRecordIDs(recordIDs []IRecordID) FetchRecordsOperation
func (FetchRecordsOperation) PerRecordCompletionBlock ¶
func (f_ FetchRecordsOperation) PerRecordCompletionBlock() func(record Record, recordID RecordID, error foundation.Error)
The block to execute when a record becomes available. Full Topic
func (FetchRecordsOperation) PerRecordProgressBlock ¶
func (f_ FetchRecordsOperation) PerRecordProgressBlock() func(recordID RecordID, progress float64)
The block to execute with progress information for individual records. Full Topic
func (FetchRecordsOperation) RecordIDs ¶
func (f_ FetchRecordsOperation) RecordIDs() []RecordID
The record IDs of the records to fetch. Full Topic
func (FetchRecordsOperation) SetDesiredKeys ¶
func (f_ FetchRecordsOperation) SetDesiredKeys(value []RecordFieldKey)
The fields of the records to fetch. Full Topic
func (FetchRecordsOperation) SetFetchRecordsCompletionBlock ¶
func (f_ FetchRecordsOperation) SetFetchRecordsCompletionBlock(value func(recordsByRecordID foundation.Dictionary, operationError foundation.Error))
The block to execute after CloudKit retrieves all of the records. Full Topic
func (FetchRecordsOperation) SetPerRecordCompletionBlock ¶
func (f_ FetchRecordsOperation) SetPerRecordCompletionBlock(value func(record Record, recordID RecordID, error foundation.Error))
The block to execute when a record becomes available. Full Topic
func (FetchRecordsOperation) SetPerRecordProgressBlock ¶
func (f_ FetchRecordsOperation) SetPerRecordProgressBlock(value func(recordID RecordID, progress float64))
The block to execute with progress information for individual records. Full Topic
func (FetchRecordsOperation) SetRecordIDs ¶
func (f_ FetchRecordsOperation) SetRecordIDs(value []IRecordID)
The record IDs of the records to fetch. Full Topic
type FetchShareMetadataOperation ¶
type FetchShareMetadataOperation struct {
}An operation that fetches metadata for one or more shares. Full Topic
func FetchShareMetadataOperationFrom ¶
func FetchShareMetadataOperationFrom(ptr unsafe.Pointer) FetchShareMetadataOperation
func NewFetchShareMetadataOperation ¶
func NewFetchShareMetadataOperation() FetchShareMetadataOperation
func NewFetchShareMetadataOperationWithShareURLs ¶
func NewFetchShareMetadataOperationWithShareURLs(shareURLs []foundation.IURL) FetchShareMetadataOperation
Creates an operation for fetching the metadata for the specified shares. Full Topic
func (FetchShareMetadataOperation) FetchShareMetadataCompletionBlock ¶
func (f_ FetchShareMetadataOperation) FetchShareMetadataCompletionBlock() func(operationError foundation.Error)
The block to execute when the operation finishes. Full Topic
func (FetchShareMetadataOperation) Init ¶
func (f_ FetchShareMetadataOperation) Init() FetchShareMetadataOperation
func (FetchShareMetadataOperation) InitWithShareURLs ¶
func (f_ FetchShareMetadataOperation) InitWithShareURLs(shareURLs []foundation.IURL) FetchShareMetadataOperation
func (FetchShareMetadataOperation) PerShareMetadataBlock ¶
func (f_ FetchShareMetadataOperation) PerShareMetadataBlock() func(shareURL foundation.URL, shareMetadata ShareMetadata, error foundation.Error)
The block to execute as the operation fetches individual shares. Full Topic
func (FetchShareMetadataOperation) RootRecordDesiredKeys ¶
func (f_ FetchShareMetadataOperation) RootRecordDesiredKeys() []RecordFieldKey
The fields to return when fetching the root record. Full Topic
func (FetchShareMetadataOperation) SetFetchShareMetadataCompletionBlock ¶
func (f_ FetchShareMetadataOperation) SetFetchShareMetadataCompletionBlock(value func(operationError foundation.Error))
The block to execute when the operation finishes. Full Topic
func (FetchShareMetadataOperation) SetPerShareMetadataBlock ¶
func (f_ FetchShareMetadataOperation) SetPerShareMetadataBlock(value func(shareURL foundation.URL, shareMetadata ShareMetadata, error foundation.Error))
The block to execute as the operation fetches individual shares. Full Topic
func (FetchShareMetadataOperation) SetRootRecordDesiredKeys ¶
func (f_ FetchShareMetadataOperation) SetRootRecordDesiredKeys(value []RecordFieldKey)
The fields to return when fetching the root record. Full Topic
func (FetchShareMetadataOperation) SetShareURLs ¶
func (f_ FetchShareMetadataOperation) SetShareURLs(value []foundation.IURL)
The URLs of the shares to fetch. Full Topic
func (FetchShareMetadataOperation) SetShouldFetchRootRecord ¶
func (f_ FetchShareMetadataOperation) SetShouldFetchRootRecord(value bool)
A Boolean value that indicates whether to retrieve the root record. Full Topic
func (FetchShareMetadataOperation) ShareURLs ¶
func (f_ FetchShareMetadataOperation) ShareURLs() []foundation.URL
The URLs of the shares to fetch. Full Topic
func (FetchShareMetadataOperation) ShouldFetchRootRecord ¶
func (f_ FetchShareMetadataOperation) ShouldFetchRootRecord() bool
A Boolean value that indicates whether to retrieve the root record. Full Topic
type FetchShareParticipantsOperation ¶
type FetchShareParticipantsOperation struct {
}An operation that converts user identities into share participants. Full Topic
func FetchShareParticipantsOperationFrom ¶
func FetchShareParticipantsOperationFrom(ptr unsafe.Pointer) FetchShareParticipantsOperation
func NewFetchShareParticipantsOperation ¶
func NewFetchShareParticipantsOperation() FetchShareParticipantsOperation
func NewFetchShareParticipantsOperationWithUserIdentityLookupInfos ¶
func NewFetchShareParticipantsOperationWithUserIdentityLookupInfos(userIdentityLookupInfos []IUserIdentityLookupInfo) FetchShareParticipantsOperation
Creates an operation for generating share participants from the specified user data. Full Topic
func (FetchShareParticipantsOperation) FetchShareParticipantsCompletionBlock ¶
func (f_ FetchShareParticipantsOperation) FetchShareParticipantsCompletionBlock() func(operationError foundation.Error)
The block to execute when the operation finishes. Full Topic
func (FetchShareParticipantsOperation) Init ¶
func (f_ FetchShareParticipantsOperation) Init() FetchShareParticipantsOperation
func (FetchShareParticipantsOperation) InitWithUserIdentityLookupInfos ¶
func (f_ FetchShareParticipantsOperation) InitWithUserIdentityLookupInfos(userIdentityLookupInfos []IUserIdentityLookupInfo) FetchShareParticipantsOperation
func (FetchShareParticipantsOperation) PerShareParticipantCompletionBlock ¶
func (f_ FetchShareParticipantsOperation) PerShareParticipantCompletionBlock() func(lookupInfo UserIdentityLookupInfo, participant ShareParticipant, error foundation.Error)
[Full Topic]
func (FetchShareParticipantsOperation) SetFetchShareParticipantsCompletionBlock ¶
func (f_ FetchShareParticipantsOperation) SetFetchShareParticipantsCompletionBlock(value func(operationError foundation.Error))
The block to execute when the operation finishes. Full Topic
func (FetchShareParticipantsOperation) SetPerShareParticipantCompletionBlock ¶
func (f_ FetchShareParticipantsOperation) SetPerShareParticipantCompletionBlock(value func(lookupInfo UserIdentityLookupInfo, participant ShareParticipant, error foundation.Error))
[Full Topic]
func (FetchShareParticipantsOperation) SetUserIdentityLookupInfos ¶
func (f_ FetchShareParticipantsOperation) SetUserIdentityLookupInfos(value []IUserIdentityLookupInfo)
The user data for the participants. Full Topic
func (FetchShareParticipantsOperation) UserIdentityLookupInfos ¶
func (f_ FetchShareParticipantsOperation) UserIdentityLookupInfos() []UserIdentityLookupInfo
The user data for the participants. Full Topic
type FetchSubscriptionsOperation ¶
type FetchSubscriptionsOperation struct {
DatabaseOperation
}
An operation for fetching subscriptions. Full Topic
func FetchSubscriptionsOperationFrom ¶
func FetchSubscriptionsOperationFrom(ptr unsafe.Pointer) FetchSubscriptionsOperation
func FetchSubscriptionsOperation_FetchAllSubscriptionsOperation ¶
func FetchSubscriptionsOperation_FetchAllSubscriptionsOperation() FetchSubscriptionsOperation
Returns an operation that fetches all of the user’s subscriptions. Full Topic
func NewFetchSubscriptionsOperation ¶
func NewFetchSubscriptionsOperation() FetchSubscriptionsOperation
func NewFetchSubscriptionsOperationWithSubscriptionIDs ¶
func NewFetchSubscriptionsOperationWithSubscriptionIDs(subscriptionIDs []SubscriptionID) FetchSubscriptionsOperation
Creates an operation for fetching the specified subscriptions. Full Topic
func (FetchSubscriptionsOperation) FetchSubscriptionCompletionBlock ¶
func (f_ FetchSubscriptionsOperation) FetchSubscriptionCompletionBlock() func(subscriptionsBySubscriptionID map[SubscriptionID]Subscription, operationError foundation.Error)
The block to execute after the operation fetches the subscriptions. Full Topic
func (FetchSubscriptionsOperation) Init ¶
func (f_ FetchSubscriptionsOperation) Init() FetchSubscriptionsOperation
func (FetchSubscriptionsOperation) InitWithSubscriptionIDs ¶
func (f_ FetchSubscriptionsOperation) InitWithSubscriptionIDs(subscriptionIDs []SubscriptionID) FetchSubscriptionsOperation
func (FetchSubscriptionsOperation) PerSubscriptionCompletionBlock ¶
func (f_ FetchSubscriptionsOperation) PerSubscriptionCompletionBlock() func(subscriptionID SubscriptionID, subscription Subscription, error foundation.Error)
[Full Topic]
func (FetchSubscriptionsOperation) SetFetchSubscriptionCompletionBlock ¶
func (f_ FetchSubscriptionsOperation) SetFetchSubscriptionCompletionBlock(value func(subscriptionsBySubscriptionID map[SubscriptionID]Subscription, operationError foundation.Error))
The block to execute after the operation fetches the subscriptions. Full Topic
func (FetchSubscriptionsOperation) SetPerSubscriptionCompletionBlock ¶
func (f_ FetchSubscriptionsOperation) SetPerSubscriptionCompletionBlock(value func(subscriptionID SubscriptionID, subscription Subscription, error foundation.Error))
[Full Topic]
func (FetchSubscriptionsOperation) SetSubscriptionIDs ¶
func (f_ FetchSubscriptionsOperation) SetSubscriptionIDs(value []SubscriptionID)
The IDs of the subscriptions to fetch. Full Topic
func (FetchSubscriptionsOperation) SubscriptionIDs ¶
func (f_ FetchSubscriptionsOperation) SubscriptionIDs() []SubscriptionID
The IDs of the subscriptions to fetch. Full Topic
type FetchWebAuthTokenOperation ¶
type FetchWebAuthTokenOperation struct {
DatabaseOperation
}
An operation that creates an authentication token for use with CloudKit web services. Full Topic
func FetchWebAuthTokenOperationFrom ¶
func FetchWebAuthTokenOperationFrom(ptr unsafe.Pointer) FetchWebAuthTokenOperation
func NewFetchWebAuthTokenOperation ¶
func NewFetchWebAuthTokenOperation() FetchWebAuthTokenOperation
func NewFetchWebAuthTokenOperationWithAPIToken ¶
func NewFetchWebAuthTokenOperationWithAPIToken(APIToken string) FetchWebAuthTokenOperation
Creates a fetch operation for the specified API token. Full Topic
func (FetchWebAuthTokenOperation) APIToken ¶
func (f_ FetchWebAuthTokenOperation) APIToken() string
The API token that allows access to an app’s container. Full Topic
func (FetchWebAuthTokenOperation) FetchWebAuthTokenCompletionBlock ¶
func (f_ FetchWebAuthTokenOperation) FetchWebAuthTokenCompletionBlock() func(webAuthToken string, operationError foundation.Error)
The block to execute when the operation finishes. Full Topic
func (FetchWebAuthTokenOperation) Init ¶
func (f_ FetchWebAuthTokenOperation) Init() FetchWebAuthTokenOperation
func (FetchWebAuthTokenOperation) InitWithAPIToken ¶
func (f_ FetchWebAuthTokenOperation) InitWithAPIToken(APIToken string) FetchWebAuthTokenOperation
func (FetchWebAuthTokenOperation) SetAPIToken ¶
func (f_ FetchWebAuthTokenOperation) SetAPIToken(value string)
The API token that allows access to an app’s container. Full Topic
func (FetchWebAuthTokenOperation) SetFetchWebAuthTokenCompletionBlock ¶
func (f_ FetchWebAuthTokenOperation) SetFetchWebAuthTokenCompletionBlock(value func(webAuthToken string, operationError foundation.Error))
The block to execute when the operation finishes. Full Topic
type IAcceptSharesOperation ¶
type IAcceptSharesOperation interface { IOperation }
An interface definition for the AcceptSharesOperation class.
type IAsset ¶
type IAsset interface { objc.IObject FileURL() foundation.URL }
An interface definition for the Asset class.
type IContainer ¶
type IContainer interface { objc.IObject FetchAllLongLivedOperationIDsWithCompletionHandler(completionHandler func(outstandingOperationIDs []OperationID, error foundation.Error)) DatabaseWithDatabaseScope(databaseScope DatabaseScope) Database AccountStatusWithCompletionHandler(completionHandler func(accountStatus AccountStatus, error foundation.Error)) AddOperation(operation IOperation) FetchUserRecordIDWithCompletionHandler(completionHandler func(recordID RecordID, error foundation.Error)) FetchLongLivedOperationWithIDCompletionHandler(operationID OperationID, completionHandler func(outstandingOperation Operation, error foundation.Error)) PublicCloudDatabase() Database ContainerIdentifier() string PrivateCloudDatabase() Database }
An interface definition for the Container class.
type IDatabase ¶
type IDatabase interface { objc.IObject SaveRecordCompletionHandler(record IRecord, completionHandler func(record Record, error foundation.Error)) DeleteSubscriptionWithIDCompletionHandler(subscriptionID SubscriptionID, completionHandler func(subscriptionID SubscriptionID, error foundation.Error)) PerformQueryInZoneWithIDCompletionHandler(query IQuery, zoneID IRecordZoneID, completionHandler func(results []Record, error foundation.Error)) SaveSubscriptionCompletionHandler(subscription ISubscription, completionHandler func(subscription Subscription, error foundation.Error)) FetchSubscriptionWithIDCompletionHandler(subscriptionID SubscriptionID, completionHandler func(subscription Subscription, error foundation.Error)) DeleteRecordWithIDCompletionHandler(recordID IRecordID, completionHandler func(recordID RecordID, error foundation.Error)) FetchRecordWithIDCompletionHandler(recordID IRecordID, completionHandler func(record Record, error foundation.Error)) FetchRecordZoneWithIDCompletionHandler(zoneID IRecordZoneID, completionHandler func(zone RecordZone, error foundation.Error)) FetchAllRecordZonesWithCompletionHandler(completionHandler func(zones []RecordZone, error foundation.Error)) FetchAllSubscriptionsWithCompletionHandler(completionHandler func(subscriptions []Subscription, error foundation.Error)) DeleteRecordZoneWithIDCompletionHandler(zoneID IRecordZoneID, completionHandler func(zoneID RecordZoneID, error foundation.Error)) SaveRecordZoneCompletionHandler(zone IRecordZone, completionHandler func(zone RecordZone, error foundation.Error)) AddOperation(operation IDatabaseOperation) DatabaseScope() DatabaseScope }
An interface definition for the Database class.
type IDatabaseNotification ¶
type IDatabaseNotification interface { INotification DatabaseScope() DatabaseScope }
An interface definition for the DatabaseNotification class.
type IDatabaseOperation ¶
type IDatabaseOperation interface { IOperation Database() Database SetDatabase(value IDatabase) }
An interface definition for the DatabaseOperation class.
type IDatabaseSubscription ¶
type IDatabaseSubscription interface { ISubscription RecordType() RecordType SetRecordType(value RecordType) }
An interface definition for the DatabaseSubscription class.
type IDiscoverAllUserIdentitiesOperation ¶
type IDiscoverAllUserIdentitiesOperation interface { IOperation }
An interface definition for the DiscoverAllUserIdentitiesOperation class.
type IDiscoverUserIdentitiesOperation ¶
type IDiscoverUserIdentitiesOperation interface { IOperation }
An interface definition for the DiscoverUserIdentitiesOperation class.
type IFetchDatabaseChangesOperation ¶
type IFetchDatabaseChangesOperation interface { IDatabaseOperation RecordZoneWithIDWasPurgedBlock() func(zoneID RecordZoneID) SetRecordZoneWithIDWasPurgedBlock(value func(zoneID RecordZoneID)) RecordZoneWithIDWasDeletedBlock() func(zoneID RecordZoneID) SetRecordZoneWithIDWasDeletedBlock(value func(zoneID RecordZoneID)) ChangeTokenUpdatedBlock() func(serverChangeToken ServerChangeToken) SetChangeTokenUpdatedBlock(value func(serverChangeToken ServerChangeToken)) FetchAllChanges() bool SetFetchAllChanges(value bool) RecordZoneWithIDChangedBlock() func(zoneID RecordZoneID) SetRecordZoneWithIDChangedBlock(value func(zoneID RecordZoneID)) FetchDatabaseChangesCompletionBlock() func(serverChangeToken ServerChangeToken, moreComing bool, operationError foundation.Error) SetFetchDatabaseChangesCompletionBlock(value func(serverChangeToken ServerChangeToken, moreComing bool, operationError foundation.Error)) RecordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock() func(zoneID RecordZoneID) SetRecordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock(value func(zoneID RecordZoneID)) ResultsLimit() uint SetResultsLimit(value uint) PreviousServerChangeToken() ServerChangeToken SetPreviousServerChangeToken(value IServerChangeToken) }
An interface definition for the FetchDatabaseChangesOperation class.
type IFetchNotificationChangesOperation ¶
type IFetchNotificationChangesOperation interface { IOperation }
An interface definition for the FetchNotificationChangesOperation class.
type IFetchRecordChangesOperation ¶
type IFetchRecordChangesOperation interface { IDatabaseOperation }
An interface definition for the FetchRecordChangesOperation class.
type IFetchRecordZoneChangesConfiguration ¶
type IFetchRecordZoneChangesConfiguration interface { objc.IObject DesiredKeys() []RecordFieldKey SetDesiredKeys(value []RecordFieldKey) ResultsLimit() uint SetResultsLimit(value uint) PreviousServerChangeToken() ServerChangeToken SetPreviousServerChangeToken(value IServerChangeToken) }
An interface definition for the FetchRecordZoneChangesConfiguration class.
type IFetchRecordZoneChangesOperation ¶
type IFetchRecordZoneChangesOperation interface { IDatabaseOperation RecordWasChangedBlock() func(recordID RecordID, record Record, error foundation.Error) SetRecordWasChangedBlock(value func(recordID RecordID, record Record, error foundation.Error)) RecordZoneFetchCompletionBlock() func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, clientChangeTokenData []byte, moreComing bool, recordZoneError foundation.Error) SetRecordZoneFetchCompletionBlock(value func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, clientChangeTokenData []byte, moreComing bool, recordZoneError foundation.Error)) RecordWithIDWasDeletedBlock() func(recordID RecordID, recordType RecordType) SetRecordWithIDWasDeletedBlock(value func(recordID RecordID, recordType RecordType)) FetchRecordZoneChangesCompletionBlock() func(operationError foundation.Error) SetFetchRecordZoneChangesCompletionBlock(value func(operationError foundation.Error)) ConfigurationsByRecordZoneID() foundation.Dictionary SetConfigurationsByRecordZoneID(value foundation.Dictionary) FetchAllChanges() bool SetFetchAllChanges(value bool) RecordZoneChangeTokensUpdatedBlock() func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, clientChangeTokenData []byte) SetRecordZoneChangeTokensUpdatedBlock(value func(recordZoneID RecordZoneID, serverChangeToken ServerChangeToken, clientChangeTokenData []byte)) RecordZoneIDs() []RecordZoneID SetRecordZoneIDs(value []IRecordZoneID) }
An interface definition for the FetchRecordZoneChangesOperation class.
type IFetchRecordZoneChangesOptions ¶
An interface definition for the FetchRecordZoneChangesOptions class.
type IFetchRecordZonesOperation ¶
type IFetchRecordZonesOperation interface { IDatabaseOperation PerRecordZoneCompletionBlock() func(zoneID RecordZoneID, recordZone RecordZone, error foundation.Error) SetPerRecordZoneCompletionBlock(value func(zoneID RecordZoneID, recordZone RecordZone, error foundation.Error)) FetchRecordZonesCompletionBlock() func(recordZonesByZoneID foundation.Dictionary, operationError foundation.Error) SetFetchRecordZonesCompletionBlock(value func(recordZonesByZoneID foundation.Dictionary, operationError foundation.Error)) RecordZoneIDs() []RecordZoneID SetRecordZoneIDs(value []IRecordZoneID) }
An interface definition for the FetchRecordZonesOperation class.
type IFetchRecordsOperation ¶
type IFetchRecordsOperation interface { IDatabaseOperation PerRecordProgressBlock() func(recordID RecordID, progress float64) SetPerRecordProgressBlock(value func(recordID RecordID, progress float64)) PerRecordCompletionBlock() func(record Record, recordID RecordID, error foundation.Error) SetPerRecordCompletionBlock(value func(record Record, recordID RecordID, error foundation.Error)) FetchRecordsCompletionBlock() func(recordsByRecordID foundation.Dictionary, operationError foundation.Error) SetFetchRecordsCompletionBlock(value func(recordsByRecordID foundation.Dictionary, operationError foundation.Error)) DesiredKeys() []RecordFieldKey SetDesiredKeys(value []RecordFieldKey) RecordIDs() []RecordID SetRecordIDs(value []IRecordID) }
An interface definition for the FetchRecordsOperation class.
type IFetchShareMetadataOperation ¶
type IFetchShareMetadataOperation interface { IOperation }
An interface definition for the FetchShareMetadataOperation class.
type IFetchShareParticipantsOperation ¶
type IFetchShareParticipantsOperation interface { IOperation }
An interface definition for the FetchShareParticipantsOperation class.
type IFetchSubscriptionsOperation ¶
type IFetchSubscriptionsOperation interface { IDatabaseOperation PerSubscriptionCompletionBlock() func(subscriptionID SubscriptionID, subscription Subscription, error foundation.Error) SetPerSubscriptionCompletionBlock(value func(subscriptionID SubscriptionID, subscription Subscription, error foundation.Error)) SubscriptionIDs() []SubscriptionID SetSubscriptionIDs(value []SubscriptionID) FetchSubscriptionCompletionBlock() func(subscriptionsBySubscriptionID map[SubscriptionID]Subscription, operationError foundation.Error) SetFetchSubscriptionCompletionBlock(value func(subscriptionsBySubscriptionID map[SubscriptionID]Subscription, operationError foundation.Error)) }
An interface definition for the FetchSubscriptionsOperation class.
type IFetchWebAuthTokenOperation ¶
type IFetchWebAuthTokenOperation interface { IDatabaseOperation APIToken() string SetAPIToken(value string) FetchWebAuthTokenCompletionBlock() func(webAuthToken string, operationError foundation.Error) SetFetchWebAuthTokenCompletionBlock(value func(webAuthToken string, operationError foundation.Error)) }
An interface definition for the FetchWebAuthTokenOperation class.
type ILocationSortDescriptor ¶
type ILocationSortDescriptor interface { foundation.ISortDescriptor RelativeLocation() objc.Object }
An interface definition for the LocationSortDescriptor class.
type IMarkNotificationsReadOperation ¶
type IMarkNotificationsReadOperation interface { IOperation }
An interface definition for the MarkNotificationsReadOperation class.
type IModifyBadgeOperation ¶
type IModifyBadgeOperation interface { IOperation }
An interface definition for the ModifyBadgeOperation class.
type IModifyRecordZonesOperation ¶
type IModifyRecordZonesOperation interface { IDatabaseOperation ModifyRecordZonesCompletionBlock() func(savedRecordZones []RecordZone, deletedRecordZoneIDs []RecordZoneID, operationError foundation.Error) SetModifyRecordZonesCompletionBlock(value func(savedRecordZones []RecordZone, deletedRecordZoneIDs []RecordZoneID, operationError foundation.Error)) RecordZonesToSave() []RecordZone SetRecordZonesToSave(value []IRecordZone) PerRecordZoneDeleteBlock() func(recordZoneID RecordZoneID, error foundation.Error) SetPerRecordZoneDeleteBlock(value func(recordZoneID RecordZoneID, error foundation.Error)) PerRecordZoneSaveBlock() func(recordZoneID RecordZoneID, recordZone RecordZone, error foundation.Error) SetPerRecordZoneSaveBlock(value func(recordZoneID RecordZoneID, recordZone RecordZone, error foundation.Error)) RecordZoneIDsToDelete() []RecordZoneID SetRecordZoneIDsToDelete(value []IRecordZoneID) }
An interface definition for the ModifyRecordZonesOperation class.
type IModifyRecordsOperation ¶
type IModifyRecordsOperation interface { IDatabaseOperation ClientChangeTokenData() []byte SetClientChangeTokenData(value []byte) PerRecordDeleteBlock() func(recordID RecordID, error foundation.Error) SetPerRecordDeleteBlock(value func(recordID RecordID, error foundation.Error)) RecordIDsToDelete() []RecordID SetRecordIDsToDelete(value []IRecordID) SavePolicy() RecordSavePolicy SetSavePolicy(value RecordSavePolicy) RecordsToSave() []Record SetRecordsToSave(value []IRecord) PerRecordSaveBlock() func(recordID RecordID, record Record, error foundation.Error) SetPerRecordSaveBlock(value func(recordID RecordID, record Record, error foundation.Error)) PerRecordProgressBlock() func(record Record, progress float64) SetPerRecordProgressBlock(value func(record Record, progress float64)) ModifyRecordsCompletionBlock() func(savedRecords []Record, deletedRecordIDs []RecordID, operationError foundation.Error) SetModifyRecordsCompletionBlock(value func(savedRecords []Record, deletedRecordIDs []RecordID, operationError foundation.Error)) Atomic() bool SetAtomic(value bool) }
An interface definition for the ModifyRecordsOperation class.
type IModifySubscriptionsOperation ¶
type IModifySubscriptionsOperation interface { IDatabaseOperation ModifySubscriptionsCompletionBlock() func(savedSubscriptions []Subscription, deletedSubscriptionIDs []SubscriptionID, operationError foundation.Error) SetModifySubscriptionsCompletionBlock(value func(savedSubscriptions []Subscription, deletedSubscriptionIDs []SubscriptionID, operationError foundation.Error)) SubscriptionsToSave() []Subscription SetSubscriptionsToSave(value []ISubscription) SubscriptionIDsToDelete() []SubscriptionID SetSubscriptionIDsToDelete(value []SubscriptionID) PerSubscriptionSaveBlock() func(subscriptionID SubscriptionID, subscription Subscription, error foundation.Error) SetPerSubscriptionSaveBlock(value func(subscriptionID SubscriptionID, subscription Subscription, error foundation.Error)) PerSubscriptionDeleteBlock() func(subscriptionID SubscriptionID, error foundation.Error) SetPerSubscriptionDeleteBlock(value func(subscriptionID SubscriptionID, error foundation.Error)) }
An interface definition for the ModifySubscriptionsOperation class.
type INotification ¶
type INotification interface { objc.IObject ContainerIdentifier() string SubscriptionID() SubscriptionID NotificationType() NotificationType NotificationID() NotificationID SubscriptionOwnerUserRecordID() RecordID IsPruned() bool }
An interface definition for the Notification class.
type INotificationID ¶
An interface definition for the NotificationID class.
type INotificationInfo ¶
type INotificationInfo interface { objc.IObject ShouldBadge() bool SetShouldBadge(value bool) Category() string SetCategory(value string) DesiredKeys() []RecordFieldKey SetDesiredKeys(value []RecordFieldKey) AlertLaunchImage() string SetAlertLaunchImage(value string) Subtitle() string SetSubtitle(value string) ShouldSendMutableContent() bool SetShouldSendMutableContent(value bool) SoundName() string SetSoundName(value string) SubtitleLocalizationKey() string SetSubtitleLocalizationKey(value string) AlertLocalizationKey() string SetAlertLocalizationKey(value string) AlertLocalizationArgs() []RecordFieldKey SetAlertLocalizationArgs(value []RecordFieldKey) AlertActionLocalizationKey() string SetAlertActionLocalizationKey(value string) ShouldSendContentAvailable() bool SetShouldSendContentAvailable(value bool) SubtitleLocalizationArgs() []RecordFieldKey SetSubtitleLocalizationArgs(value []RecordFieldKey) TitleLocalizationKey() string SetTitleLocalizationKey(value string) CollapseIDKey() string SetCollapseIDKey(value string) TitleLocalizationArgs() []RecordFieldKey SetTitleLocalizationArgs(value []RecordFieldKey) Title() string SetTitle(value string) AlertBody() string SetAlertBody(value string) }
An interface definition for the NotificationInfo class.
type IOperation ¶
type IOperation interface { foundation.IOperation LongLivedOperationWasPersistedBlock() func() SetLongLivedOperationWasPersistedBlock(value func()) OperationID() OperationID Group() OperationGroup SetGroup(value IOperationGroup) Configuration() OperationConfiguration SetConfiguration(value IOperationConfiguration) }
An interface definition for the Operation class.
type IOperationConfiguration ¶
type IOperationConfiguration interface { objc.IObject AllowsCellularAccess() bool SetAllowsCellularAccess(value bool) IsLongLived() bool SetLongLived(value bool) TimeoutIntervalForRequest() foundation.TimeInterval SetTimeoutIntervalForRequest(value foundation.TimeInterval) QualityOfService() foundation.QualityOfService SetQualityOfService(value foundation.QualityOfService) TimeoutIntervalForResource() foundation.TimeInterval SetTimeoutIntervalForResource(value foundation.TimeInterval) Container() Container SetContainer(value IContainer) }
An interface definition for the OperationConfiguration class.
type IOperationGroup ¶
type IOperationGroup interface { objc.IObject OperationGroupID() string Name() string SetName(value string) ExpectedSendSize() OperationGroupTransferSize SetExpectedSendSize(value OperationGroupTransferSize) ExpectedReceiveSize() OperationGroupTransferSize SetExpectedReceiveSize(value OperationGroupTransferSize) DefaultConfiguration() OperationConfiguration SetDefaultConfiguration(value IOperationConfiguration) Quantity() uint SetQuantity(value uint) }
An interface definition for the OperationGroup class.
type IQuery ¶
type IQuery interface { objc.IObject Predicate() foundation.Predicate RecordType() RecordType SortDescriptors() []foundation.SortDescriptor SetSortDescriptors(value []foundation.ISortDescriptor) }
An interface definition for the Query class.
type IQueryCursor ¶
An interface definition for the QueryCursor class.
type IQueryNotification ¶
type IQueryNotification interface { INotification RecordID() RecordID RecordFields() map[string]objc.Object QueryNotificationReason() QueryNotificationReason DatabaseScope() DatabaseScope }
An interface definition for the QueryNotification class.
type IQueryOperation ¶
type IQueryOperation interface { IDatabaseOperation Cursor() QueryCursor SetCursor(value IQueryCursor) QueryCompletionBlock() func(cursor QueryCursor, operationError foundation.Error) SetQueryCompletionBlock(value func(cursor QueryCursor, operationError foundation.Error)) RecordMatchedBlock() func(recordID RecordID, record Record, error foundation.Error) SetRecordMatchedBlock(value func(recordID RecordID, record Record, error foundation.Error)) Query() Query SetQuery(value IQuery) ResultsLimit() uint SetResultsLimit(value uint) DesiredKeys() []RecordFieldKey SetDesiredKeys(value []RecordFieldKey) ZoneID() RecordZoneID SetZoneID(value IRecordZoneID) }
An interface definition for the QueryOperation class.
type IQuerySubscription ¶
type IQuerySubscription interface { ISubscription Predicate() foundation.Predicate QuerySubscriptionOptions() QuerySubscriptionOptions ZoneID() RecordZoneID SetZoneID(value IRecordZoneID) RecordType() RecordType }
An interface definition for the QuerySubscription class.
type IRecord ¶
type IRecord interface { objc.IObject EncodeSystemFieldsWithCoder(coder foundation.ICoder) SetParentReferenceFromRecordID(parentRecordID IRecordID) ChangedKeys() []RecordFieldKey AllTokens() []string SetParentReferenceFromRecord(parentRecord IRecord) ObjectForKey(key RecordFieldKey) RecordValueObject SetObjectForKeyedSubscript(object PRecordValue, key RecordFieldKey) SetObjectObjectForKeyedSubscript(objectObject objc.IObject, key RecordFieldKey) AllKeys() []RecordFieldKey ObjectForKeyedSubscript(key RecordFieldKey) RecordValueObject SetObjectForKey(object PRecordValue, key RecordFieldKey) SetObjectObjectForKey(objectObject objc.IObject, key RecordFieldKey) CreatorUserRecordID() RecordID ModificationDate() foundation.Date RecordChangeTag() string CreationDate() foundation.Date LastModifiedUserRecordID() RecordID EncryptedValues() RecordKeyValueSettingObject Parent() Reference SetParent(value IReference) RecordType() RecordType RecordID() RecordID }
An interface definition for the Record class.
type IRecordID ¶
type IRecordID interface { objc.IObject RecordName() string ZoneID() RecordZoneID }
An interface definition for the RecordID class.
type IRecordZone ¶
type IRecordZone interface { objc.IObject Capabilities() RecordZoneCapabilities ZoneID() RecordZoneID }
An interface definition for the RecordZone class.
type IRecordZoneID ¶
An interface definition for the RecordZoneID class.
type IRecordZoneNotification ¶
type IRecordZoneNotification interface { INotification DatabaseScope() DatabaseScope RecordZoneID() RecordZoneID }
An interface definition for the RecordZoneNotification class.
type IRecordZoneSubscription ¶
type IRecordZoneSubscription interface { ISubscription RecordType() RecordType SetRecordType(value RecordType) ZoneID() RecordZoneID }
An interface definition for the RecordZoneSubscription class.
type IReference ¶
type IReference interface { objc.IObject ReferenceAction() ReferenceAction RecordID() RecordID }
An interface definition for the Reference class.
type IServerChangeToken ¶
An interface definition for the ServerChangeToken class.
type IShareMetadata ¶
An interface definition for the ShareMetadata class.
type IShareParticipant ¶
An interface definition for the ShareParticipant class.
type ISubscription ¶
type ISubscription interface { objc.IObject NotificationInfo() NotificationInfo SetNotificationInfo(value INotificationInfo) SubscriptionType() SubscriptionType SubscriptionID() SubscriptionID }
An interface definition for the Subscription class.
type IUserIdentity ¶
type IUserIdentity interface { objc.IObject HasiCloudAccount() bool LookupInfo() UserIdentityLookupInfo NameComponents() foundation.PersonNameComponents ContactIdentifiers() []string UserRecordID() RecordID }
An interface definition for the UserIdentity class.
type IUserIdentityLookupInfo ¶
type IUserIdentityLookupInfo interface { objc.IObject EmailAddress() string PhoneNumber() string UserRecordID() RecordID }
An interface definition for the UserIdentityLookupInfo class.
type LocationSortDescriptor ¶
type LocationSortDescriptor struct {
foundation.SortDescriptor
}
An object for sorting records that contain location data. Full Topic
func LocationSortDescriptorFrom ¶
func LocationSortDescriptorFrom(ptr unsafe.Pointer) LocationSortDescriptor
func LocationSortDescriptor_SortDescriptorWithKeyAscending ¶
func LocationSortDescriptor_SortDescriptorWithKeyAscending(key string, ascending bool) LocationSortDescriptor
Creates and returns a sort descriptor with the specified key path and ordering. Full Topic
func LocationSortDescriptor_SortDescriptorWithKeyAscendingComparator ¶
func LocationSortDescriptor_SortDescriptorWithKeyAscendingComparator(key string, ascending bool, cmptr foundation.Comparator) LocationSortDescriptor
Creates and returns a sort descriptor initialized with the specified key path and ordering, and a comparator block. Full Topic
func LocationSortDescriptor_SortDescriptorWithKeyAscendingSelector ¶
func LocationSortDescriptor_SortDescriptorWithKeyAscendingSelector(key string, ascending bool, selector objc.Selector) LocationSortDescriptor
Creates a sort descriptor with the specified key path, ordering, and comparison selector. Full Topic
func NewLocationSortDescriptor ¶
func NewLocationSortDescriptor() LocationSortDescriptor
func NewLocationSortDescriptorWithKeyAscending ¶
func NewLocationSortDescriptorWithKeyAscending(key string, ascending bool) LocationSortDescriptor
Creates a sort descriptor with a specified string key path and sort order. Full Topic
func NewLocationSortDescriptorWithKeyAscendingComparator ¶
func NewLocationSortDescriptorWithKeyAscendingComparator(key string, ascending bool, cmptr foundation.Comparator) LocationSortDescriptor
Creates a sort descriptor with a specified string key path and ordering, and a comparator block. Full Topic
func NewLocationSortDescriptorWithKeyAscendingSelector ¶
func NewLocationSortDescriptorWithKeyAscendingSelector(key string, ascending bool, selector objc.Selector) LocationSortDescriptor
Creates a sort descriptor with a specified string key path, ordering, and comparison selector. Full Topic
func NewLocationSortDescriptorWithKeyRelativeLocation ¶
func NewLocationSortDescriptorWithKeyRelativeLocation(key string, relativeLocation objc.IObject) LocationSortDescriptor
Creates a location sort descriptor using the specified key and relative location. Full Topic
func (LocationSortDescriptor) Init ¶
func (l_ LocationSortDescriptor) Init() LocationSortDescriptor
func (LocationSortDescriptor) InitWithKeyAscending ¶
func (l_ LocationSortDescriptor) InitWithKeyAscending(key string, ascending bool) LocationSortDescriptor
func (LocationSortDescriptor) InitWithKeyAscendingComparator ¶
func (l_ LocationSortDescriptor) InitWithKeyAscendingComparator(key string, ascending bool, cmptr foundation.Comparator) LocationSortDescriptor
func (LocationSortDescriptor) InitWithKeyAscendingSelector ¶
func (l_ LocationSortDescriptor) InitWithKeyAscendingSelector(key string, ascending bool, selector objc.Selector) LocationSortDescriptor
func (LocationSortDescriptor) InitWithKeyRelativeLocation ¶
func (l_ LocationSortDescriptor) InitWithKeyRelativeLocation(key string, relativeLocation objc.IObject) LocationSortDescriptor
func (LocationSortDescriptor) RelativeLocation ¶
func (l_ LocationSortDescriptor) RelativeLocation() objc.Object
The reference location for sorting records. Full Topic
type MarkNotificationsReadOperation ¶
type MarkNotificationsReadOperation struct {
Operation
}
An operation that marks push notifications as read by your app. Full Topic
func MarkNotificationsReadOperationFrom ¶
func MarkNotificationsReadOperationFrom(ptr unsafe.Pointer) MarkNotificationsReadOperation
func NewMarkNotificationsReadOperation ¶
func NewMarkNotificationsReadOperation() MarkNotificationsReadOperation
func (MarkNotificationsReadOperation) Init ¶
func (m_ MarkNotificationsReadOperation) Init() MarkNotificationsReadOperation
type ModifyBadgeOperation ¶
type ModifyBadgeOperation struct {
Operation
}
An operation that sets the value of the app icon’s badge. Full Topic
func ModifyBadgeOperationFrom ¶
func ModifyBadgeOperationFrom(ptr unsafe.Pointer) ModifyBadgeOperation
func NewModifyBadgeOperation ¶
func NewModifyBadgeOperation() ModifyBadgeOperation
func (ModifyBadgeOperation) Init ¶
func (m_ ModifyBadgeOperation) Init() ModifyBadgeOperation
type ModifyRecordZonesOperation ¶
type ModifyRecordZonesOperation struct {
DatabaseOperation
}
An operation that modifies one or more record zones. Full Topic
func ModifyRecordZonesOperationFrom ¶
func ModifyRecordZonesOperationFrom(ptr unsafe.Pointer) ModifyRecordZonesOperation
func NewModifyRecordZonesOperation ¶
func NewModifyRecordZonesOperation() ModifyRecordZonesOperation
func NewModifyRecordZonesOperationWithRecordZonesToSaveRecordZoneIDsToDelete ¶
func NewModifyRecordZonesOperationWithRecordZonesToSaveRecordZoneIDsToDelete(recordZonesToSave []IRecordZone, recordZoneIDsToDelete []IRecordZoneID) ModifyRecordZonesOperation
Creates an operation for modifying the specified record zones. Full Topic
func (ModifyRecordZonesOperation) Init ¶
func (m_ ModifyRecordZonesOperation) Init() ModifyRecordZonesOperation
func (ModifyRecordZonesOperation) InitWithRecordZonesToSaveRecordZoneIDsToDelete ¶
func (m_ ModifyRecordZonesOperation) InitWithRecordZonesToSaveRecordZoneIDsToDelete(recordZonesToSave []IRecordZone, recordZoneIDsToDelete []IRecordZoneID) ModifyRecordZonesOperation
func (ModifyRecordZonesOperation) ModifyRecordZonesCompletionBlock ¶
func (m_ ModifyRecordZonesOperation) ModifyRecordZonesCompletionBlock() func(savedRecordZones []RecordZone, deletedRecordZoneIDs []RecordZoneID, operationError foundation.Error)
The block to execute after CloudKit modifies all of the record zones. Full Topic
func (ModifyRecordZonesOperation) PerRecordZoneDeleteBlock ¶
func (m_ ModifyRecordZonesOperation) PerRecordZoneDeleteBlock() func(recordZoneID RecordZoneID, error foundation.Error)
[Full Topic]
func (ModifyRecordZonesOperation) PerRecordZoneSaveBlock ¶
func (m_ ModifyRecordZonesOperation) PerRecordZoneSaveBlock() func(recordZoneID RecordZoneID, recordZone RecordZone, error foundation.Error)
[Full Topic]
func (ModifyRecordZonesOperation) RecordZoneIDsToDelete ¶
func (m_ ModifyRecordZonesOperation) RecordZoneIDsToDelete() []RecordZoneID
The IDs of the record zones to delete permanently from the database. Full Topic
func (ModifyRecordZonesOperation) RecordZonesToSave ¶
func (m_ ModifyRecordZonesOperation) RecordZonesToSave() []RecordZone
The record zones to save to the database. Full Topic
func (ModifyRecordZonesOperation) SetModifyRecordZonesCompletionBlock ¶
func (m_ ModifyRecordZonesOperation) SetModifyRecordZonesCompletionBlock(value func(savedRecordZones []RecordZone, deletedRecordZoneIDs []RecordZoneID, operationError foundation.Error))
The block to execute after CloudKit modifies all of the record zones. Full Topic
func (ModifyRecordZonesOperation) SetPerRecordZoneDeleteBlock ¶
func (m_ ModifyRecordZonesOperation) SetPerRecordZoneDeleteBlock(value func(recordZoneID RecordZoneID, error foundation.Error))
[Full Topic]
func (ModifyRecordZonesOperation) SetPerRecordZoneSaveBlock ¶
func (m_ ModifyRecordZonesOperation) SetPerRecordZoneSaveBlock(value func(recordZoneID RecordZoneID, recordZone RecordZone, error foundation.Error))
[Full Topic]
func (ModifyRecordZonesOperation) SetRecordZoneIDsToDelete ¶
func (m_ ModifyRecordZonesOperation) SetRecordZoneIDsToDelete(value []IRecordZoneID)
The IDs of the record zones to delete permanently from the database. Full Topic
func (ModifyRecordZonesOperation) SetRecordZonesToSave ¶
func (m_ ModifyRecordZonesOperation) SetRecordZonesToSave(value []IRecordZone)
The record zones to save to the database. Full Topic
type ModifyRecordsOperation ¶
type ModifyRecordsOperation struct {
DatabaseOperation
}
An operation that modifies one or more records. Full Topic
func ModifyRecordsOperationFrom ¶
func ModifyRecordsOperationFrom(ptr unsafe.Pointer) ModifyRecordsOperation
func NewModifyRecordsOperation ¶
func NewModifyRecordsOperation() ModifyRecordsOperation
func NewModifyRecordsOperationWithRecordsToSaveRecordIDsToDelete ¶
func NewModifyRecordsOperationWithRecordsToSaveRecordIDsToDelete(records []IRecord, recordIDs []IRecordID) ModifyRecordsOperation
Creates an operation for modifying the specified records. Full Topic
func (ModifyRecordsOperation) Atomic ¶
func (m_ ModifyRecordsOperation) Atomic() bool
A Boolean value that indicates whether the entire operation fails when CloudKit can’t update one or more records in a record zone. Full Topic
func (ModifyRecordsOperation) ClientChangeTokenData ¶
func (m_ ModifyRecordsOperation) ClientChangeTokenData() []byte
A token that tracks local changes to records. Full Topic
func (ModifyRecordsOperation) Init ¶
func (m_ ModifyRecordsOperation) Init() ModifyRecordsOperation
func (ModifyRecordsOperation) InitWithRecordsToSaveRecordIDsToDelete ¶
func (m_ ModifyRecordsOperation) InitWithRecordsToSaveRecordIDsToDelete(records []IRecord, recordIDs []IRecordID) ModifyRecordsOperation
func (ModifyRecordsOperation) ModifyRecordsCompletionBlock ¶
func (m_ ModifyRecordsOperation) ModifyRecordsCompletionBlock() func(savedRecords []Record, deletedRecordIDs []RecordID, operationError foundation.Error)
The block to execute after CloudKit modifies all of the records. Full Topic
func (ModifyRecordsOperation) PerRecordDeleteBlock ¶
func (m_ ModifyRecordsOperation) PerRecordDeleteBlock() func(recordID RecordID, error foundation.Error)
[Full Topic]
func (ModifyRecordsOperation) PerRecordProgressBlock ¶
func (m_ ModifyRecordsOperation) PerRecordProgressBlock() func(record Record, progress float64)
The block to execute with progress information for individual records. Full Topic
func (ModifyRecordsOperation) PerRecordSaveBlock ¶
func (m_ ModifyRecordsOperation) PerRecordSaveBlock() func(recordID RecordID, record Record, error foundation.Error)
[Full Topic]
func (ModifyRecordsOperation) RecordIDsToDelete ¶
func (m_ ModifyRecordsOperation) RecordIDsToDelete() []RecordID
The IDs of the records to delete permanently from the database. Full Topic
func (ModifyRecordsOperation) RecordsToSave ¶
func (m_ ModifyRecordsOperation) RecordsToSave() []Record
The records to save to the database. Full Topic
func (ModifyRecordsOperation) SavePolicy ¶
func (m_ ModifyRecordsOperation) SavePolicy() RecordSavePolicy
The policy to use when saving changes to records. Full Topic
func (ModifyRecordsOperation) SetAtomic ¶
func (m_ ModifyRecordsOperation) SetAtomic(value bool)
A Boolean value that indicates whether the entire operation fails when CloudKit can’t update one or more records in a record zone. Full Topic
func (ModifyRecordsOperation) SetClientChangeTokenData ¶
func (m_ ModifyRecordsOperation) SetClientChangeTokenData(value []byte)
A token that tracks local changes to records. Full Topic
func (ModifyRecordsOperation) SetModifyRecordsCompletionBlock ¶
func (m_ ModifyRecordsOperation) SetModifyRecordsCompletionBlock(value func(savedRecords []Record, deletedRecordIDs []RecordID, operationError foundation.Error))
The block to execute after CloudKit modifies all of the records. Full Topic
func (ModifyRecordsOperation) SetPerRecordDeleteBlock ¶
func (m_ ModifyRecordsOperation) SetPerRecordDeleteBlock(value func(recordID RecordID, error foundation.Error))
[Full Topic]
func (ModifyRecordsOperation) SetPerRecordProgressBlock ¶
func (m_ ModifyRecordsOperation) SetPerRecordProgressBlock(value func(record Record, progress float64))
The block to execute with progress information for individual records. Full Topic
func (ModifyRecordsOperation) SetPerRecordSaveBlock ¶
func (m_ ModifyRecordsOperation) SetPerRecordSaveBlock(value func(recordID RecordID, record Record, error foundation.Error))
[Full Topic]
func (ModifyRecordsOperation) SetRecordIDsToDelete ¶
func (m_ ModifyRecordsOperation) SetRecordIDsToDelete(value []IRecordID)
The IDs of the records to delete permanently from the database. Full Topic
func (ModifyRecordsOperation) SetRecordsToSave ¶
func (m_ ModifyRecordsOperation) SetRecordsToSave(value []IRecord)
The records to save to the database. Full Topic
func (ModifyRecordsOperation) SetSavePolicy ¶
func (m_ ModifyRecordsOperation) SetSavePolicy(value RecordSavePolicy)
The policy to use when saving changes to records. Full Topic
type ModifySubscriptionsOperation ¶
type ModifySubscriptionsOperation struct {
DatabaseOperation
}
An operation for modifying one or more subscriptions. Full Topic
func ModifySubscriptionsOperationFrom ¶
func ModifySubscriptionsOperationFrom(ptr unsafe.Pointer) ModifySubscriptionsOperation
func NewModifySubscriptionsOperation ¶
func NewModifySubscriptionsOperation() ModifySubscriptionsOperation
func NewModifySubscriptionsOperationWithSubscriptionsToSaveSubscriptionIDsToDelete ¶
func NewModifySubscriptionsOperationWithSubscriptionsToSaveSubscriptionIDsToDelete(subscriptionsToSave []ISubscription, subscriptionIDsToDelete []SubscriptionID) ModifySubscriptionsOperation
Creates an operation for saving and deleting the specified subscriptions. Full Topic
func (ModifySubscriptionsOperation) Init ¶
func (m_ ModifySubscriptionsOperation) Init() ModifySubscriptionsOperation
func (ModifySubscriptionsOperation) InitWithSubscriptionsToSaveSubscriptionIDsToDelete ¶
func (m_ ModifySubscriptionsOperation) InitWithSubscriptionsToSaveSubscriptionIDsToDelete(subscriptionsToSave []ISubscription, subscriptionIDsToDelete []SubscriptionID) ModifySubscriptionsOperation
func (ModifySubscriptionsOperation) ModifySubscriptionsCompletionBlock ¶
func (m_ ModifySubscriptionsOperation) ModifySubscriptionsCompletionBlock() func(savedSubscriptions []Subscription, deletedSubscriptionIDs []SubscriptionID, operationError foundation.Error)
The block to execute after the operation modifies the subscriptions. Full Topic
func (ModifySubscriptionsOperation) PerSubscriptionDeleteBlock ¶
func (m_ ModifySubscriptionsOperation) PerSubscriptionDeleteBlock() func(subscriptionID SubscriptionID, error foundation.Error)
[Full Topic]
func (ModifySubscriptionsOperation) PerSubscriptionSaveBlock ¶
func (m_ ModifySubscriptionsOperation) PerSubscriptionSaveBlock() func(subscriptionID SubscriptionID, subscription Subscription, error foundation.Error)
[Full Topic]
func (ModifySubscriptionsOperation) SetModifySubscriptionsCompletionBlock ¶
func (m_ ModifySubscriptionsOperation) SetModifySubscriptionsCompletionBlock(value func(savedSubscriptions []Subscription, deletedSubscriptionIDs []SubscriptionID, operationError foundation.Error))
The block to execute after the operation modifies the subscriptions. Full Topic
func (ModifySubscriptionsOperation) SetPerSubscriptionDeleteBlock ¶
func (m_ ModifySubscriptionsOperation) SetPerSubscriptionDeleteBlock(value func(subscriptionID SubscriptionID, error foundation.Error))
[Full Topic]
func (ModifySubscriptionsOperation) SetPerSubscriptionSaveBlock ¶
func (m_ ModifySubscriptionsOperation) SetPerSubscriptionSaveBlock(value func(subscriptionID SubscriptionID, subscription Subscription, error foundation.Error))
[Full Topic]
func (ModifySubscriptionsOperation) SetSubscriptionIDsToDelete ¶
func (m_ ModifySubscriptionsOperation) SetSubscriptionIDsToDelete(value []SubscriptionID)
The IDs of the subscriptions that you want to delete. Full Topic
func (ModifySubscriptionsOperation) SetSubscriptionsToSave ¶
func (m_ ModifySubscriptionsOperation) SetSubscriptionsToSave(value []ISubscription)
The subscriptions to save to the database. Full Topic
func (ModifySubscriptionsOperation) SubscriptionIDsToDelete ¶
func (m_ ModifySubscriptionsOperation) SubscriptionIDsToDelete() []SubscriptionID
The IDs of the subscriptions that you want to delete. Full Topic
func (ModifySubscriptionsOperation) SubscriptionsToSave ¶
func (m_ ModifySubscriptionsOperation) SubscriptionsToSave() []Subscription
The subscriptions to save to the database. Full Topic
type Notification ¶
The abstract base class for CloudKit notifications. Full Topic
func NewNotification ¶
func NewNotification() Notification
func NotificationFrom ¶
func NotificationFrom(ptr unsafe.Pointer) Notification
func Notification_NotificationFromRemoteNotificationDictionary ¶
func Notification_NotificationFromRemoteNotificationDictionary(notificationDictionary foundation.Dictionary) Notification
Creates a new notification using the specified payload data. Full Topic
func (Notification) ContainerIdentifier ¶
func (n_ Notification) ContainerIdentifier() string
The ID of the container with the content that triggers the notification. Full Topic
func (Notification) Init ¶
func (n_ Notification) Init() Notification
func (Notification) IsPruned ¶
func (n_ Notification) IsPruned() bool
A Boolean value that indicates whether the system removes some push notification content before delivery. Full Topic
func (Notification) NotificationID ¶
func (n_ Notification) NotificationID() NotificationID
The notification’s ID. Full Topic
func (Notification) NotificationType ¶
func (n_ Notification) NotificationType() NotificationType
The type of event that generates the notification. Full Topic
func (Notification) SubscriptionID ¶
func (n_ Notification) SubscriptionID() SubscriptionID
The ID of the subscription that triggers the notification. Full Topic
func (Notification) SubscriptionOwnerUserRecordID ¶
func (n_ Notification) SubscriptionOwnerUserRecordID() RecordID
The ID of the user record that creates the subscription that generates the push notification. Full Topic
type NotificationID ¶
An object that uniquely identifies a push notification that a container sends. Full Topic
func NewNotificationID ¶
func NewNotificationID() NotificationID
func NotificationIDFrom ¶
func NotificationIDFrom(ptr unsafe.Pointer) NotificationID
func (NotificationID) Init ¶
func (n_ NotificationID) Init() NotificationID
type NotificationInfo ¶
An object that describes the configuration of a subscription’s push notifications. Full Topic
func NewNotificationInfo ¶
func NewNotificationInfo() NotificationInfo
func NotificationInfoFrom ¶
func NotificationInfoFrom(ptr unsafe.Pointer) NotificationInfo
func (NotificationInfo) AlertActionLocalizationKey ¶
func (n_ NotificationInfo) AlertActionLocalizationKey() string
The key that identifies the localized string for the notification’s action. Full Topic
func (NotificationInfo) AlertBody ¶
func (n_ NotificationInfo) AlertBody() string
The text for the notification’s alert. Full Topic
func (NotificationInfo) AlertLaunchImage ¶
func (n_ NotificationInfo) AlertLaunchImage() string
The filename of an image to use as a launch image. Full Topic
func (NotificationInfo) AlertLocalizationArgs ¶
func (n_ NotificationInfo) AlertLocalizationArgs() []RecordFieldKey
The fields for building a notification’s alert. Full Topic
func (NotificationInfo) AlertLocalizationKey ¶
func (n_ NotificationInfo) AlertLocalizationKey() string
The key that identifies the localized string for the notification’s alert. Full Topic
func (NotificationInfo) Category ¶
func (n_ NotificationInfo) Category() string
The name of the action group that corresponds to this notification. Full Topic
func (NotificationInfo) CollapseIDKey ¶
func (n_ NotificationInfo) CollapseIDKey() string
A value that the system uses to coalesce unseen push notifications. Full Topic
func (NotificationInfo) DesiredKeys ¶
func (n_ NotificationInfo) DesiredKeys() []RecordFieldKey
The names of fields to include in the push notification’s payload. Full Topic
func (NotificationInfo) Init ¶
func (n_ NotificationInfo) Init() NotificationInfo
func (NotificationInfo) SetAlertActionLocalizationKey ¶
func (n_ NotificationInfo) SetAlertActionLocalizationKey(value string)
The key that identifies the localized string for the notification’s action. Full Topic
func (NotificationInfo) SetAlertBody ¶
func (n_ NotificationInfo) SetAlertBody(value string)
The text for the notification’s alert. Full Topic
func (NotificationInfo) SetAlertLaunchImage ¶
func (n_ NotificationInfo) SetAlertLaunchImage(value string)
The filename of an image to use as a launch image. Full Topic
func (NotificationInfo) SetAlertLocalizationArgs ¶
func (n_ NotificationInfo) SetAlertLocalizationArgs(value []RecordFieldKey)
The fields for building a notification’s alert. Full Topic
func (NotificationInfo) SetAlertLocalizationKey ¶
func (n_ NotificationInfo) SetAlertLocalizationKey(value string)
The key that identifies the localized string for the notification’s alert. Full Topic
func (NotificationInfo) SetCategory ¶
func (n_ NotificationInfo) SetCategory(value string)
The name of the action group that corresponds to this notification. Full Topic
func (NotificationInfo) SetCollapseIDKey ¶
func (n_ NotificationInfo) SetCollapseIDKey(value string)
A value that the system uses to coalesce unseen push notifications. Full Topic
func (NotificationInfo) SetDesiredKeys ¶
func (n_ NotificationInfo) SetDesiredKeys(value []RecordFieldKey)
The names of fields to include in the push notification’s payload. Full Topic
func (NotificationInfo) SetShouldBadge ¶
func (n_ NotificationInfo) SetShouldBadge(value bool)
A Boolean value that determines whether an app’s icon badge increments its value. Full Topic
func (NotificationInfo) SetShouldSendContentAvailable ¶
func (n_ NotificationInfo) SetShouldSendContentAvailable(value bool)
A Boolean value that indicates whether the push notification includes the content available flag. Full Topic
func (NotificationInfo) SetShouldSendMutableContent ¶
func (n_ NotificationInfo) SetShouldSendMutableContent(value bool)
A Boolean value that indicates whether the push notification sets the mutable content flag. Full Topic
func (NotificationInfo) SetSoundName ¶
func (n_ NotificationInfo) SetSoundName(value string)
The filename of the sound file to play when a notification arrives. Full Topic
func (NotificationInfo) SetSubtitle ¶
func (n_ NotificationInfo) SetSubtitle(value string)
The notification’s subtitle. Full Topic
func (NotificationInfo) SetSubtitleLocalizationArgs ¶
func (n_ NotificationInfo) SetSubtitleLocalizationArgs(value []RecordFieldKey)
The fields for building a notification’s subtitle. Full Topic
func (NotificationInfo) SetSubtitleLocalizationKey ¶
func (n_ NotificationInfo) SetSubtitleLocalizationKey(value string)
The key that identifies the localized string for the notification’s subtitle. Full Topic
func (NotificationInfo) SetTitle ¶
func (n_ NotificationInfo) SetTitle(value string)
The notification’s title. Full Topic
func (NotificationInfo) SetTitleLocalizationArgs ¶
func (n_ NotificationInfo) SetTitleLocalizationArgs(value []RecordFieldKey)
The fields for building a notification’s title. Full Topic
func (NotificationInfo) SetTitleLocalizationKey ¶
func (n_ NotificationInfo) SetTitleLocalizationKey(value string)
The key that identifies the localized string for the notification’s title. Full Topic
func (NotificationInfo) ShouldBadge ¶
func (n_ NotificationInfo) ShouldBadge() bool
A Boolean value that determines whether an app’s icon badge increments its value. Full Topic
func (NotificationInfo) ShouldSendContentAvailable ¶
func (n_ NotificationInfo) ShouldSendContentAvailable() bool
A Boolean value that indicates whether the push notification includes the content available flag. Full Topic
func (NotificationInfo) ShouldSendMutableContent ¶
func (n_ NotificationInfo) ShouldSendMutableContent() bool
A Boolean value that indicates whether the push notification sets the mutable content flag. Full Topic
func (NotificationInfo) SoundName ¶
func (n_ NotificationInfo) SoundName() string
The filename of the sound file to play when a notification arrives. Full Topic
func (NotificationInfo) Subtitle ¶
func (n_ NotificationInfo) Subtitle() string
The notification’s subtitle. Full Topic
func (NotificationInfo) SubtitleLocalizationArgs ¶
func (n_ NotificationInfo) SubtitleLocalizationArgs() []RecordFieldKey
The fields for building a notification’s subtitle. Full Topic
func (NotificationInfo) SubtitleLocalizationKey ¶
func (n_ NotificationInfo) SubtitleLocalizationKey() string
The key that identifies the localized string for the notification’s subtitle. Full Topic
func (NotificationInfo) Title ¶
func (n_ NotificationInfo) Title() string
The notification’s title. Full Topic
func (NotificationInfo) TitleLocalizationArgs ¶
func (n_ NotificationInfo) TitleLocalizationArgs() []RecordFieldKey
The fields for building a notification’s title. Full Topic
func (NotificationInfo) TitleLocalizationKey ¶
func (n_ NotificationInfo) TitleLocalizationKey() string
The key that identifies the localized string for the notification’s title. Full Topic
type NotificationType ¶
type NotificationType int
Constants that indicate the type of event that generates the push notification. Full Topic
const ( NotificationTypeDatabase NotificationType = 4 NotificationTypeQuery NotificationType = 1 NotificationTypeReadNotification NotificationType = 3 NotificationTypeRecordZone NotificationType = 2 )
type Operation ¶
type Operation struct {
foundation.Operation
}
The abstract base class for all operations that execute in a database. Full Topic
func NewOperation ¶
func NewOperation() Operation
func OperationFrom ¶
func (Operation) Configuration ¶
func (o_ Operation) Configuration() OperationConfiguration
The operation’s configuration. Full Topic
func (Operation) Group ¶
func (o_ Operation) Group() OperationGroup
The operation’s group. Full Topic
func (Operation) LongLivedOperationWasPersistedBlock ¶
func (o_ Operation) LongLivedOperationWasPersistedBlock() func()
The block to execute when the server begins to store callbacks for the long-lived operation. Full Topic
func (Operation) OperationID ¶
func (o_ Operation) OperationID() OperationID
A unique identifier for a long-lived operation. Full Topic
func (Operation) SetConfiguration ¶
func (o_ Operation) SetConfiguration(value IOperationConfiguration)
The operation’s configuration. Full Topic
func (Operation) SetGroup ¶
func (o_ Operation) SetGroup(value IOperationGroup)
The operation’s group. Full Topic
func (Operation) SetLongLivedOperationWasPersistedBlock ¶
func (o_ Operation) SetLongLivedOperationWasPersistedBlock(value func())
The block to execute when the server begins to store callbacks for the long-lived operation. Full Topic
type OperationConfiguration ¶
An object that describes how a CloudKit operation behaves. Full Topic
func NewOperationConfiguration ¶
func NewOperationConfiguration() OperationConfiguration
func OperationConfigurationFrom ¶
func OperationConfigurationFrom(ptr unsafe.Pointer) OperationConfiguration
func (OperationConfiguration) AllowsCellularAccess ¶
func (o_ OperationConfiguration) AllowsCellularAccess() bool
A Boolean value that indicates whether operations that use this configuration can send data over the cellular network. Full Topic
func (OperationConfiguration) Container ¶
func (o_ OperationConfiguration) Container() Container
The configuration’s container. Full Topic
func (OperationConfiguration) Init ¶
func (o_ OperationConfiguration) Init() OperationConfiguration
func (OperationConfiguration) IsLongLived ¶
func (o_ OperationConfiguration) IsLongLived() bool
A Boolean value that indicates whether the operations that use this configuration are long-lived. Full Topic
func (OperationConfiguration) QualityOfService ¶
func (o_ OperationConfiguration) QualityOfService() foundation.QualityOfService
The priority that the system uses when it allocates resources to the operations that use this configuration. Full Topic
func (OperationConfiguration) SetAllowsCellularAccess ¶
func (o_ OperationConfiguration) SetAllowsCellularAccess(value bool)
A Boolean value that indicates whether operations that use this configuration can send data over the cellular network. Full Topic
func (OperationConfiguration) SetContainer ¶
func (o_ OperationConfiguration) SetContainer(value IContainer)
The configuration’s container. Full Topic
func (OperationConfiguration) SetLongLived ¶
func (o_ OperationConfiguration) SetLongLived(value bool)
A Boolean value that indicates whether the operations that use this configuration are long-lived. Full Topic
func (OperationConfiguration) SetQualityOfService ¶
func (o_ OperationConfiguration) SetQualityOfService(value foundation.QualityOfService)
The priority that the system uses when it allocates resources to the operations that use this configuration. Full Topic
func (OperationConfiguration) SetTimeoutIntervalForRequest ¶
func (o_ OperationConfiguration) SetTimeoutIntervalForRequest(value foundation.TimeInterval)
The maximum amount of time that a request can take. Full Topic
func (OperationConfiguration) SetTimeoutIntervalForResource ¶
func (o_ OperationConfiguration) SetTimeoutIntervalForResource(value foundation.TimeInterval)
The maximum amount of time that a resource request can take. Full Topic
func (OperationConfiguration) TimeoutIntervalForRequest ¶
func (o_ OperationConfiguration) TimeoutIntervalForRequest() foundation.TimeInterval
The maximum amount of time that a request can take. Full Topic
func (OperationConfiguration) TimeoutIntervalForResource ¶
func (o_ OperationConfiguration) TimeoutIntervalForResource() foundation.TimeInterval
The maximum amount of time that a resource request can take. Full Topic
type OperationGroup ¶
An explicit association between two or more operations. Full Topic
func NewOperationGroup ¶
func NewOperationGroup() OperationGroup
func OperationGroupFrom ¶
func OperationGroupFrom(ptr unsafe.Pointer) OperationGroup
func (OperationGroup) DefaultConfiguration ¶
func (o_ OperationGroup) DefaultConfiguration() OperationConfiguration
The default configuration for operations in the group. Full Topic
func (OperationGroup) ExpectedReceiveSize ¶
func (o_ OperationGroup) ExpectedReceiveSize() OperationGroupTransferSize
The estimated size of traffic to download from CloudKit. Full Topic
func (OperationGroup) ExpectedSendSize ¶
func (o_ OperationGroup) ExpectedSendSize() OperationGroupTransferSize
The estimated size of traffic to upload to CloudKit. Full Topic
func (OperationGroup) Init ¶
func (o_ OperationGroup) Init() OperationGroup
func (OperationGroup) Name ¶
func (o_ OperationGroup) Name() string
The operation group’s name. Full Topic
func (OperationGroup) OperationGroupID ¶
func (o_ OperationGroup) OperationGroupID() string
The operation group’s unique identifier. Full Topic
func (OperationGroup) Quantity ¶
func (o_ OperationGroup) Quantity() uint
The number of operations in the operation group. Full Topic
func (OperationGroup) SetDefaultConfiguration ¶
func (o_ OperationGroup) SetDefaultConfiguration(value IOperationConfiguration)
The default configuration for operations in the group. Full Topic
func (OperationGroup) SetExpectedReceiveSize ¶
func (o_ OperationGroup) SetExpectedReceiveSize(value OperationGroupTransferSize)
The estimated size of traffic to download from CloudKit. Full Topic
func (OperationGroup) SetExpectedSendSize ¶
func (o_ OperationGroup) SetExpectedSendSize(value OperationGroupTransferSize)
The estimated size of traffic to upload to CloudKit. Full Topic
func (OperationGroup) SetName ¶
func (o_ OperationGroup) SetName(value string)
The operation group’s name. Full Topic
func (OperationGroup) SetQuantity ¶
func (o_ OperationGroup) SetQuantity(value uint)
The number of operations in the operation group. Full Topic
type OperationGroupTransferSize ¶
type OperationGroupTransferSize int
Constants that represent possible data transfer sizes. Full Topic
const ( OperationGroupTransferSizeGigabytes OperationGroupTransferSize = 5 OperationGroupTransferSizeHundredsOfGigabytes OperationGroupTransferSize = 7 OperationGroupTransferSizeHundredsOfMegabytes OperationGroupTransferSize = 4 OperationGroupTransferSizeKilobytes OperationGroupTransferSize = 1 OperationGroupTransferSizeMegabytes OperationGroupTransferSize = 2 OperationGroupTransferSizeTensOfGigabytes OperationGroupTransferSize = 6 OperationGroupTransferSizeTensOfMegabytes OperationGroupTransferSize = 3 OperationGroupTransferSizeUnknown OperationGroupTransferSize = 0 )
type OperationID ¶
type OperationID string
A type that represents the ID of an operation. Full Topic
type PRecordKeyValueSetting ¶
type PRecordKeyValueSetting interface { // optional AllKeys() []RecordFieldKey HasAllKeys() bool // optional ChangedKeys() []RecordFieldKey HasChangedKeys() bool // optional ObjectForKeyedSubscript(key RecordFieldKey) RecordValueObject HasObjectForKeyedSubscript() bool // optional SetObjectForKeyedSubscript(object RecordValueObject, key RecordFieldKey) HasSetObjectForKeyedSubscript() bool // optional SetObjectForKey(object RecordValueObject, key RecordFieldKey) HasSetObjectForKey() bool // optional ObjectForKey(key RecordFieldKey) RecordValueObject HasObjectForKey() bool }
A protocol for managing the key-value pairs of a CloudKit record. Full Topic
type PRecordValue ¶
type PRecordValue interface { }
The protocol that provides strong type-checking for objects that the CloudKit framework stores on the server. Full Topic
type Query ¶
A query that describes the criteria to apply when searching for records in a database. Full Topic
func NewQueryWithRecordTypePredicate ¶
func NewQueryWithRecordTypePredicate(recordType RecordType, predicate foundation.IPredicate) Query
Creates a query with the specified record type and predicate. Full Topic
func (Query) InitWithRecordTypePredicate ¶
func (q_ Query) InitWithRecordTypePredicate(recordType RecordType, predicate foundation.IPredicate) Query
func (Query) Predicate ¶
func (q_ Query) Predicate() foundation.Predicate
The predicate to use for matching records. Full Topic
func (Query) RecordType ¶
func (q_ Query) RecordType() RecordType
The record type to search. Full Topic
func (Query) SetSortDescriptors ¶
func (q_ Query) SetSortDescriptors(value []foundation.ISortDescriptor)
The sort descriptors for organizing the query’s results. Full Topic
func (Query) SortDescriptors ¶
func (q_ Query) SortDescriptors() []foundation.SortDescriptor
The sort descriptors for organizing the query’s results. Full Topic
type QueryCursor ¶
An object that marks the stopping point for a query and the starting point for retrieving the remaining results. Full Topic
func NewQueryCursor ¶
func NewQueryCursor() QueryCursor
func QueryCursorFrom ¶
func QueryCursorFrom(ptr unsafe.Pointer) QueryCursor
func (QueryCursor) Init ¶
func (q_ QueryCursor) Init() QueryCursor
type QueryNotification ¶
type QueryNotification struct {
Notification
}
A notification that triggers when a record that matches the subscription’s predicate changes. Full Topic
func NewQueryNotification ¶
func NewQueryNotification() QueryNotification
func QueryNotificationFrom ¶
func QueryNotificationFrom(ptr unsafe.Pointer) QueryNotification
func QueryNotification_NotificationFromRemoteNotificationDictionary ¶
func QueryNotification_NotificationFromRemoteNotificationDictionary(notificationDictionary foundation.Dictionary) QueryNotification
Creates a new notification using the specified payload data. Full Topic
func (QueryNotification) DatabaseScope ¶
func (q_ QueryNotification) DatabaseScope() DatabaseScope
The type of database for the record zone. Full Topic
func (QueryNotification) Init ¶
func (q_ QueryNotification) Init() QueryNotification
func (QueryNotification) QueryNotificationReason ¶
func (q_ QueryNotification) QueryNotificationReason() QueryNotificationReason
The event that triggers the push notification. Full Topic
func (QueryNotification) RecordFields ¶
func (q_ QueryNotification) RecordFields() map[string]objc.Object
A dictionary of fields that have changes. Full Topic
func (QueryNotification) RecordID ¶
func (q_ QueryNotification) RecordID() RecordID
The ID of the record that CloudKit creates, updates, or deletes. Full Topic
type QueryNotificationReason ¶
type QueryNotificationReason int
Constants that indicate the event that triggers the notification. Full Topic
const ( QueryNotificationReasonRecordCreated QueryNotificationReason = 1 QueryNotificationReasonRecordDeleted QueryNotificationReason = 3 QueryNotificationReasonRecordUpdated QueryNotificationReason = 2 )
type QueryOperation ¶
type QueryOperation struct {
DatabaseOperation
}
An operation for executing queries in a database. Full Topic
func NewQueryOperation ¶
func NewQueryOperation() QueryOperation
func NewQueryOperationWithCursor ¶
func NewQueryOperationWithCursor(cursor IQueryCursor) QueryOperation
Creates an operation with additional results from a previous search. Full Topic
func NewQueryOperationWithQuery ¶
func NewQueryOperationWithQuery(query IQuery) QueryOperation
Creates an operation that searches for records in the specified record zone. Full Topic
func QueryOperationFrom ¶
func QueryOperationFrom(ptr unsafe.Pointer) QueryOperation
func (QueryOperation) Cursor ¶
func (q_ QueryOperation) Cursor() QueryCursor
The cursor for continuing the search. Full Topic
func (QueryOperation) DesiredKeys ¶
func (q_ QueryOperation) DesiredKeys() []RecordFieldKey
The fields of the records to fetch. Full Topic
func (QueryOperation) Init ¶
func (q_ QueryOperation) Init() QueryOperation
func (QueryOperation) InitWithCursor ¶
func (q_ QueryOperation) InitWithCursor(cursor IQueryCursor) QueryOperation
func (QueryOperation) InitWithQuery ¶
func (q_ QueryOperation) InitWithQuery(query IQuery) QueryOperation
func (QueryOperation) Query ¶
func (q_ QueryOperation) Query() Query
The query for the search. Full Topic
func (QueryOperation) QueryCompletionBlock ¶
func (q_ QueryOperation) QueryCompletionBlock() func(cursor QueryCursor, operationError foundation.Error)
The block to execute after CloudKit retrieves all of the records. Full Topic
func (QueryOperation) RecordMatchedBlock ¶
func (q_ QueryOperation) RecordMatchedBlock() func(recordID RecordID, record Record, error foundation.Error)
[Full Topic]
func (QueryOperation) ResultsLimit ¶
func (q_ QueryOperation) ResultsLimit() uint
The maximum number of records to return at one time. Full Topic
func (QueryOperation) SetCursor ¶
func (q_ QueryOperation) SetCursor(value IQueryCursor)
The cursor for continuing the search. Full Topic
func (QueryOperation) SetDesiredKeys ¶
func (q_ QueryOperation) SetDesiredKeys(value []RecordFieldKey)
The fields of the records to fetch. Full Topic
func (QueryOperation) SetQuery ¶
func (q_ QueryOperation) SetQuery(value IQuery)
The query for the search. Full Topic
func (QueryOperation) SetQueryCompletionBlock ¶
func (q_ QueryOperation) SetQueryCompletionBlock(value func(cursor QueryCursor, operationError foundation.Error))
The block to execute after CloudKit retrieves all of the records. Full Topic
func (QueryOperation) SetRecordMatchedBlock ¶
func (q_ QueryOperation) SetRecordMatchedBlock(value func(recordID RecordID, record Record, error foundation.Error))
[Full Topic]
func (QueryOperation) SetResultsLimit ¶
func (q_ QueryOperation) SetResultsLimit(value uint)
The maximum number of records to return at one time. Full Topic
func (QueryOperation) SetZoneID ¶
func (q_ QueryOperation) SetZoneID(value IRecordZoneID)
The ID of the record zone that contains the records to search. Full Topic
func (QueryOperation) ZoneID ¶
func (q_ QueryOperation) ZoneID() RecordZoneID
The ID of the record zone that contains the records to search. Full Topic
type QuerySubscription ¶
type QuerySubscription struct {
Subscription
}
A subscription that generates push notifications when CloudKit modifies records that match a predicate. Full Topic
func NewQuerySubscription ¶
func NewQuerySubscription() QuerySubscription
func NewQuerySubscriptionWithRecordTypePredicateSubscriptionIDOptions ¶
func NewQuerySubscriptionWithRecordTypePredicateSubscriptionIDOptions(recordType RecordType, predicate foundation.IPredicate, subscriptionID SubscriptionID, querySubscriptionOptions QuerySubscriptionOptions) QuerySubscription
Creates a named query-based subscription that queries records of a specific type. Full Topic
func QuerySubscriptionFrom ¶
func QuerySubscriptionFrom(ptr unsafe.Pointer) QuerySubscription
func (QuerySubscription) Init ¶
func (q_ QuerySubscription) Init() QuerySubscription
func (QuerySubscription) InitWithRecordTypePredicateSubscriptionIDOptions ¶
func (q_ QuerySubscription) InitWithRecordTypePredicateSubscriptionIDOptions(recordType RecordType, predicate foundation.IPredicate, subscriptionID SubscriptionID, querySubscriptionOptions QuerySubscriptionOptions) QuerySubscription
func (QuerySubscription) Predicate ¶
func (q_ QuerySubscription) Predicate() foundation.Predicate
The matching criteria to apply to records. Full Topic
func (QuerySubscription) QuerySubscriptionOptions ¶
func (q_ QuerySubscription) QuerySubscriptionOptions() QuerySubscriptionOptions
Options that define the behavior of the subscription. Full Topic
func (QuerySubscription) RecordType ¶
func (q_ QuerySubscription) RecordType() RecordType
The type of record that the subscription queries. Full Topic
func (QuerySubscription) SetZoneID ¶
func (q_ QuerySubscription) SetZoneID(value IRecordZoneID)
The ID of the record zone that the subscription queries. Full Topic
func (QuerySubscription) ZoneID ¶
func (q_ QuerySubscription) ZoneID() RecordZoneID
The ID of the record zone that the subscription queries. Full Topic
type QuerySubscriptionOptions ¶
type QuerySubscriptionOptions uint
Configuration options for a query subscription. Full Topic
const ( QuerySubscriptionOptionsFiresOnRecordCreation QuerySubscriptionOptions = 1 QuerySubscriptionOptionsFiresOnRecordDeletion QuerySubscriptionOptions = 4 QuerySubscriptionOptionsFiresOnRecordUpdate QuerySubscriptionOptions = 2 QuerySubscriptionOptionsFiresOnce QuerySubscriptionOptions = 8 )
type Record ¶
A collection of key-value pairs that store your app’s data. Full Topic
func NewRecordWithRecordType ¶
func NewRecordWithRecordType(recordType RecordType) Record
Creates a new record of the specified type. Full Topic
func NewRecordWithRecordTypeRecordID ¶
func NewRecordWithRecordTypeRecordID(recordType RecordType, recordID IRecordID) Record
Creates a record using an ID that you provide. Full Topic
func NewRecordWithRecordTypeZoneID ¶
func NewRecordWithRecordTypeZoneID(recordType RecordType, zoneID IRecordZoneID) Record
Creates a record in the specified zone. Full Topic
func RecordFrom ¶
func (Record) AllKeys ¶
func (r_ Record) AllKeys() []RecordFieldKey
Returns an array of the record’s keys. Full Topic
func (Record) AllTokens ¶
Returns an array of strings to use for full-text searches of the field’s string-based values. Full Topic
func (Record) ChangedKeys ¶
func (r_ Record) ChangedKeys() []RecordFieldKey
Returns an array of keys with recent changes to their values. Full Topic
func (Record) CreationDate ¶
func (r_ Record) CreationDate() foundation.Date
The time when CloudKit first saves the record to the server. Full Topic
func (Record) CreatorUserRecordID ¶
The ID of the user who creates the record. Full Topic
func (Record) EncodeSystemFieldsWithCoder ¶
func (r_ Record) EncodeSystemFieldsWithCoder(coder foundation.ICoder)
Encodes the record’s system fields using the specified archiver. Full Topic
func (Record) EncryptedValues ¶
func (r_ Record) EncryptedValues() RecordKeyValueSettingObject
An object that manages the record’s encrypted key-value pairs. Full Topic
func (Record) InitWithRecordType ¶
func (r_ Record) InitWithRecordType(recordType RecordType) Record
func (Record) InitWithRecordTypeRecordID ¶
func (r_ Record) InitWithRecordTypeRecordID(recordType RecordType, recordID IRecordID) Record
func (Record) InitWithRecordTypeZoneID ¶
func (r_ Record) InitWithRecordTypeZoneID(recordType RecordType, zoneID IRecordZoneID) Record
func (Record) LastModifiedUserRecordID ¶
The ID of the user who most recently modified the record. Full Topic
func (Record) ModificationDate ¶
func (r_ Record) ModificationDate() foundation.Date
The most recent time that CloudKit saved the record to the server. Full Topic
func (Record) ObjectForKey ¶
func (r_ Record) ObjectForKey(key RecordFieldKey) RecordValueObject
Returns the object that the record stores for the specified key. Full Topic
func (Record) ObjectForKeyedSubscript ¶
func (r_ Record) ObjectForKeyedSubscript(key RecordFieldKey) RecordValueObject
Returns the object that the record stores for the specified key. Full Topic
func (Record) Parent ¶
A reference to the record’s parent record. Full Topic
func (Record) RecordChangeTag ¶
The server change token for the record. Full Topic
func (Record) RecordID ¶
The unique ID of the record. Full Topic
func (Record) RecordType ¶
func (r_ Record) RecordType() RecordType
The value that your app defines to identify the type of record. Full Topic
func (Record) SetObjectForKey ¶
func (r_ Record) SetObjectForKey(object PRecordValue, key RecordFieldKey)
Stores an object in the record using the specified key. Full Topic
func (Record) SetObjectForKeyedSubscript ¶
func (r_ Record) SetObjectForKeyedSubscript(object PRecordValue, key RecordFieldKey)
Stores an object in the record using the specified key. Full Topic
func (Record) SetObjectObjectForKey ¶
func (r_ Record) SetObjectObjectForKey(objectObject objc.IObject, key RecordFieldKey)
Stores an object in the record using the specified key. Full Topic
func (Record) SetObjectObjectForKeyedSubscript ¶
func (r_ Record) SetObjectObjectForKeyedSubscript(objectObject objc.IObject, key RecordFieldKey)
Stores an object in the record using the specified key. Full Topic
func (Record) SetParent ¶
func (r_ Record) SetParent(value IReference)
A reference to the record’s parent record. Full Topic
func (Record) SetParentReferenceFromRecord ¶
Creates and sets a reference object for a parent from its record. Full Topic
func (Record) SetParentReferenceFromRecordID ¶
Creates and sets a reference object for a parent from the parent’s record ID. Full Topic
func (Record) Share ¶
A reference to the share object that determines the share status of the record. Full Topic
type RecordFieldKey ¶
type RecordFieldKey string
A data type that CloudKit requires for record field names. Full Topic
const ( RecordParentKey RecordFieldKey = "___parent" )
type RecordID ¶
An object that uniquely identifies a record in a database. Full Topic
func NewRecordID ¶
func NewRecordID() RecordID
func NewRecordIDWithRecordName ¶
Creates a new record ID with the specified name in the default zone. Full Topic
func NewRecordIDWithRecordNameZoneID ¶
func NewRecordIDWithRecordNameZoneID(recordName string, zoneID IRecordZoneID) RecordID
Creates a new record ID with the specified name and zone information. Full Topic
func RecordIDFrom ¶
func (RecordID) InitWithRecordName ¶
func (RecordID) InitWithRecordNameZoneID ¶
func (r_ RecordID) InitWithRecordNameZoneID(recordName string, zoneID IRecordZoneID) RecordID
func (RecordID) RecordName ¶
The unique name of the record. Full Topic
func (RecordID) ZoneID ¶
func (r_ RecordID) ZoneID() RecordZoneID
The ID of the zone that contains the record. Full Topic
type RecordKeyValueSettingObject ¶
A concrete type for the PRecordKeyValueSetting protocol.
func (RecordKeyValueSettingObject) AllKeys ¶
func (r_ RecordKeyValueSettingObject) AllKeys() []RecordFieldKey
Returns an array of the record’s keys. Full Topic
func (RecordKeyValueSettingObject) ChangedKeys ¶
func (r_ RecordKeyValueSettingObject) ChangedKeys() []RecordFieldKey
Returns an array of keys with recent changes to their values. Full Topic
func (RecordKeyValueSettingObject) HasAllKeys ¶
func (r_ RecordKeyValueSettingObject) HasAllKeys() bool
func (RecordKeyValueSettingObject) HasChangedKeys ¶
func (r_ RecordKeyValueSettingObject) HasChangedKeys() bool
func (RecordKeyValueSettingObject) HasObjectForKey ¶
func (r_ RecordKeyValueSettingObject) HasObjectForKey() bool
func (RecordKeyValueSettingObject) HasObjectForKeyedSubscript ¶
func (r_ RecordKeyValueSettingObject) HasObjectForKeyedSubscript() bool
func (RecordKeyValueSettingObject) HasSetObjectForKey ¶
func (r_ RecordKeyValueSettingObject) HasSetObjectForKey() bool
func (RecordKeyValueSettingObject) HasSetObjectForKeyedSubscript ¶
func (r_ RecordKeyValueSettingObject) HasSetObjectForKeyedSubscript() bool
func (RecordKeyValueSettingObject) ObjectForKey ¶
func (r_ RecordKeyValueSettingObject) ObjectForKey(key RecordFieldKey) RecordValueObject
Returns the object that the record stores for the specified key. Full Topic
func (RecordKeyValueSettingObject) ObjectForKeyedSubscript ¶
func (r_ RecordKeyValueSettingObject) ObjectForKeyedSubscript(key RecordFieldKey) RecordValueObject
Returns the object that the record stores for the specified key. Full Topic
func (RecordKeyValueSettingObject) SetObjectForKey ¶
func (r_ RecordKeyValueSettingObject) SetObjectForKey(object RecordValueObject, key RecordFieldKey)
Stores an object in the record using the specified key. Full Topic
func (RecordKeyValueSettingObject) SetObjectForKeyedSubscript ¶
func (r_ RecordKeyValueSettingObject) SetObjectForKeyedSubscript(object RecordValueObject, key RecordFieldKey)
Stores an object in the record using the specified key. Full Topic
type RecordSavePolicy ¶
type RecordSavePolicy int
Constants that indicate which policy to apply when saving records. Full Topic
const ( RecordSaveAllKeys RecordSavePolicy = 2 RecordSaveChangedKeys RecordSavePolicy = 1 RecordSaveIfServerRecordUnchanged RecordSavePolicy = 0 )
type RecordType ¶
type RecordType string
A data type that CloudKit requires for record types. Full Topic
const ( RecordTypeUserRecord RecordType = "Users" )
type RecordValueObject ¶
A concrete type for the PRecordValue protocol.
type RecordZone ¶
A database partition that contains related records. Full Topic
func NewRecordZone ¶
func NewRecordZone() RecordZone
func NewRecordZoneWithZoneID ¶
func NewRecordZoneWithZoneID(zoneID IRecordZoneID) RecordZone
Creates a record zone object with the specified zone ID. Full Topic
func NewRecordZoneWithZoneName ¶
func NewRecordZoneWithZoneName(zoneName string) RecordZone
Creates a record zone object with the specified zone name. Full Topic
func RecordZoneFrom ¶
func RecordZoneFrom(ptr unsafe.Pointer) RecordZone
func RecordZone_DefaultRecordZone ¶
func RecordZone_DefaultRecordZone() RecordZone
Returns the default record zone. Full Topic
func (RecordZone) Capabilities ¶
func (r_ RecordZone) Capabilities() RecordZoneCapabilities
The capabilities that the zone supports. Full Topic
func (RecordZone) Init ¶
func (r_ RecordZone) Init() RecordZone
func (RecordZone) InitWithZoneID ¶
func (r_ RecordZone) InitWithZoneID(zoneID IRecordZoneID) RecordZone
func (RecordZone) InitWithZoneName ¶
func (r_ RecordZone) InitWithZoneName(zoneName string) RecordZone
func (RecordZone) Share ¶
func (r_ RecordZone) Share() Reference
A reference to the record zone’s share record. Full Topic
func (RecordZone) ZoneID ¶
func (r_ RecordZone) ZoneID() RecordZoneID
The unique ID of the zone. Full Topic
type RecordZoneCapabilities ¶
type RecordZoneCapabilities uint
The capabilities that a record zone supports. Full Topic
const ( RecordZoneCapabilityAtomic RecordZoneCapabilities = 2 RecordZoneCapabilityFetchChanges RecordZoneCapabilities = 1 RecordZoneCapabilitySharing RecordZoneCapabilities = 4 RecordZoneCapabilityZoneWideSharing RecordZoneCapabilities = 8 )
type RecordZoneID ¶
An object that uniquely identifies a record zone in a database. Full Topic
func NewRecordZoneID ¶
func NewRecordZoneID() RecordZoneID
func NewRecordZoneIDWithZoneNameOwnerName ¶
func NewRecordZoneIDWithZoneNameOwnerName(zoneName string, ownerName string) RecordZoneID
Creates a record zone ID with the specified name and owner. Full Topic
func RecordZoneIDFrom ¶
func RecordZoneIDFrom(ptr unsafe.Pointer) RecordZoneID
func (RecordZoneID) Init ¶
func (r_ RecordZoneID) Init() RecordZoneID
func (RecordZoneID) InitWithZoneNameOwnerName ¶
func (r_ RecordZoneID) InitWithZoneNameOwnerName(zoneName string, ownerName string) RecordZoneID
func (RecordZoneID) OwnerName ¶
func (r_ RecordZoneID) OwnerName() string
The ID of the user who owns the record zone. Full Topic
func (RecordZoneID) ZoneName ¶
func (r_ RecordZoneID) ZoneName() string
The unique name of the record zone. Full Topic
type RecordZoneNotification ¶
type RecordZoneNotification struct {
Notification
}
A notification that triggers when the contents of a record zone change. Full Topic
func NewRecordZoneNotification ¶
func NewRecordZoneNotification() RecordZoneNotification
func RecordZoneNotificationFrom ¶
func RecordZoneNotificationFrom(ptr unsafe.Pointer) RecordZoneNotification
func RecordZoneNotification_NotificationFromRemoteNotificationDictionary ¶
func RecordZoneNotification_NotificationFromRemoteNotificationDictionary(notificationDictionary foundation.Dictionary) RecordZoneNotification
Creates a new notification using the specified payload data. Full Topic
func (RecordZoneNotification) DatabaseScope ¶
func (r_ RecordZoneNotification) DatabaseScope() DatabaseScope
The type of database for the record zone. Full Topic
func (RecordZoneNotification) Init ¶
func (r_ RecordZoneNotification) Init() RecordZoneNotification
func (RecordZoneNotification) RecordZoneID ¶
func (r_ RecordZoneNotification) RecordZoneID() RecordZoneID
The ID of the record zone that has changes. Full Topic
type RecordZoneSubscription ¶
type RecordZoneSubscription struct {
Subscription
}
A subscription that generates push notifications when CloudKit modifies records in a specific record zone. Full Topic
func NewRecordZoneSubscription ¶
func NewRecordZoneSubscription() RecordZoneSubscription
func NewRecordZoneSubscriptionWithZoneIDSubscriptionID ¶
func NewRecordZoneSubscriptionWithZoneIDSubscriptionID(zoneID IRecordZoneID, subscriptionID SubscriptionID) RecordZoneSubscription
Creates a named subscription for all records in the specified record zone. Full Topic
func RecordZoneSubscriptionFrom ¶
func RecordZoneSubscriptionFrom(ptr unsafe.Pointer) RecordZoneSubscription
func (RecordZoneSubscription) Init ¶
func (r_ RecordZoneSubscription) Init() RecordZoneSubscription
func (RecordZoneSubscription) InitWithZoneIDSubscriptionID ¶
func (r_ RecordZoneSubscription) InitWithZoneIDSubscriptionID(zoneID IRecordZoneID, subscriptionID SubscriptionID) RecordZoneSubscription
func (RecordZoneSubscription) RecordType ¶
func (r_ RecordZoneSubscription) RecordType() RecordType
The type of record that the subscription queries. Full Topic
func (RecordZoneSubscription) SetRecordType ¶
func (r_ RecordZoneSubscription) SetRecordType(value RecordType)
The type of record that the subscription queries. Full Topic
func (RecordZoneSubscription) ZoneID ¶
func (r_ RecordZoneSubscription) ZoneID() RecordZoneID
The ID of the record zone that the subscription queries. Full Topic
type Reference ¶
A relationship between two records in a record zone. Full Topic
func NewReference ¶
func NewReference() Reference
func NewReferenceWithRecordAction ¶
func NewReferenceWithRecordAction(record IRecord, action ReferenceAction) Reference
Creates a reference object that points to the specified record object. Full Topic
func NewReferenceWithRecordIDAction ¶
func NewReferenceWithRecordIDAction(recordID IRecordID, action ReferenceAction) Reference
Creates a reference object that points to the record with the specified ID. Full Topic
func ReferenceFrom ¶
func (Reference) InitWithRecordAction ¶
func (r_ Reference) InitWithRecordAction(record IRecord, action ReferenceAction) Reference
func (Reference) InitWithRecordIDAction ¶
func (r_ Reference) InitWithRecordIDAction(recordID IRecordID, action ReferenceAction) Reference
func (Reference) RecordID ¶
The ID of the referenced record. Full Topic
func (Reference) ReferenceAction ¶
func (r_ Reference) ReferenceAction() ReferenceAction
The ownership behavior for the records. Full Topic
type ReferenceAction ¶
type ReferenceAction uint
Constants that indicate the behavior when deleting a referenced record. Full Topic
const ( ReferenceActionDeleteSelf ReferenceAction = 1 ReferenceActionNone ReferenceAction = 0 )
type ServerChangeToken ¶
An opaque token that represents a specific point in a database’s history. Full Topic
func NewServerChangeToken ¶
func NewServerChangeToken() ServerChangeToken
func ServerChangeTokenFrom ¶
func ServerChangeTokenFrom(ptr unsafe.Pointer) ServerChangeToken
func (ServerChangeToken) Init ¶
func (s_ ServerChangeToken) Init() ServerChangeToken
type Share ¶
type Share struct {
}A specialized record type that manages a collection of shared records. Full Topic
func NewShareWithRecordType ¶
func NewShareWithRecordType(recordType RecordType) Share
Creates a new record of the specified type. Full Topic
func NewShareWithRecordTypeRecordID ¶
func NewShareWithRecordTypeRecordID(recordType RecordType, recordID IRecordID) Share
Creates a record using an ID that you provide. Full Topic
func NewShareWithRecordTypeZoneID ¶
func NewShareWithRecordTypeZoneID(recordType RecordType, zoneID IRecordZoneID) Share
Creates a record in the specified zone. Full Topic
func NewShareWithRecordZoneID ¶
func NewShareWithRecordZoneID(recordZoneID IRecordZoneID) Share
Creates a new share for the specified record zone. Full Topic
func NewShareWithRootRecord ¶
Creates a new share for the specified record. Full Topic
func NewShareWithRootRecordShareID ¶
Creates a new share for the specified record and record ID. Full Topic
func (Share) AddParticipant ¶
func (s_ Share) AddParticipant(participant IShareParticipant)
Adds a participant to the share. Full Topic
func (Share) CurrentUserParticipant ¶
func (s_ Share) CurrentUserParticipant() ShareParticipant
The participant that represents the current user. Full Topic
func (Share) InitWithRecordType ¶
func (s_ Share) InitWithRecordType(recordType RecordType) Share
func (Share) InitWithRecordTypeRecordID ¶
func (s_ Share) InitWithRecordTypeRecordID(recordType RecordType, recordID IRecordID) Share
func (Share) InitWithRecordTypeZoneID ¶
func (s_ Share) InitWithRecordTypeZoneID(recordType RecordType, zoneID IRecordZoneID) Share
func (Share) InitWithRecordZoneID ¶
func (s_ Share) InitWithRecordZoneID(recordZoneID IRecordZoneID) Share
func (Share) InitWithRootRecord ¶
func (Share) InitWithRootRecordShareID ¶
func (Share) Owner ¶
func (s_ Share) Owner() ShareParticipant
The participant that represents the share’s owner. Full Topic
func (Share) Participants ¶
func (s_ Share) Participants() []ShareParticipant
An array that contains the share’s participants. Full Topic
func (Share) PublicPermission ¶
func (s_ Share) PublicPermission() ShareParticipantPermission
The permission for anyone with access to the share’s URL. Full Topic
func (Share) RemoveParticipant ¶
func (s_ Share) RemoveParticipant(participant IShareParticipant)
Removes a participant from the share. Full Topic
func (Share) SetPublicPermission ¶
func (s_ Share) SetPublicPermission(value ShareParticipantPermission)
The permission for anyone with access to the share’s URL. Full Topic
func (Share) URL ¶
func (s_ Share) URL() foundation.URL
The URL for inviting participants to the share. Full Topic
type ShareMetadata ¶
type ShareMetadata struct {
}An object that describes a shared record’s metadata. Full Topic
func NewShareMetadata ¶
func NewShareMetadata() ShareMetadata
func ShareMetadataFrom ¶
func ShareMetadataFrom(ptr unsafe.Pointer) ShareMetadata
func (ShareMetadata) ContainerIdentifier ¶
func (s_ ShareMetadata) ContainerIdentifier() string
The ID of the share’s container. Full Topic
func (ShareMetadata) HierarchicalRootRecordID ¶
func (s_ ShareMetadata) HierarchicalRootRecordID() RecordID
The record ID of the shared hierarchy’s root record. Full Topic
func (ShareMetadata) Init ¶
func (s_ ShareMetadata) Init() ShareMetadata
func (ShareMetadata) OwnerIdentity ¶
func (s_ ShareMetadata) OwnerIdentity() UserIdentity
The identity of the share’s owner. Full Topic
func (ShareMetadata) ParticipantPermission ¶
func (s_ ShareMetadata) ParticipantPermission() ShareParticipantPermission
The share’s permissions for the user who retrieves the metadata. Full Topic
func (ShareMetadata) ParticipantRole ¶
func (s_ ShareMetadata) ParticipantRole() ShareParticipantRole
The share’s participant role for the user who retrieves the metadata. Full Topic
func (ShareMetadata) ParticipantStatus ¶
func (s_ ShareMetadata) ParticipantStatus() ShareParticipantAcceptanceStatus
The share’s participation status for the user who retrieves the metadata. Full Topic
func (ShareMetadata) RootRecord ¶
func (s_ ShareMetadata) RootRecord() Record
The share’s root record. Full Topic
func (ShareMetadata) Share ¶
func (s_ ShareMetadata) Share() Share
The share that owns the metadata. Full Topic
type ShareParticipant ¶
type ShareParticipant struct {
}An object that describes a user’s participation in a share. Full Topic
func NewShareParticipant ¶
func NewShareParticipant() ShareParticipant
func ShareParticipantFrom ¶
func ShareParticipantFrom(ptr unsafe.Pointer) ShareParticipant
func (ShareParticipant) AcceptanceStatus ¶
func (s_ ShareParticipant) AcceptanceStatus() ShareParticipantAcceptanceStatus
The current state of the user’s acceptance of the share. Full Topic
func (ShareParticipant) Init ¶
func (s_ ShareParticipant) Init() ShareParticipant
func (ShareParticipant) Permission ¶
func (s_ ShareParticipant) Permission() ShareParticipantPermission
The participant’s permission level for the share. Full Topic
func (ShareParticipant) Role ¶
func (s_ ShareParticipant) Role() ShareParticipantRole
The participant’s role for the share. Full Topic
func (ShareParticipant) SetPermission ¶
func (s_ ShareParticipant) SetPermission(value ShareParticipantPermission)
The participant’s permission level for the share. Full Topic
func (ShareParticipant) SetRole ¶
func (s_ ShareParticipant) SetRole(value ShareParticipantRole)
The participant’s role for the share. Full Topic
func (ShareParticipant) UserIdentity ¶
func (s_ ShareParticipant) UserIdentity() UserIdentity
The identity of the participant. Full Topic
type ShareParticipantAcceptanceStatus ¶
type ShareParticipantAcceptanceStatus int
Constants that represent the status of a participant. Full Topic
const ()
type ShareParticipantPermission ¶
type ShareParticipantPermission int
Constants that represent the permissions to grant to a share participant. Full Topic
const ()
type ShareParticipantRole ¶
type ShareParticipantRole int
Constants that represent the role of a share’s participant. Full Topic
const ()
type ShareParticipantType ¶
type ShareParticipantType int
The role of a participant. Full Topic
const ()
type Subscription ¶
An abstract base class for subscriptions. Full Topic
func NewSubscription ¶
func NewSubscription() Subscription
func SubscriptionFrom ¶
func SubscriptionFrom(ptr unsafe.Pointer) Subscription
func (Subscription) Init ¶
func (s_ Subscription) Init() Subscription
func (Subscription) NotificationInfo ¶
func (s_ Subscription) NotificationInfo() NotificationInfo
The configuration for a subscription’s push notifications. Full Topic
func (Subscription) SetNotificationInfo ¶
func (s_ Subscription) SetNotificationInfo(value INotificationInfo)
The configuration for a subscription’s push notifications. Full Topic
func (Subscription) SubscriptionID ¶
func (s_ Subscription) SubscriptionID() SubscriptionID
The subscription’s unique identifier. Full Topic
func (Subscription) SubscriptionType ¶
func (s_ Subscription) SubscriptionType() SubscriptionType
The behavior that a subscription provides. Full Topic
type SubscriptionID ¶
type SubscriptionID string
A type that represents a subscription’s identifier. Full Topic
type SubscriptionType ¶
type SubscriptionType int
Constants that identify a subscription’s behavior. Full Topic
const ( SubscriptionTypeDatabase SubscriptionType = 3 SubscriptionTypeQuery SubscriptionType = 1 SubscriptionTypeRecordZone SubscriptionType = 2 )
type UserIdentity ¶
The identity of a user. Full Topic
func NewUserIdentity ¶
func NewUserIdentity() UserIdentity
func UserIdentityFrom ¶
func UserIdentityFrom(ptr unsafe.Pointer) UserIdentity
func (UserIdentity) ContactIdentifiers ¶
func (u_ UserIdentity) ContactIdentifiers() []string
Identifiers that match contacts in the local Contacts database. Full Topic
func (UserIdentity) HasiCloudAccount ¶
func (u_ UserIdentity) HasiCloudAccount() bool
A Boolean value that indicates whether the user has an iCloud account. Full Topic
func (UserIdentity) Init ¶
func (u_ UserIdentity) Init() UserIdentity
func (UserIdentity) LookupInfo ¶
func (u_ UserIdentity) LookupInfo() UserIdentityLookupInfo
The lookup info for retrieving the user identity. Full Topic
func (UserIdentity) NameComponents ¶
func (u_ UserIdentity) NameComponents() foundation.PersonNameComponents
The user’s name. Full Topic
func (UserIdentity) UserRecordID ¶
func (u_ UserIdentity) UserRecordID() RecordID
The user record ID for the corresponding user record. Full Topic
type UserIdentityLookupInfo ¶
The criteria to use when searching for discoverable iCloud users. Full Topic
func NewUserIdentityLookupInfo ¶
func NewUserIdentityLookupInfo() UserIdentityLookupInfo
func NewUserIdentityLookupInfoWithEmailAddress ¶
func NewUserIdentityLookupInfoWithEmailAddress(emailAddress string) UserIdentityLookupInfo
Creates a lookup info for the specified email address. Full Topic
func NewUserIdentityLookupInfoWithPhoneNumber ¶
func NewUserIdentityLookupInfoWithPhoneNumber(phoneNumber string) UserIdentityLookupInfo
Creates a lookup info for the specified phone number. Full Topic
func NewUserIdentityLookupInfoWithUserRecordID ¶
func NewUserIdentityLookupInfoWithUserRecordID(userRecordID IRecordID) UserIdentityLookupInfo
Creates a lookup info for the specified user record ID. Full Topic
func UserIdentityLookupInfoFrom ¶
func UserIdentityLookupInfoFrom(ptr unsafe.Pointer) UserIdentityLookupInfo
func UserIdentityLookupInfo_LookupInfosWithEmails ¶
func UserIdentityLookupInfo_LookupInfosWithEmails(emails []string) []UserIdentityLookupInfo
Returns an array of lookup infos for the specifed email addresses. Full Topic
func UserIdentityLookupInfo_LookupInfosWithPhoneNumbers ¶
func UserIdentityLookupInfo_LookupInfosWithPhoneNumbers(phoneNumbers []string) []UserIdentityLookupInfo
Returns an array of lookup infos for the specifed phone numbers. Full Topic
func UserIdentityLookupInfo_LookupInfosWithRecordIDs ¶
func UserIdentityLookupInfo_LookupInfosWithRecordIDs(recordIDs []IRecordID) []UserIdentityLookupInfo
Returns an array of lookup infos for the specifed user record IDs. Full Topic
func (UserIdentityLookupInfo) EmailAddress ¶
func (u_ UserIdentityLookupInfo) EmailAddress() string
The user’s email address. Full Topic
func (UserIdentityLookupInfo) Init ¶
func (u_ UserIdentityLookupInfo) Init() UserIdentityLookupInfo
func (UserIdentityLookupInfo) InitWithEmailAddress ¶
func (u_ UserIdentityLookupInfo) InitWithEmailAddress(emailAddress string) UserIdentityLookupInfo
func (UserIdentityLookupInfo) InitWithPhoneNumber ¶
func (u_ UserIdentityLookupInfo) InitWithPhoneNumber(phoneNumber string) UserIdentityLookupInfo
func (UserIdentityLookupInfo) InitWithUserRecordID ¶
func (u_ UserIdentityLookupInfo) InitWithUserRecordID(userRecordID IRecordID) UserIdentityLookupInfo
func (UserIdentityLookupInfo) PhoneNumber ¶
func (u_ UserIdentityLookupInfo) PhoneNumber() string
The user’s phone number. Full Topic
func (UserIdentityLookupInfo) UserRecordID ¶
func (u_ UserIdentityLookupInfo) UserRecordID() RecordID
The ID of the user record. Full Topic
Source Files
¶
- accept_shares_operation.gen.go
- aliastypes.gen.go
- asset.gen.go
- cloudkit.go
- container.gen.go
- database.gen.go
- database_notification.gen.go
- database_operation.gen.go
- database_subscription.gen.go
- discover_all_user_identities_operation.gen.go
- discover_user_identities_operation.gen.go
- doc.gen.go
- enumtypes.gen.go
- fetch_database_changes_operation.gen.go
- fetch_notification_changes_operation.gen.go
- fetch_record_changes_operation.gen.go
- fetch_record_zone_changes_configuration.gen.go
- fetch_record_zone_changes_operation.gen.go
- fetch_record_zone_changes_options.gen.go
- fetch_record_zones_operation.gen.go
- fetch_records_operation.gen.go
- fetch_share_metadata_operation.gen.go
- fetch_share_participants_operation.gen.go
- fetch_subscriptions_operation.gen.go
- fetch_web_auth_token_operation.gen.go
- location_sort_descriptor.gen.go
- mark_notifications_read_operation.gen.go
- modify_badge_operation.gen.go
- modify_record_zones_operation.gen.go
- modify_records_operation.gen.go
- modify_subscriptions_operation.gen.go
- notification.gen.go
- notification_id.gen.go
- notification_info.gen.go
- operation.gen.go
- operation_configuration.gen.go
- operation_group.gen.go
- query.gen.go
- query_cursor.gen.go
- query_notification.gen.go
- query_operation.gen.go
- query_subscription.gen.go
- record.gen.go
- record_id.gen.go
- record_key_value_setting_protocol.gen.go
- record_value_protocol.gen.go
- record_zone.gen.go
- record_zone_id.gen.go
- record_zone_notification.gen.go
- record_zone_subscription.gen.go
- reference.gen.go
- server_change_token.gen.go
- share.gen.go
- share_metadata.gen.go
- share_participant.gen.go
- subscription.gen.go
- user_identity.gen.go
- user_identity_lookup_info.gen.go