corespotlight

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package corespotlight provides a fluent Go API over the macOS CoreSpotlight framework.

Construction

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

Lifecycle

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

Errors

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

Types

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

Index

Constants

This section is empty.

Variables

View Source
var ErrCodeCancelled = errkit.New("CSSearchQueryErrorDomain", -2003)

ErrCodeCancelled matches the CoreSpotlight error CSSearchQueryErrorCodeCancelled.

View Source
var ErrCodeIndexUnavailableError = errkit.New("CSIndexErrorDomain", -1000)

ErrCodeIndexUnavailableError matches the CoreSpotlight error CSIndexErrorCodeIndexUnavailableError.

View Source
var ErrCodeIndexUnreachable = errkit.New("CSSearchQueryErrorDomain", -2001)

ErrCodeIndexUnreachable matches the CoreSpotlight error CSSearchQueryErrorCodeIndexUnreachable.

View Source
var ErrCodeIndexingUnsupported = errkit.New("CSIndexErrorDomain", -1005)

ErrCodeIndexingUnsupported matches the CoreSpotlight error CSIndexErrorCodeIndexingUnsupported.

View Source
var ErrCodeInvalidClientStateError = errkit.New("CSIndexErrorDomain", -1002)

ErrCodeInvalidClientStateError matches the CoreSpotlight error CSIndexErrorCodeInvalidClientStateError.

View Source
var ErrCodeInvalidItemError = errkit.New("CSIndexErrorDomain", -1001)

ErrCodeInvalidItemError matches the CoreSpotlight error CSIndexErrorCodeInvalidItemError.

View Source
var ErrCodeInvalidQuery = errkit.New("CSSearchQueryErrorDomain", -2002)

ErrCodeInvalidQuery matches the CoreSpotlight error CSSearchQueryErrorCodeInvalidQuery.

View Source
var ErrCodeMismatchedClientState = errkit.New("CSIndexErrorDomain", -1006)

ErrCodeMismatchedClientState matches the CoreSpotlight error CSIndexErrorCodeMismatchedClientState.

View Source
var ErrCodeQuotaExceeded = errkit.New("CSIndexErrorDomain", -1004)

ErrCodeQuotaExceeded matches the CoreSpotlight error CSIndexErrorCodeQuotaExceeded.

View Source
var ErrCodeRemoteConnectionError = errkit.New("CSIndexErrorDomain", -1003)

ErrCodeRemoteConnectionError matches the CoreSpotlight error CSIndexErrorCodeRemoteConnectionError.

View Source
var ErrCodeUnknown = errkit.New("CSSearchQueryErrorDomain", -2000)

ErrCodeUnknown matches the CoreSpotlight error CSSearchQueryErrorCodeUnknown.

View Source
var ErrCodeUnknownError = errkit.New("CSIndexErrorDomain", -1)

ErrCodeUnknownError matches the CoreSpotlight error CSIndexErrorCodeUnknownError.

Functions

func CSIndexErrorDomain

func CSIndexErrorDomain() obj.Object

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

func CSMailboxArchive

func CSMailboxArchive() obj.Object

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

func CSMailboxDrafts

func CSMailboxDrafts() obj.Object

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

func CSMailboxInbox

func CSMailboxInbox() obj.Object

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

func CSMailboxJunk

func CSMailboxJunk() obj.Object

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

func CSMailboxSent

func CSMailboxSent() obj.Object

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

func CSMailboxTrash

func CSMailboxTrash() obj.Object

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

func CSQueryContinuationActionType

func CSQueryContinuationActionType() obj.Object

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

func CSSearchQueryErrorDomain

func CSSearchQueryErrorDomain() uintptr

CSSearchQueryErrorDomain returns the address of the symbol CSSearchQueryErrorDomain.

func CSSearchQueryString

func CSSearchQueryString() obj.Object

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

func CSSearchableItemActionType

func CSSearchableItemActionType() obj.Object

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

func CSSearchableItemActivityIdentifier

func CSSearchableItemActivityIdentifier() obj.Object

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

func CSSuggestionHighlightAttributeName

func CSSuggestionHighlightAttributeName() uintptr

CSSuggestionHighlightAttributeName returns the address of the symbol CSSuggestionHighlightAttributeName.

func CoreSpotlightVersionNumber

func CoreSpotlightVersionNumber() float64

CoreSpotlightVersionNumber returns the value of the constant CoreSpotlightVersionNumber.

func CoreSpotlightVersionString

func CoreSpotlightVersionString() uintptr

CoreSpotlightVersionString returns the address of the symbol CoreSpotlightVersionString.

func IsIndexingAvailable added in v0.17.0

func IsIndexingAvailable() bool

IsIndexingAvailable reports whether returns a Boolean value that indicates whether indexing is available on the current device.

func Prepare added in v0.17.0

func Prepare()

Prepare performs one-time tasks that prepare Spotlight to search for content in all search indexes.

func PrepareProtectionClasses added in v0.17.0

func PrepareProtectionClasses(protectionClasses []*foundation.String)

PrepareProtectionClasses performs one-time tasks that prepare Spotlight to search for content in one or more protected search indexes.

Types

type Clockid added in v0.17.0

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

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

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

type CustomAttributeKey added in v0.17.0

type CustomAttributeKey struct {
	objref.Handle
}

CustomAttributeKey is an idiomatic wrapper over the Objective-C class CSCustomAttributeKey.

A key associated with a custom attribute for a searchable item.

func CustomAttributeKeyFromID added in v0.17.0

func CustomAttributeKeyFromID(id objc.ID) *CustomAttributeKey

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

func NewCustomAttributeKeyWithKeyName added in v0.17.0

func NewCustomAttributeKeyWithKeyName(keyName string) *CustomAttributeKey

NewCustomAttributeKeyWithKeyName returns a new custom attribute key with the specified name.

func NewCustomAttributeKeyWithKeyNameSearchableSearchableByDefaultUniqueMultiValued added in v0.17.0

func NewCustomAttributeKeyWithKeyNameSearchableSearchableByDefaultUniqueMultiValued(keyName string, searchable bool, searchableByDefault bool, unique bool, multiValued bool) *CustomAttributeKey

NewCustomAttributeKeyWithKeyNameSearchableSearchableByDefaultUniqueMultiValued returns a new custom attribute key with the specified name and properties.

func (*CustomAttributeKey) Description added in v0.17.0

func (cak *CustomAttributeKey) Description() string

Description returns the object's -description text.

func (*CustomAttributeKey) IsEqual added in v0.17.0

func (cak *CustomAttributeKey) IsEqual(other obj.Object) bool

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

func (*CustomAttributeKey) IsKind added in v0.17.0

func (cak *CustomAttributeKey) IsKind(className string) bool

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

func (*CustomAttributeKey) IsMultiValued added in v0.17.0

func (cak *CustomAttributeKey) IsMultiValued() bool

IsMultiValued reports whether the object is multi valued.

func (*CustomAttributeKey) IsSearchable added in v0.17.0

func (cak *CustomAttributeKey) IsSearchable() bool

IsSearchable reports whether the object is searchable.

func (*CustomAttributeKey) IsSearchableByDefault added in v0.17.0

func (cak *CustomAttributeKey) IsSearchableByDefault() bool

IsSearchableByDefault reports whether the object is searchable by default.

func (*CustomAttributeKey) IsUnique added in v0.17.0

func (cak *CustomAttributeKey) IsUnique() bool

IsUnique reports whether the object is unique.

func (*CustomAttributeKey) KeyName added in v0.17.0

func (cak *CustomAttributeKey) KeyName() string

KeyName returns the key name.

func (*CustomAttributeKey) String added in v0.17.0

func (cak *CustomAttributeKey) String() string

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

type DispatchAutoreleaseFrequency added in v0.17.0

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

func (DispatchAutoreleaseFrequency) String added in v0.17.0

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

type DispatchBlockFlags added in v0.17.0

type DispatchBlockFlags uint64

Bitmask — values may be combined with |.

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

func (DispatchBlockFlags) String added in v0.17.0

func (e DispatchBlockFlags) String() string

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

type EntryID added in v0.17.0

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

func (EntryID) String added in v0.17.0

func (e EntryID) String() string

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

type FilesecProperty added in v0.17.0

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

func (FilesecProperty) String added in v0.17.0

func (e FilesecProperty) String() string

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

type Flag added in v0.17.0

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

func (Flag) String added in v0.17.0

func (e Flag) String() string

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

type Idtype added in v0.17.0

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

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

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

type ImportExtension added in v0.17.0

type ImportExtension struct {
	objref.Handle
}

ImportExtension is an idiomatic wrapper over the Objective-C class CSImportExtension.

An object that provides searchable attributes for file types that the app supports.

func ImportExtensionFromID added in v0.17.0

func ImportExtensionFromID(id objc.ID) *ImportExtension

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

func NewImportExtension added in v0.17.0

func NewImportExtension() *ImportExtension

NewImportExtension creates a new ImportExtension.

func (*ImportExtension) Description added in v0.17.0

func (ie *ImportExtension) Description() string

Description returns the object's -description text.

func (*ImportExtension) IsEqual added in v0.17.0

func (ie *ImportExtension) IsEqual(other obj.Object) bool

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

func (*ImportExtension) IsKind added in v0.17.0

func (ie *ImportExtension) IsKind(className string) bool

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

func (*ImportExtension) String added in v0.17.0

func (ie *ImportExtension) String() string

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

func (*ImportExtension) UpdateAttributesForFileAtURL added in v0.17.0

func (ie *ImportExtension) UpdateAttributesForFileAtURL(attributes *SearchableItemAttributeSet, contentURL string) error

UpdateAttributesForFileAtURL provides searchable attributes for a file at the specified URL.

type IndexErrorCode added in v0.17.0

type IndexErrorCode int64

Error codes that describe indexing-specific errors.

const (
	IndexErrorCodeUnknownError            IndexErrorCode = -1
	IndexErrorCodeIndexUnavailableError   IndexErrorCode = -1000
	IndexErrorCodeInvalidItemError        IndexErrorCode = -1001
	IndexErrorCodeInvalidClientStateError IndexErrorCode = -1002
	IndexErrorCodeRemoteConnectionError   IndexErrorCode = -1003
	IndexErrorCodeQuotaExceeded           IndexErrorCode = -1004
	IndexErrorCodeIndexingUnsupported     IndexErrorCode = -1005
	IndexErrorCodeMismatchedClientState   IndexErrorCode = -1006
)

func (IndexErrorCode) String added in v0.17.0

func (e IndexErrorCode) String() string

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

type IndexExtensionRequestHandler added in v0.17.0

type IndexExtensionRequestHandler struct {
	objref.Handle
}

IndexExtensionRequestHandler is an idiomatic wrapper over the Objective-C class CSIndexExtensionRequestHandler.

An interface that implements an index-maintenance app extension.

func IndexExtensionRequestHandlerFromID added in v0.17.0

func IndexExtensionRequestHandlerFromID(id objc.ID) *IndexExtensionRequestHandler

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

func NewIndexExtensionRequestHandler added in v0.17.0

func NewIndexExtensionRequestHandler() *IndexExtensionRequestHandler

NewIndexExtensionRequestHandler creates a new IndexExtensionRequestHandler.

func (*IndexExtensionRequestHandler) Description added in v0.17.0

func (ierh *IndexExtensionRequestHandler) Description() string

Description returns the object's -description text.

func (*IndexExtensionRequestHandler) IsEqual added in v0.17.0

func (ierh *IndexExtensionRequestHandler) IsEqual(other obj.Object) bool

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

func (*IndexExtensionRequestHandler) IsKind added in v0.17.0

func (ierh *IndexExtensionRequestHandler) IsKind(className string) bool

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

func (*IndexExtensionRequestHandler) String added in v0.17.0

func (ierh *IndexExtensionRequestHandler) String() string

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

type IpcInfoObjectType added in v0.17.0

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

func (IpcInfoObjectType) String added in v0.17.0

func (e IpcInfoObjectType) String() string

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

type LaunchDataType added in v0.17.0

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

func (LaunchDataType) String added in v0.17.0

func (e LaunchDataType) String() string

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

type LocalizedString added in v0.17.0

type LocalizedString struct {
	objref.Handle
}

LocalizedString is an idiomatic wrapper over the Objective-C class CSLocalizedString.

An object that displays localized text in search results related to your app.

func LocalizedStringFromID added in v0.17.0

func LocalizedStringFromID(id objc.ID) *LocalizedString

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

func NewLocalizedStringWithLocalizedStrings added in v0.17.0

func NewLocalizedStringWithLocalizedStrings(localizedStrings obj.Object) *LocalizedString

NewLocalizedStringWithLocalizedStrings initializes a CSLocalizedString object with the specified dictionary of localized strings.

func (*LocalizedString) Description added in v0.17.0

func (ls *LocalizedString) Description() string

Description returns the object's -description text.

func (*LocalizedString) IsEqual added in v0.17.0

func (ls *LocalizedString) IsEqual(other obj.Object) bool

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

func (*LocalizedString) IsKind added in v0.17.0

func (ls *LocalizedString) IsKind(className string) bool

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

func (*LocalizedString) LocalizedString added in v0.17.0

func (ls *LocalizedString) LocalizedString() string

LocalizedString returns the localized string for the current language.

func (*LocalizedString) String added in v0.17.0

func (ls *LocalizedString) String() string

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

type MDLabelDomain

type MDLabelDomain int32

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

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

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

type MDQueryOptionFlags

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

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

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

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int32
const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

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

type MachVMRangeFlags added in v0.17.0

type MachVMRangeFlags uint64

Bitmask — values may be combined with |.

const (
	MachVMRangeFlagsNone MachVMRangeFlags = 0
)

func (MachVMRangeFlags) String added in v0.17.0

func (e MachVMRangeFlags) String() string

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

type MachVMRangeFlavor added in v0.17.0

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

func (MachVMRangeFlavor) String added in v0.17.0

func (e MachVMRangeFlavor) String() string

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

type MachVMRangeTag added in v0.17.0

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

func (MachVMRangeTag) String added in v0.17.0

func (e MachVMRangeTag) String() string

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

type MpoFlags added in v0.17.0

type MpoFlags uint32

Bitmask — values may be combined with |.

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

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

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

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

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

type Perm added in v0.17.0

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

func (Perm) String added in v0.17.0

func (e Perm) String() string

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

type Person added in v0.17.0

type Person struct {
	objref.Handle
}

Person is an idiomatic wrapper over the Objective-C class CSPerson.

An object that represents a person in the context of search results.

func NewPersonWithDisplayNameHandlesHandleIdentifier added in v0.17.0

func NewPersonWithDisplayNameHandlesHandleIdentifier(displayName string, handles []string, handleIdentifier string) *Person

NewPersonWithDisplayNameHandlesHandleIdentifier returns a new CSPerson object initialized with the specified display name and contact attributes.

func PersonFromID added in v0.17.0

func PersonFromID(id objc.ID) *Person

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

func (*Person) ContactIdentifier added in v0.17.0

func (p *Person) ContactIdentifier() string

ContactIdentifier returns the contact identifier.

func (*Person) Description added in v0.17.0

func (p *Person) Description() string

Description returns the object's -description text.

func (*Person) DisplayName added in v0.17.0

func (p *Person) DisplayName() string

DisplayName returns the display name.

func (*Person) HandleIdentifier added in v0.17.0

func (p *Person) HandleIdentifier() string

HandleIdentifier returns the handle identifier.

func (*Person) Handles added in v0.17.0

func (p *Person) Handles() []string

Handles returns the handles.

Handles returns the collection as a Go slice.

func (*Person) IsEqual added in v0.17.0

func (p *Person) IsEqual(other obj.Object) bool

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

func (*Person) IsKind added in v0.17.0

func (p *Person) IsKind(className string) bool

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

func (*Person) String added in v0.17.0

func (p *Person) String() string

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

func (*Person) WithContactIdentifier added in v0.17.0

func (p *Person) WithContactIdentifier(contactIdentifier string) *Person

WithContactIdentifier sets the identifier for the contact associated with the person.

type PtrauthKey added in v0.17.0

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

func (PtrauthKey) String added in v0.17.0

func (e PtrauthKey) String() string

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

type QosClass added in v0.17.0

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

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

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

type SearchQuery added in v0.17.0

type SearchQuery struct {
	objref.Handle
}

SearchQuery is an idiomatic wrapper over the Objective-C class CSSearchQuery.

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

A type you use to programmatically search the indexed app content.

func NewSearchQueryWithQueryStringAttributes added in v0.17.0

func NewSearchQueryWithQueryStringAttributes(queryString string, attributes []string) *SearchQuery

NewSearchQueryWithQueryStringAttributes initializes and returns a query object with the specified query string and item attributes.

func NewSearchQueryWithQueryStringQueryContext added in v0.17.0

func NewSearchQueryWithQueryStringQueryContext(queryString string, queryContext *SearchQueryContext) *SearchQuery

NewSearchQueryWithQueryStringQueryContext initializes and returns a query object with the specified query string and query context.

func SearchQueryFromID added in v0.17.0

func SearchQueryFromID(id objc.ID) *SearchQuery

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

func (*SearchQuery) Cancel added in v0.17.0

func (sq *SearchQuery) Cancel()

Cancel cancels the current query operation.

func (*SearchQuery) Description added in v0.17.0

func (sq *SearchQuery) Description() string

Description returns the object's -description text.

func (*SearchQuery) FoundItemCount added in v0.17.0

func (sq *SearchQuery) FoundItemCount() int

FoundItemCount returns the found item count.

func (*SearchQuery) IsCancelled added in v0.17.0

func (sq *SearchQuery) IsCancelled() bool

IsCancelled reports whether the object is cancelled.

func (*SearchQuery) IsEqual added in v0.17.0

func (sq *SearchQuery) IsEqual(other obj.Object) bool

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

func (*SearchQuery) IsKind added in v0.17.0

func (sq *SearchQuery) IsKind(className string) bool

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

func (*SearchQuery) ProtectionClasses added in v0.17.0

func (sq *SearchQuery) ProtectionClasses() []obj.Object

ProtectionClasses returns the protection classes.

ProtectionClasses returns the collection as a Go slice.

func (*SearchQuery) Start added in v0.17.0

func (sq *SearchQuery) Start()

Start starts searching the index for items that match the current query string and parameters.

func (*SearchQuery) String added in v0.17.0

func (sq *SearchQuery) String() string

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

func (*SearchQuery) WithCompletionHandler added in v0.18.0

func (sq *SearchQuery) WithCompletionHandler(completionHandler func(unsafe.Pointer)) *SearchQuery

WithCompletionHandler sets the block to execute when the query finishes delivering all results.

func (*SearchQuery) WithFoundItemsHandler added in v0.17.0

func (sq *SearchQuery) WithFoundItemsHandler(foundItemsHandler func(obj.Object)) *SearchQuery

WithFoundItemsHandler sets the block to execute when the query delivers a new batch of matching items.

func (*SearchQuery) WithProtectionClasses added in v0.17.0

func (sq *SearchQuery) WithProtectionClasses(items ...obj.Object) *SearchQuery

WithProtectionClasses sets the protection types of the indexes you want to search.

type SearchQueryContext added in v0.17.0

type SearchQueryContext struct {
	objref.Handle
}

SearchQueryContext is an idiomatic wrapper over the Objective-C class CSSearchQueryContext.

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

The behavior configuration to use for a search query.

func SearchQueryContextFromID added in v0.17.0

func SearchQueryContextFromID(id objc.ID) *SearchQueryContext

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

func (*SearchQueryContext) Description added in v0.17.0

func (sqc *SearchQueryContext) Description() string

Description returns the object's -description text.

func (*SearchQueryContext) FetchAttributes added in v0.17.0

func (sqc *SearchQueryContext) FetchAttributes() []string

FetchAttributes returns the fetch attributes.

FetchAttributes returns the collection as a Go slice.

func (*SearchQueryContext) FilterQueries added in v0.17.0

func (sqc *SearchQueryContext) FilterQueries() []string

FilterQueries returns the filter queries.

FilterQueries returns the collection as a Go slice.

func (*SearchQueryContext) IsEqual added in v0.17.0

func (sqc *SearchQueryContext) IsEqual(other obj.Object) bool

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

func (*SearchQueryContext) IsKind added in v0.17.0

func (sqc *SearchQueryContext) IsKind(className string) bool

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

func (*SearchQueryContext) KeyboardLanguage added in v0.17.0

func (sqc *SearchQueryContext) KeyboardLanguage() string

KeyboardLanguage returns the keyboard language.

func (*SearchQueryContext) SourceOptions added in v0.17.0

func (sqc *SearchQueryContext) SourceOptions() SearchQuerySourceOptions

SourceOptions returns the source options.

func (*SearchQueryContext) String added in v0.17.0

func (sqc *SearchQueryContext) String() string

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

func (*SearchQueryContext) WithFetchAttributes added in v0.17.0

func (sqc *SearchQueryContext) WithFetchAttributes(items ...obj.Object) *SearchQueryContext

WithFetchAttributes sets the attributes the system fetches for the searchable items.

func (*SearchQueryContext) WithFilterQueries added in v0.17.0

func (sqc *SearchQueryContext) WithFilterQueries(items ...obj.Object) *SearchQueryContext

WithFilterQueries sets the query string used to filter the results.

func (*SearchQueryContext) WithKeyboardLanguage added in v0.17.0

func (sqc *SearchQueryContext) WithKeyboardLanguage(keyboardLanguage string) *SearchQueryContext

WithKeyboardLanguage sets the language used for the query.

func (*SearchQueryContext) WithSourceOptions added in v0.17.0

func (sqc *SearchQueryContext) WithSourceOptions(sourceOptions SearchQuerySourceOptions) *SearchQueryContext

WithSourceOptions sets the query source options to allow or deny Mail messages in the search.

type SearchQueryContextProvider added in v0.17.0

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

SearchQueryContextProvider is accepted wherever a CSSearchQueryContext (or one of its subclasses) is expected.

type SearchQueryErrorCode added in v0.17.0

type SearchQueryErrorCode int64

Error codes that describe reasons a query might fail.

const (
	SearchQueryErrorCodeUnknown          SearchQueryErrorCode = -2000
	SearchQueryErrorCodeIndexUnreachable SearchQueryErrorCode = -2001
	SearchQueryErrorCodeInvalidQuery     SearchQueryErrorCode = -2002
	SearchQueryErrorCodeCancelled        SearchQueryErrorCode = -2003
)

func (SearchQueryErrorCode) String added in v0.17.0

func (e SearchQueryErrorCode) String() string

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

type SearchQueryProvider added in v0.17.0

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

SearchQueryProvider is accepted wherever a CSSearchQuery (or one of its subclasses) is expected.

type SearchQuerySourceOptions added in v0.17.0

type SearchQuerySourceOptions uint64

The query source options to allow or deny Mail messages in the search. Bitmask — values may be combined with |.

const (
	// The query uses the default search option that excludes Mail messages.
	SearchQuerySourceOptionDefault   SearchQuerySourceOptions = 0
	SearchQuerySourceOptionAllowMail SearchQuerySourceOptions = 1
)

func (SearchQuerySourceOptions) String added in v0.17.0

func (e SearchQuerySourceOptions) String() string

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

type SearchableIndex added in v0.17.0

type SearchableIndex struct {
	objref.Handle
}

SearchableIndex is an idiomatic wrapper over the Objective-C class CSSearchableIndex.

An on-device index for your app’s searchable content.

func DefaultSearchableIndex added in v0.17.0

func DefaultSearchableIndex() *SearchableIndex

DefaultSearchableIndex returns the default on-device index.

func NewSearchableIndexWithName added in v0.17.0

func NewSearchableIndexWithName(name string) *SearchableIndex

NewSearchableIndexWithName returns an on-device index with the specified name.

func NewSearchableIndexWithNameProtectionClass added in v0.17.0

func NewSearchableIndexWithNameProtectionClass(name string, protectionClass obj.Object) *SearchableIndex

NewSearchableIndexWithNameProtectionClass returns an on-device index with the specified name and data protection class.

func SearchableIndexFromID added in v0.17.0

func SearchableIndexFromID(id objc.ID) *SearchableIndex

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

func (*SearchableIndex) BeginIndexBatch added in v0.17.0

func (si *SearchableIndex) BeginIndexBatch()

BeginIndexBatch begins a batch of updates to an index.

func (*SearchableIndex) DeleteAllSearchableItems added in v0.17.0

func (si *SearchableIndex) DeleteAllSearchableItems(ctx context.Context) error

DeleteAllSearchableItems deletes all searchable items from the index.

DeleteAllSearchableItems blocks until the operation completes or ctx is cancelled.

func (*SearchableIndex) DeleteSearchableItemsWithDomainIdentifiers added in v0.17.0

func (si *SearchableIndex) DeleteSearchableItemsWithDomainIdentifiers(ctx context.Context, domainIdentifiers []string) error

DeleteSearchableItemsWithDomainIdentifiers removes from the index all searchable items associated with the specified domain.

DeleteSearchableItemsWithDomainIdentifiers blocks until the operation completes or ctx is cancelled.

func (*SearchableIndex) DeleteSearchableItemsWithIdentifiers added in v0.17.0

func (si *SearchableIndex) DeleteSearchableItemsWithIdentifiers(ctx context.Context, identifiers []string) error

DeleteSearchableItemsWithIdentifiers removes from the index all items with the specified identifiers.

DeleteSearchableItemsWithIdentifiers blocks until the operation completes or ctx is cancelled.

func (*SearchableIndex) Description added in v0.17.0

func (si *SearchableIndex) Description() string

Description returns the object's -description text.

func (*SearchableIndex) EndIndexBatchWithClientState added in v0.17.0

func (si *SearchableIndex) EndIndexBatchWithClientState(ctx context.Context, clientState []byte) error

EndIndexBatchWithClientState ends a batch of index updates and stores the specified state information.

EndIndexBatchWithClientState blocks until the operation completes or ctx is cancelled.

func (*SearchableIndex) EndIndexBatchWithExpectedClientStateNewClientState added in v0.17.0

func (si *SearchableIndex) EndIndexBatchWithExpectedClientStateNewClientState(ctx context.Context, expectedClientState []byte, newClientState []byte) error

EndIndexBatchWithExpectedClientStateNewClientState ends a batch of index updates and stores the specified state information.

EndIndexBatchWithExpectedClientStateNewClientState blocks until the operation completes or ctx is cancelled.

func (*SearchableIndex) FetchDataForBundleIdentifierItemIdentifierContentType added in v0.17.0

func (si *SearchableIndex) FetchDataForBundleIdentifierItemIdentifierContentType(ctx context.Context, bundleIdentifier string, itemIdentifier string, contentType obj.Object) (result obj.Object, err error)

FetchDataForBundleIdentifierItemIdentifierContentType fetches data from an external provider.

FetchDataForBundleIdentifierItemIdentifierContentType blocks until the operation completes or ctx is cancelled.

func (*SearchableIndex) FetchLastClientState added in v0.17.0

func (si *SearchableIndex) FetchLastClientState(ctx context.Context) (result obj.Object, err error)

FetchLastClientState fetches the app’s most recent client state information asynchronously.

FetchLastClientState blocks until the operation completes or ctx is cancelled.

func (*SearchableIndex) IndexSearchableItems added in v0.17.0

func (si *SearchableIndex) IndexSearchableItems(ctx context.Context, items []*SearchableItem) error

IndexSearchableItems adds or updates items in the index.

IndexSearchableItems blocks until the operation completes or ctx is cancelled.

func (*SearchableIndex) IsEqual added in v0.17.0

func (si *SearchableIndex) IsEqual(other obj.Object) bool

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

func (*SearchableIndex) IsKind added in v0.17.0

func (si *SearchableIndex) IsKind(className string) bool

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

func (*SearchableIndex) String added in v0.17.0

func (si *SearchableIndex) String() string

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

type SearchableIndexDelegate added in v0.17.0

type SearchableIndexDelegate interface {
	SearchableIndexReindexAllSearchableItemsWithAcknowledgementHandler(searchableIndex *SearchableIndex, acknowledgementHandler func())
	SearchableIndexReindexSearchableItemsWithIdentifiersAcknowledgementHandler(searchableIndex *SearchableIndex, identifiers []string, acknowledgementHandler func())
}

SearchableIndexDelegate is the Go form of the Objective-C protocol CSSearchableIndexDelegate.

type SearchableItem added in v0.17.0

type SearchableItem struct {
	objref.Handle
}

SearchableItem is an idiomatic wrapper over the Objective-C class CSSearchableItem.

The details of your app-specific content that someone might search for on their devices.

func NewSearchableItemWithUniqueIdentifierDomainIdentifierAttributeSet added in v0.17.0

func NewSearchableItemWithUniqueIdentifierDomainIdentifierAttributeSet(uniqueIdentifier string, domainIdentifier string, attributeSet *SearchableItemAttributeSet) *SearchableItem

NewSearchableItemWithUniqueIdentifierDomainIdentifierAttributeSet returns a searchable item associated with the specified identifier, domain identifier, and attribute set.

func SearchableItemFromID added in v0.17.0

func SearchableItemFromID(id objc.ID) *SearchableItem

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

func (*SearchableItem) AttributeSet added in v0.17.0

func (si *SearchableItem) AttributeSet() *SearchableItemAttributeSet

AttributeSet returns the attribute set.

func (*SearchableItem) Description added in v0.17.0

func (si *SearchableItem) Description() string

Description returns the object's -description text.

func (*SearchableItem) DomainIdentifier added in v0.17.0

func (si *SearchableItem) DomainIdentifier() string

DomainIdentifier returns the domain identifier.

func (*SearchableItem) ExpirationDate added in v0.17.0

func (si *SearchableItem) ExpirationDate() time.Time

ExpirationDate returns the expiration date.

func (*SearchableItem) IsEqual added in v0.17.0

func (si *SearchableItem) IsEqual(other obj.Object) bool

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

func (*SearchableItem) IsKind added in v0.17.0

func (si *SearchableItem) IsKind(className string) bool

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

func (*SearchableItem) IsUpdate added in v0.17.0

func (si *SearchableItem) IsUpdate() bool

IsUpdate reports whether the object is update.

func (*SearchableItem) String added in v0.17.0

func (si *SearchableItem) String() string

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

func (*SearchableItem) UniqueIdentifier added in v0.17.0

func (si *SearchableItem) UniqueIdentifier() string

UniqueIdentifier returns the unique identifier.

func (*SearchableItem) UpdateListenerOptions added in v0.17.0

func (si *SearchableItem) UpdateListenerOptions() SearchableItemUpdateListenerOptions

UpdateListenerOptions returns the update listener options.

func (*SearchableItem) WithAttributeSet added in v0.17.0

func (si *SearchableItem) WithAttributeSet(attributeSet *SearchableItemAttributeSet) *SearchableItem

WithAttributeSet sets the set of attributes that contain metadata associated with the item in a CSSearchableItemAttributeSet object.

func (*SearchableItem) WithDomainIdentifier added in v0.17.0

func (si *SearchableItem) WithDomainIdentifier(domainIdentifier string) *SearchableItem

WithDomainIdentifier sets an optional identifier that represents the domain or owner of the item.

func (*SearchableItem) WithExpirationDate added in v0.17.0

func (si *SearchableItem) WithExpirationDate(expirationDate time.Time) *SearchableItem

WithExpirationDate sets the date after which the searchable item should no longer exist.

func (*SearchableItem) WithIsUpdate added in v0.17.0

func (si *SearchableItem) WithIsUpdate(isUpdate bool) *SearchableItem

WithIsUpdate sets a Boolean value that indicates whether to treat the item as an update instead of a new item.

func (*SearchableItem) WithUniqueIdentifier added in v0.17.0

func (si *SearchableItem) WithUniqueIdentifier(uniqueIdentifier string) *SearchableItem

WithUniqueIdentifier sets the value that uniquely identifies the searchable item within your app.

func (*SearchableItem) WithUpdateListenerOptions added in v0.17.0

func (si *SearchableItem) WithUpdateListenerOptions(updateListenerOptions SearchableItemUpdateListenerOptions) *SearchableItem

WithUpdateListenerOptions sets the types of notifications to request from Spotlight.

type SearchableItemAttributeSet added in v0.17.0

type SearchableItemAttributeSet struct {
	objref.Handle
}

SearchableItemAttributeSet is an idiomatic wrapper over the Objective-C class CSSearchableItemAttributeSet.

The detailed metadata for a searchable item.

func NewSearchableItemAttributeSetWithContentType added in v0.17.0

func NewSearchableItemAttributeSetWithContentType(contentType obj.Object) *SearchableItemAttributeSet

NewSearchableItemAttributeSetWithContentType creates an attribute set for the specified content type.

func NewSearchableItemAttributeSetWithItemContentType added in v0.17.0

func NewSearchableItemAttributeSetWithItemContentType(itemContentType string) *SearchableItemAttributeSet

NewSearchableItemAttributeSetWithItemContentType creates an attribute set for the specified content type.

func SearchableItemAttributeSetFromID added in v0.17.0

func SearchableItemAttributeSetFromID(id objc.ID) *SearchableItemAttributeSet

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

func (*SearchableItemAttributeSet) AccountHandles added in v0.17.0

func (sias *SearchableItemAttributeSet) AccountHandles() []string

AccountHandles returns the account handles.

AccountHandles returns the collection as a Go slice.

func (*SearchableItemAttributeSet) AccountIdentifier added in v0.17.0

func (sias *SearchableItemAttributeSet) AccountIdentifier() string

AccountIdentifier returns the account identifier.

func (*SearchableItemAttributeSet) AcquisitionMake added in v0.17.0

func (sias *SearchableItemAttributeSet) AcquisitionMake() string

AcquisitionMake returns the acquisition make.

func (*SearchableItemAttributeSet) AcquisitionModel added in v0.17.0

func (sias *SearchableItemAttributeSet) AcquisitionModel() string

AcquisitionModel returns the acquisition model.

func (*SearchableItemAttributeSet) AddedDate added in v0.17.0

func (sias *SearchableItemAttributeSet) AddedDate() time.Time

AddedDate returns the added date.

func (*SearchableItemAttributeSet) AdditionalRecipients added in v0.17.0

func (sias *SearchableItemAttributeSet) AdditionalRecipients() []*Person

AdditionalRecipients returns the additional recipients.

AdditionalRecipients returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Album added in v0.17.0

func (sias *SearchableItemAttributeSet) Album() string

Album returns the album.

func (*SearchableItemAttributeSet) AllDay added in v0.17.0

AllDay returns the all day.

func (*SearchableItemAttributeSet) AlternateNames added in v0.17.0

func (sias *SearchableItemAttributeSet) AlternateNames() []string

AlternateNames returns the alternate names.

AlternateNames returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Altitude added in v0.17.0

func (sias *SearchableItemAttributeSet) Altitude() *foundation.Number

Altitude returns the altitude.

func (*SearchableItemAttributeSet) Aperture added in v0.17.0

func (sias *SearchableItemAttributeSet) Aperture() *foundation.Number

Aperture returns the aperture.

func (*SearchableItemAttributeSet) Artist added in v0.17.0

func (sias *SearchableItemAttributeSet) Artist() string

Artist returns the artist.

func (*SearchableItemAttributeSet) Audiences added in v0.17.0

func (sias *SearchableItemAttributeSet) Audiences() []string

Audiences returns the audiences.

Audiences returns the collection as a Go slice.

func (*SearchableItemAttributeSet) AudioBitRate added in v0.17.0

func (sias *SearchableItemAttributeSet) AudioBitRate() *foundation.Number

AudioBitRate returns the audio bit rate.

func (*SearchableItemAttributeSet) AudioChannelCount added in v0.17.0

func (sias *SearchableItemAttributeSet) AudioChannelCount() *foundation.Number

AudioChannelCount returns the audio channel count.

func (*SearchableItemAttributeSet) AudioEncodingApplication added in v0.17.0

func (sias *SearchableItemAttributeSet) AudioEncodingApplication() string

AudioEncodingApplication returns the audio encoding application.

func (*SearchableItemAttributeSet) AudioSampleRate added in v0.17.0

func (sias *SearchableItemAttributeSet) AudioSampleRate() *foundation.Number

AudioSampleRate returns the audio sample rate.

func (*SearchableItemAttributeSet) AudioTrackNumber added in v0.17.0

func (sias *SearchableItemAttributeSet) AudioTrackNumber() *foundation.Number

AudioTrackNumber returns the audio track number.

func (*SearchableItemAttributeSet) AuthorAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) AuthorAddresses() []string

AuthorAddresses returns the author addresses.

AuthorAddresses returns the collection as a Go slice.

func (*SearchableItemAttributeSet) AuthorEmailAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) AuthorEmailAddresses() []string

AuthorEmailAddresses returns the author email addresses.

AuthorEmailAddresses returns the collection as a Go slice.

func (*SearchableItemAttributeSet) AuthorNames added in v0.17.0

func (sias *SearchableItemAttributeSet) AuthorNames() []string

AuthorNames returns the author names.

AuthorNames returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Authors added in v0.17.0

func (sias *SearchableItemAttributeSet) Authors() []*Person

Authors returns the authors.

Authors returns the collection as a Go slice.

func (*SearchableItemAttributeSet) BitsPerSample added in v0.17.0

func (sias *SearchableItemAttributeSet) BitsPerSample() *foundation.Number

BitsPerSample returns the bits per sample.

func (*SearchableItemAttributeSet) CameraOwner added in v0.17.0

func (sias *SearchableItemAttributeSet) CameraOwner() string

CameraOwner returns the camera owner.

func (*SearchableItemAttributeSet) City added in v0.17.0

func (sias *SearchableItemAttributeSet) City() string

City returns the city.

func (*SearchableItemAttributeSet) Codecs added in v0.17.0

func (sias *SearchableItemAttributeSet) Codecs() []string

Codecs returns the codecs.

Codecs returns the collection as a Go slice.

func (*SearchableItemAttributeSet) ColorSpace added in v0.17.0

func (sias *SearchableItemAttributeSet) ColorSpace() string

ColorSpace returns the color space.

func (*SearchableItemAttributeSet) Comment added in v0.17.0

func (sias *SearchableItemAttributeSet) Comment() string

Comment returns the comment.

func (*SearchableItemAttributeSet) CompletionDate added in v0.17.0

func (sias *SearchableItemAttributeSet) CompletionDate() time.Time

CompletionDate returns the completion date.

func (*SearchableItemAttributeSet) Composer added in v0.17.0

func (sias *SearchableItemAttributeSet) Composer() string

Composer returns the composer.

func (*SearchableItemAttributeSet) ContactKeywords added in v0.17.0

func (sias *SearchableItemAttributeSet) ContactKeywords() []string

ContactKeywords returns the contact keywords.

ContactKeywords returns the collection as a Go slice.

func (*SearchableItemAttributeSet) ContainerDisplayName added in v0.17.0

func (sias *SearchableItemAttributeSet) ContainerDisplayName() string

ContainerDisplayName returns the container display name.

func (*SearchableItemAttributeSet) ContainerIdentifier added in v0.17.0

func (sias *SearchableItemAttributeSet) ContainerIdentifier() string

ContainerIdentifier returns the container identifier.

func (*SearchableItemAttributeSet) ContainerOrder added in v0.17.0

func (sias *SearchableItemAttributeSet) ContainerOrder() *foundation.Number

ContainerOrder returns the container order.

func (*SearchableItemAttributeSet) ContainerTitle added in v0.17.0

func (sias *SearchableItemAttributeSet) ContainerTitle() string

ContainerTitle returns the container title.

func (*SearchableItemAttributeSet) ContentCreationDate added in v0.17.0

func (sias *SearchableItemAttributeSet) ContentCreationDate() time.Time

ContentCreationDate returns the content creation date.

func (*SearchableItemAttributeSet) ContentDescription added in v0.17.0

func (sias *SearchableItemAttributeSet) ContentDescription() string

ContentDescription returns the content description.

func (*SearchableItemAttributeSet) ContentModificationDate added in v0.17.0

func (sias *SearchableItemAttributeSet) ContentModificationDate() time.Time

ContentModificationDate returns the content modification date.

func (*SearchableItemAttributeSet) ContentRating added in v0.17.0

func (sias *SearchableItemAttributeSet) ContentRating() *foundation.Number

ContentRating returns the content rating.

func (*SearchableItemAttributeSet) ContentSources added in v0.17.0

func (sias *SearchableItemAttributeSet) ContentSources() []string

ContentSources returns the content sources.

ContentSources returns the collection as a Go slice.

func (*SearchableItemAttributeSet) ContentType added in v0.17.0

func (sias *SearchableItemAttributeSet) ContentType() string

ContentType returns the content type.

func (*SearchableItemAttributeSet) ContentTypeTree added in v0.17.0

func (sias *SearchableItemAttributeSet) ContentTypeTree() []string

ContentTypeTree returns the content type tree.

ContentTypeTree returns the collection as a Go slice.

func (*SearchableItemAttributeSet) ContentURL added in v0.17.0

func (sias *SearchableItemAttributeSet) ContentURL() string

ContentURL returns the content URL.

func (*SearchableItemAttributeSet) Contributors added in v0.17.0

func (sias *SearchableItemAttributeSet) Contributors() []string

Contributors returns the contributors.

Contributors returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Copyright added in v0.17.0

func (sias *SearchableItemAttributeSet) Copyright() string

Copyright returns the copyright.

func (*SearchableItemAttributeSet) Country added in v0.17.0

func (sias *SearchableItemAttributeSet) Country() string

Country returns the country.

func (*SearchableItemAttributeSet) Coverage added in v0.17.0

func (sias *SearchableItemAttributeSet) Coverage() []string

Coverage returns the coverage.

Coverage returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Creator added in v0.17.0

func (sias *SearchableItemAttributeSet) Creator() string

Creator returns the creator.

func (*SearchableItemAttributeSet) DarkThumbnailURL added in v0.17.0

func (sias *SearchableItemAttributeSet) DarkThumbnailURL() string

DarkThumbnailURL returns the dark thumbnail URL.

func (*SearchableItemAttributeSet) DeliveryType added in v0.17.0

func (sias *SearchableItemAttributeSet) DeliveryType() *foundation.Number

DeliveryType returns the delivery type.

func (*SearchableItemAttributeSet) Description added in v0.17.0

func (sias *SearchableItemAttributeSet) Description() string

Description returns the object's -description text.

func (*SearchableItemAttributeSet) Director added in v0.17.0

func (sias *SearchableItemAttributeSet) Director() string

Director returns the director.

func (*SearchableItemAttributeSet) DisplayName added in v0.17.0

func (sias *SearchableItemAttributeSet) DisplayName() string

DisplayName returns the display name.

func (*SearchableItemAttributeSet) DomainIdentifier added in v0.18.0

func (sias *SearchableItemAttributeSet) DomainIdentifier() unsafe.Pointer

DomainIdentifier returns the domain identifier.

func (*SearchableItemAttributeSet) DownloadedDate added in v0.17.0

func (sias *SearchableItemAttributeSet) DownloadedDate() time.Time

DownloadedDate returns the downloaded date.

func (*SearchableItemAttributeSet) DueDate added in v0.17.0

func (sias *SearchableItemAttributeSet) DueDate() time.Time

DueDate returns the due date.

func (*SearchableItemAttributeSet) Duration added in v0.17.0

func (sias *SearchableItemAttributeSet) Duration() *foundation.Number

Duration returns the duration.

func (*SearchableItemAttributeSet) EXIFGPSVersion added in v0.17.0

func (sias *SearchableItemAttributeSet) EXIFGPSVersion() string

EXIFGPSVersion returns the exifgps version.

func (*SearchableItemAttributeSet) EXIFVersion added in v0.17.0

func (sias *SearchableItemAttributeSet) EXIFVersion() string

EXIFVersion returns the exif version.

func (*SearchableItemAttributeSet) Editors added in v0.17.0

func (sias *SearchableItemAttributeSet) Editors() []string

Editors returns the editors.

Editors returns the collection as a Go slice.

func (*SearchableItemAttributeSet) EmailAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) EmailAddresses() []string

EmailAddresses returns the email addresses.

EmailAddresses returns the collection as a Go slice.

func (*SearchableItemAttributeSet) EmailHeaders added in v0.17.0

func (sias *SearchableItemAttributeSet) EmailHeaders() map[string]obj.Object

EmailHeaders returns the email headers.

func (*SearchableItemAttributeSet) EncodingApplications added in v0.17.0

func (sias *SearchableItemAttributeSet) EncodingApplications() []string

EncodingApplications returns the encoding applications.

EncodingApplications returns the collection as a Go slice.

func (*SearchableItemAttributeSet) EndDate added in v0.17.0

func (sias *SearchableItemAttributeSet) EndDate() time.Time

EndDate returns the end date.

func (*SearchableItemAttributeSet) ExposureMode added in v0.17.0

func (sias *SearchableItemAttributeSet) ExposureMode() *foundation.Number

ExposureMode returns the exposure mode.

func (*SearchableItemAttributeSet) ExposureProgram added in v0.17.0

func (sias *SearchableItemAttributeSet) ExposureProgram() string

ExposureProgram returns the exposure program.

func (*SearchableItemAttributeSet) ExposureTime added in v0.17.0

func (sias *SearchableItemAttributeSet) ExposureTime() *foundation.Number

ExposureTime returns the exposure time.

func (*SearchableItemAttributeSet) ExposureTimeString added in v0.17.0

func (sias *SearchableItemAttributeSet) ExposureTimeString() string

ExposureTimeString returns the exposure time string.

func (*SearchableItemAttributeSet) FNumber added in v0.17.0

func (sias *SearchableItemAttributeSet) FNumber() *foundation.Number

FNumber returns the f number.

func (*SearchableItemAttributeSet) FileSize added in v0.17.0

func (sias *SearchableItemAttributeSet) FileSize() *foundation.Number

FileSize returns the file size.

func (*SearchableItemAttributeSet) FocalLength added in v0.17.0

func (sias *SearchableItemAttributeSet) FocalLength() *foundation.Number

FocalLength returns the focal length.

func (*SearchableItemAttributeSet) FontNames added in v0.17.0

func (sias *SearchableItemAttributeSet) FontNames() []string

FontNames returns the font names.

FontNames returns the collection as a Go slice.

func (*SearchableItemAttributeSet) FullyFormattedAddress added in v0.17.0

func (sias *SearchableItemAttributeSet) FullyFormattedAddress() string

FullyFormattedAddress returns the fully formatted address.

func (*SearchableItemAttributeSet) GPSAreaInformation added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSAreaInformation() string

GPSAreaInformation returns the gps area information.

func (*SearchableItemAttributeSet) GPSDOP added in v0.17.0

GPSDOP returns the gpsdop.

func (*SearchableItemAttributeSet) GPSDateStamp added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSDateStamp() time.Time

GPSDateStamp returns the gps date stamp.

func (*SearchableItemAttributeSet) GPSDestBearing added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSDestBearing() *foundation.Number

GPSDestBearing returns the gps dest bearing.

func (*SearchableItemAttributeSet) GPSDestDistance added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSDestDistance() *foundation.Number

GPSDestDistance returns the gps dest distance.

func (*SearchableItemAttributeSet) GPSDestLatitude added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSDestLatitude() *foundation.Number

GPSDestLatitude returns the gps dest latitude.

func (*SearchableItemAttributeSet) GPSDestLongitude added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSDestLongitude() *foundation.Number

GPSDestLongitude returns the gps dest longitude.

func (*SearchableItemAttributeSet) GPSDifferental added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSDifferental() *foundation.Number

GPSDifferental returns the gps differental.

func (*SearchableItemAttributeSet) GPSMapDatum added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSMapDatum() string

GPSMapDatum returns the gps map datum.

func (*SearchableItemAttributeSet) GPSMeasureMode added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSMeasureMode() string

GPSMeasureMode returns the gps measure mode.

func (*SearchableItemAttributeSet) GPSProcessingMethod added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSProcessingMethod() string

GPSProcessingMethod returns the gps processing method.

func (*SearchableItemAttributeSet) GPSStatus added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSStatus() string

GPSStatus returns the gps status.

func (*SearchableItemAttributeSet) GPSTrack added in v0.17.0

func (sias *SearchableItemAttributeSet) GPSTrack() *foundation.Number

GPSTrack returns the gps track.

func (*SearchableItemAttributeSet) Genre added in v0.17.0

func (sias *SearchableItemAttributeSet) Genre() string

Genre returns the genre.

func (*SearchableItemAttributeSet) HTMLContentData added in v0.17.0

func (sias *SearchableItemAttributeSet) HTMLContentData() []byte

HTMLContentData returns the HTML content data.

func (*SearchableItemAttributeSet) HasAlphaChannel added in v0.17.0

func (sias *SearchableItemAttributeSet) HasAlphaChannel() *foundation.Number

HasAlphaChannel returns the has alpha channel.

func (*SearchableItemAttributeSet) Headline added in v0.17.0

func (sias *SearchableItemAttributeSet) Headline() string

Headline returns the headline.

func (*SearchableItemAttributeSet) HiddenAdditionalRecipients added in v0.17.0

func (sias *SearchableItemAttributeSet) HiddenAdditionalRecipients() []*Person

HiddenAdditionalRecipients returns the hidden additional recipients.

HiddenAdditionalRecipients returns the collection as a Go slice.

func (*SearchableItemAttributeSet) ISOSpeed added in v0.17.0

func (sias *SearchableItemAttributeSet) ISOSpeed() *foundation.Number

ISOSpeed returns the iso speed.

func (*SearchableItemAttributeSet) Identifier added in v0.17.0

func (sias *SearchableItemAttributeSet) Identifier() string

Identifier returns the identifier.

func (*SearchableItemAttributeSet) ImageDirection added in v0.17.0

func (sias *SearchableItemAttributeSet) ImageDirection() *foundation.Number

ImageDirection returns the image direction.

func (*SearchableItemAttributeSet) ImportantDates added in v0.17.0

func (sias *SearchableItemAttributeSet) ImportantDates() []time.Time

ImportantDates returns the important dates.

ImportantDates returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Information added in v0.17.0

func (sias *SearchableItemAttributeSet) Information() string

Information returns the information.

func (*SearchableItemAttributeSet) InstantMessageAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) InstantMessageAddresses() []string

InstantMessageAddresses returns the instant message addresses.

InstantMessageAddresses returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Instructions added in v0.17.0

func (sias *SearchableItemAttributeSet) Instructions() string

Instructions returns the instructions.

func (*SearchableItemAttributeSet) IsEqual added in v0.17.0

func (sias *SearchableItemAttributeSet) IsEqual(other obj.Object) bool

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

func (*SearchableItemAttributeSet) IsFlashOn added in v0.17.0

func (sias *SearchableItemAttributeSet) IsFlashOn() *foundation.Number

IsFlashOn returns the is flash on.

func (*SearchableItemAttributeSet) IsFocalLength35mm added in v0.17.0

func (sias *SearchableItemAttributeSet) IsFocalLength35mm() *foundation.Number

IsFocalLength35mm returns the is focal length35mm.

func (*SearchableItemAttributeSet) IsGeneralMIDISequence added in v0.17.0

func (sias *SearchableItemAttributeSet) IsGeneralMIDISequence() *foundation.Number

IsGeneralMIDISequence returns the is general midi sequence.

func (*SearchableItemAttributeSet) IsKind added in v0.17.0

func (sias *SearchableItemAttributeSet) IsKind(className string) bool

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

func (*SearchableItemAttributeSet) IsLikelyJunk added in v0.17.0

func (sias *SearchableItemAttributeSet) IsLikelyJunk() *foundation.Number

IsLikelyJunk returns the is likely junk.

func (*SearchableItemAttributeSet) IsLocal added in v0.17.0

func (sias *SearchableItemAttributeSet) IsLocal() *foundation.Number

IsLocal returns the is local.

func (*SearchableItemAttributeSet) IsPriority added in v0.17.0

func (sias *SearchableItemAttributeSet) IsPriority() *foundation.Number

IsPriority returns the is priority.

func (*SearchableItemAttributeSet) IsRedEyeOn added in v0.17.0

func (sias *SearchableItemAttributeSet) IsRedEyeOn() *foundation.Number

IsRedEyeOn returns the is red eye on.

func (*SearchableItemAttributeSet) IsStreamable added in v0.17.0

func (sias *SearchableItemAttributeSet) IsStreamable() *foundation.Number

IsStreamable returns the is streamable.

func (*SearchableItemAttributeSet) IsUserCreated added in v0.18.0

func (sias *SearchableItemAttributeSet) IsUserCreated() unsafe.Pointer

IsUserCreated returns the is user created.

func (*SearchableItemAttributeSet) IsUserCurated added in v0.18.0

func (sias *SearchableItemAttributeSet) IsUserCurated() unsafe.Pointer

IsUserCurated returns the is user curated.

func (*SearchableItemAttributeSet) IsUserOwned added in v0.18.0

func (sias *SearchableItemAttributeSet) IsUserOwned() unsafe.Pointer

IsUserOwned returns the is user owned.

func (*SearchableItemAttributeSet) KeySignature added in v0.17.0

func (sias *SearchableItemAttributeSet) KeySignature() string

KeySignature returns the key signature.

func (*SearchableItemAttributeSet) Keywords added in v0.17.0

func (sias *SearchableItemAttributeSet) Keywords() []string

Keywords returns the keywords.

Keywords returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Kind added in v0.17.0

func (sias *SearchableItemAttributeSet) Kind() string

Kind returns the kind.

func (*SearchableItemAttributeSet) Languages added in v0.17.0

func (sias *SearchableItemAttributeSet) Languages() []string

Languages returns the languages.

Languages returns the collection as a Go slice.

func (*SearchableItemAttributeSet) LastUsedDate added in v0.17.0

func (sias *SearchableItemAttributeSet) LastUsedDate() time.Time

LastUsedDate returns the last used date.

func (*SearchableItemAttributeSet) Latitude added in v0.17.0

func (sias *SearchableItemAttributeSet) Latitude() *foundation.Number

Latitude returns the latitude.

func (*SearchableItemAttributeSet) LayerNames added in v0.17.0

func (sias *SearchableItemAttributeSet) LayerNames() []string

LayerNames returns the layer names.

LayerNames returns the collection as a Go slice.

func (*SearchableItemAttributeSet) LensModel added in v0.17.0

func (sias *SearchableItemAttributeSet) LensModel() string

LensModel returns the lens model.

func (*SearchableItemAttributeSet) Longitude added in v0.17.0

func (sias *SearchableItemAttributeSet) Longitude() *foundation.Number

Longitude returns the longitude.

func (*SearchableItemAttributeSet) Lyricist added in v0.17.0

func (sias *SearchableItemAttributeSet) Lyricist() string

Lyricist returns the lyricist.

func (*SearchableItemAttributeSet) MailboxIdentifiers added in v0.17.0

func (sias *SearchableItemAttributeSet) MailboxIdentifiers() []string

MailboxIdentifiers returns the mailbox identifiers.

MailboxIdentifiers returns the collection as a Go slice.

func (*SearchableItemAttributeSet) MaxAperture added in v0.17.0

func (sias *SearchableItemAttributeSet) MaxAperture() *foundation.Number

MaxAperture returns the max aperture.

func (*SearchableItemAttributeSet) MediaTypes added in v0.17.0

func (sias *SearchableItemAttributeSet) MediaTypes() []string

MediaTypes returns the media types.

MediaTypes returns the collection as a Go slice.

func (*SearchableItemAttributeSet) MetadataModificationDate added in v0.17.0

func (sias *SearchableItemAttributeSet) MetadataModificationDate() time.Time

MetadataModificationDate returns the metadata modification date.

func (*SearchableItemAttributeSet) MeteringMode added in v0.17.0

func (sias *SearchableItemAttributeSet) MeteringMode() string

MeteringMode returns the metering mode.

func (*SearchableItemAttributeSet) MusicalGenre added in v0.17.0

func (sias *SearchableItemAttributeSet) MusicalGenre() string

MusicalGenre returns the musical genre.

func (*SearchableItemAttributeSet) MusicalInstrumentCategory added in v0.17.0

func (sias *SearchableItemAttributeSet) MusicalInstrumentCategory() string

MusicalInstrumentCategory returns the musical instrument category.

func (*SearchableItemAttributeSet) MusicalInstrumentName added in v0.17.0

func (sias *SearchableItemAttributeSet) MusicalInstrumentName() string

MusicalInstrumentName returns the musical instrument name.

func (*SearchableItemAttributeSet) NamedLocation added in v0.17.0

func (sias *SearchableItemAttributeSet) NamedLocation() string

NamedLocation returns the named location.

func (*SearchableItemAttributeSet) Organizations added in v0.17.0

func (sias *SearchableItemAttributeSet) Organizations() []string

Organizations returns the organizations.

Organizations returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Orientation added in v0.17.0

func (sias *SearchableItemAttributeSet) Orientation() *foundation.Number

Orientation returns the orientation.

func (*SearchableItemAttributeSet) OriginalFormat added in v0.17.0

func (sias *SearchableItemAttributeSet) OriginalFormat() string

OriginalFormat returns the original format.

func (*SearchableItemAttributeSet) OriginalSource added in v0.17.0

func (sias *SearchableItemAttributeSet) OriginalSource() string

OriginalSource returns the original source.

func (*SearchableItemAttributeSet) PageCount added in v0.17.0

func (sias *SearchableItemAttributeSet) PageCount() *foundation.Number

PageCount returns the page count.

func (*SearchableItemAttributeSet) PageHeight added in v0.17.0

func (sias *SearchableItemAttributeSet) PageHeight() *foundation.Number

PageHeight returns the page height.

func (*SearchableItemAttributeSet) PageWidth added in v0.17.0

func (sias *SearchableItemAttributeSet) PageWidth() *foundation.Number

PageWidth returns the page width.

func (*SearchableItemAttributeSet) Participants added in v0.17.0

func (sias *SearchableItemAttributeSet) Participants() []string

Participants returns the participants.

Participants returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Path added in v0.17.0

func (sias *SearchableItemAttributeSet) Path() string

Path returns the path.

func (*SearchableItemAttributeSet) Performers added in v0.17.0

func (sias *SearchableItemAttributeSet) Performers() []string

Performers returns the performers.

Performers returns the collection as a Go slice.

func (*SearchableItemAttributeSet) PhoneNumbers added in v0.17.0

func (sias *SearchableItemAttributeSet) PhoneNumbers() []string

PhoneNumbers returns the phone numbers.

PhoneNumbers returns the collection as a Go slice.

func (*SearchableItemAttributeSet) PixelCount added in v0.17.0

func (sias *SearchableItemAttributeSet) PixelCount() *foundation.Number

PixelCount returns the pixel count.

func (*SearchableItemAttributeSet) PixelHeight added in v0.17.0

func (sias *SearchableItemAttributeSet) PixelHeight() *foundation.Number

PixelHeight returns the pixel height.

func (*SearchableItemAttributeSet) PixelWidth added in v0.17.0

func (sias *SearchableItemAttributeSet) PixelWidth() *foundation.Number

PixelWidth returns the pixel width.

func (*SearchableItemAttributeSet) PlayCount added in v0.17.0

func (sias *SearchableItemAttributeSet) PlayCount() *foundation.Number

PlayCount returns the play count.

func (*SearchableItemAttributeSet) PostalCode added in v0.17.0

func (sias *SearchableItemAttributeSet) PostalCode() string

PostalCode returns the postal code.

func (*SearchableItemAttributeSet) PrimaryRecipients added in v0.17.0

func (sias *SearchableItemAttributeSet) PrimaryRecipients() []*Person

PrimaryRecipients returns the primary recipients.

PrimaryRecipients returns the collection as a Go slice.

func (*SearchableItemAttributeSet) Producer added in v0.17.0

func (sias *SearchableItemAttributeSet) Producer() string

Producer returns the producer.

func (*SearchableItemAttributeSet) ProfileName added in v0.17.0

func (sias *SearchableItemAttributeSet) ProfileName() string

ProfileName returns the profile name.

func (*SearchableItemAttributeSet) Projects added in v0.17.0

func (sias *SearchableItemAttributeSet) Projects() []string

Projects returns the projects.

Projects returns the collection as a Go slice.

func (*SearchableItemAttributeSet) ProviderDataTypeIdentifiers added in v0.18.0

func (sias *SearchableItemAttributeSet) ProviderDataTypeIdentifiers() unsafe.Pointer

ProviderDataTypeIdentifiers returns the provider data type identifiers.

func (*SearchableItemAttributeSet) ProviderFileTypeIdentifiers added in v0.18.0

func (sias *SearchableItemAttributeSet) ProviderFileTypeIdentifiers() unsafe.Pointer

ProviderFileTypeIdentifiers returns the provider file type identifiers.

func (*SearchableItemAttributeSet) ProviderInPlaceFileTypeIdentifiers added in v0.18.0

func (sias *SearchableItemAttributeSet) ProviderInPlaceFileTypeIdentifiers() unsafe.Pointer

ProviderInPlaceFileTypeIdentifiers returns the provider in place file type identifiers.

func (*SearchableItemAttributeSet) Publishers added in v0.17.0

func (sias *SearchableItemAttributeSet) Publishers() []string

Publishers returns the publishers.

Publishers returns the collection as a Go slice.

func (*SearchableItemAttributeSet) RankingHint added in v0.18.0

func (sias *SearchableItemAttributeSet) RankingHint() unsafe.Pointer

RankingHint returns the ranking hint.

func (*SearchableItemAttributeSet) Rating added in v0.17.0

Rating returns the rating.

func (*SearchableItemAttributeSet) RatingDescription added in v0.17.0

func (sias *SearchableItemAttributeSet) RatingDescription() string

RatingDescription returns the rating description.

func (*SearchableItemAttributeSet) RecipientAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) RecipientAddresses() []string

RecipientAddresses returns the recipient addresses.

RecipientAddresses returns the collection as a Go slice.

func (*SearchableItemAttributeSet) RecipientEmailAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) RecipientEmailAddresses() []string

RecipientEmailAddresses returns the recipient email addresses.

RecipientEmailAddresses returns the collection as a Go slice.

func (*SearchableItemAttributeSet) RecipientNames added in v0.17.0

func (sias *SearchableItemAttributeSet) RecipientNames() []string

RecipientNames returns the recipient names.

RecipientNames returns the collection as a Go slice.

func (*SearchableItemAttributeSet) RecordingDate added in v0.17.0

func (sias *SearchableItemAttributeSet) RecordingDate() time.Time

RecordingDate returns the recording date.

func (*SearchableItemAttributeSet) RelatedUniqueIdentifier added in v0.17.0

func (sias *SearchableItemAttributeSet) RelatedUniqueIdentifier() string

RelatedUniqueIdentifier returns the related unique identifier.

func (*SearchableItemAttributeSet) ResolutionHeightDPI added in v0.17.0

func (sias *SearchableItemAttributeSet) ResolutionHeightDPI() *foundation.Number

ResolutionHeightDPI returns the resolution height dpi.

func (*SearchableItemAttributeSet) ResolutionWidthDPI added in v0.17.0

func (sias *SearchableItemAttributeSet) ResolutionWidthDPI() *foundation.Number

ResolutionWidthDPI returns the resolution width dpi.

func (*SearchableItemAttributeSet) Rights added in v0.17.0

func (sias *SearchableItemAttributeSet) Rights() string

Rights returns the rights.

func (*SearchableItemAttributeSet) Role added in v0.17.0

func (sias *SearchableItemAttributeSet) Role() string

Role returns the role.

func (*SearchableItemAttributeSet) SecurityMethod added in v0.17.0

func (sias *SearchableItemAttributeSet) SecurityMethod() string

SecurityMethod returns the security method.

func (*SearchableItemAttributeSet) Speed added in v0.17.0

Speed returns the speed.

func (*SearchableItemAttributeSet) StartDate added in v0.17.0

func (sias *SearchableItemAttributeSet) StartDate() time.Time

StartDate returns the start date.

func (*SearchableItemAttributeSet) StateOrProvince added in v0.17.0

func (sias *SearchableItemAttributeSet) StateOrProvince() string

StateOrProvince returns the state or province.

func (*SearchableItemAttributeSet) String added in v0.17.0

func (sias *SearchableItemAttributeSet) String() string

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

func (*SearchableItemAttributeSet) SubThoroughfare added in v0.17.0

func (sias *SearchableItemAttributeSet) SubThoroughfare() string

SubThoroughfare returns the sub thoroughfare.

func (*SearchableItemAttributeSet) Subject added in v0.17.0

func (sias *SearchableItemAttributeSet) Subject() string

Subject returns subject of the this item.

func (*SearchableItemAttributeSet) SupportsNavigation added in v0.17.0

func (sias *SearchableItemAttributeSet) SupportsNavigation() *foundation.Number

SupportsNavigation returns the supports navigation.

func (*SearchableItemAttributeSet) SupportsPhoneCall added in v0.17.0

func (sias *SearchableItemAttributeSet) SupportsPhoneCall() *foundation.Number

SupportsPhoneCall returns the supports phone call.

func (*SearchableItemAttributeSet) Tempo added in v0.17.0

Tempo returns the tempo.

func (*SearchableItemAttributeSet) TextContent added in v0.17.0

func (sias *SearchableItemAttributeSet) TextContent() string

TextContent returns the text content.

func (*SearchableItemAttributeSet) TextContentSummary added in v0.17.0

func (sias *SearchableItemAttributeSet) TextContentSummary() string

TextContentSummary returns the text content summary.

func (*SearchableItemAttributeSet) Theme added in v0.17.0

func (sias *SearchableItemAttributeSet) Theme() string

Theme returns the theme.

func (*SearchableItemAttributeSet) Thoroughfare added in v0.17.0

func (sias *SearchableItemAttributeSet) Thoroughfare() string

Thoroughfare returns the thoroughfare.

func (*SearchableItemAttributeSet) ThumbnailData added in v0.17.0

func (sias *SearchableItemAttributeSet) ThumbnailData() []byte

ThumbnailData returns the thumbnail data.

func (*SearchableItemAttributeSet) ThumbnailURL added in v0.17.0

func (sias *SearchableItemAttributeSet) ThumbnailURL() string

ThumbnailURL returns the thumbnail URL.

func (*SearchableItemAttributeSet) TimeSignature added in v0.17.0

func (sias *SearchableItemAttributeSet) TimeSignature() string

TimeSignature returns the time signature.

func (*SearchableItemAttributeSet) Timestamp added in v0.17.0

func (sias *SearchableItemAttributeSet) Timestamp() time.Time

Timestamp returns the timestamp.

func (*SearchableItemAttributeSet) Title added in v0.17.0

func (sias *SearchableItemAttributeSet) Title() string

Title returns the title.

func (*SearchableItemAttributeSet) TotalBitRate added in v0.17.0

func (sias *SearchableItemAttributeSet) TotalBitRate() *foundation.Number

TotalBitRate returns the total bit rate.

func (*SearchableItemAttributeSet) TranscribedTextContent added in v0.17.0

func (sias *SearchableItemAttributeSet) TranscribedTextContent() string

TranscribedTextContent returns the transcribed text content.

func (*SearchableItemAttributeSet) URL added in v0.17.0

func (sias *SearchableItemAttributeSet) URL() string

URL returns the URL.

func (*SearchableItemAttributeSet) VideoBitRate added in v0.17.0

func (sias *SearchableItemAttributeSet) VideoBitRate() *foundation.Number

VideoBitRate returns the video bit rate.

func (*SearchableItemAttributeSet) WeakRelatedUniqueIdentifier added in v0.18.0

func (sias *SearchableItemAttributeSet) WeakRelatedUniqueIdentifier() unsafe.Pointer

WeakRelatedUniqueIdentifier returns the weak related unique identifier.

func (*SearchableItemAttributeSet) WhiteBalance added in v0.17.0

func (sias *SearchableItemAttributeSet) WhiteBalance() *foundation.Number

WhiteBalance returns the white balance.

func (*SearchableItemAttributeSet) WithAccountHandles added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAccountHandles(items ...obj.Object) *SearchableItemAttributeSet

WithAccountHandles sets an array of the canonical handles for the account with which the message is associated.

func (*SearchableItemAttributeSet) WithAccountIdentifier added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAccountIdentifier(accountIdentifier string) *SearchableItemAttributeSet

WithAccountIdentifier sets the unique identifier for the account with which the message is associated, if any.

func (*SearchableItemAttributeSet) WithAcquisitionMake added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAcquisitionMake(acquisitionMake string) *SearchableItemAttributeSet

WithAcquisitionMake sets the manufacturer of the device that captured the image.

func (*SearchableItemAttributeSet) WithAcquisitionModel added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAcquisitionModel(acquisitionModel string) *SearchableItemAttributeSet

WithAcquisitionModel sets the model of the device that captured the image.

func (*SearchableItemAttributeSet) WithAddedDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAddedDate(addedDate time.Time) *SearchableItemAttributeSet

WithAddedDate sets the date on which the item was moved into its current location.

func (*SearchableItemAttributeSet) WithAdditionalRecipients added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAdditionalRecipients(items ...*Person) *SearchableItemAttributeSet

WithAdditionalRecipients sets an array of CSPerson objects representing the content of the Cc: field in an email message.

func (*SearchableItemAttributeSet) WithAlbum added in v0.17.0

WithAlbum sets the title for a collection of audio media.

func (*SearchableItemAttributeSet) WithAllDay added in v0.17.0

WithAllDay sets a value that indicates if the event covers an entire day.

func (*SearchableItemAttributeSet) WithAlternateNames added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAlternateNames(items ...obj.Object) *SearchableItemAttributeSet

WithAlternateNames sets an array of localized strings that represent alternate display names for the item.

func (*SearchableItemAttributeSet) WithAltitude added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAltitude(altitude obj.Object) *SearchableItemAttributeSet

WithAltitude sets the altitude of the item in meters above sea level, expressed using the WGS84 datum.

func (*SearchableItemAttributeSet) WithAperture added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAperture(aperture obj.Object) *SearchableItemAttributeSet

WithAperture sets the size of the lens aperture at the time the camera captured the image, as a log-scale APEX value.

func (*SearchableItemAttributeSet) WithArtist added in v0.17.0

WithArtist sets the artist associated with the media.

func (*SearchableItemAttributeSet) WithAudiences added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAudiences(items ...obj.Object) *SearchableItemAttributeSet

WithAudiences sets a class of entity for which the item is intended or useful.

func (*SearchableItemAttributeSet) WithAudioBitRate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAudioBitRate(audioBitRate obj.Object) *SearchableItemAttributeSet

WithAudioBitRate sets the audio bit rate of the media.

func (*SearchableItemAttributeSet) WithAudioChannelCount added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAudioChannelCount(audioChannelCount obj.Object) *SearchableItemAttributeSet

WithAudioChannelCount sets the number of channels in the audio data that the file contains.

func (*SearchableItemAttributeSet) WithAudioEncodingApplication added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAudioEncodingApplication(audioEncodingApplication string) *SearchableItemAttributeSet

WithAudioEncodingApplication sets the name of the application that encoded the data the audio file contains.

func (*SearchableItemAttributeSet) WithAudioSampleRate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAudioSampleRate(audioSampleRate obj.Object) *SearchableItemAttributeSet

WithAudioSampleRate sets the sample rate of the audio data the file contains, as a float value representing Hz (audio frames per second), such as 44100.0 or 22254.54.

func (*SearchableItemAttributeSet) WithAudioTrackNumber added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAudioTrackNumber(audioTrackNumber obj.Object) *SearchableItemAttributeSet

WithAudioTrackNumber sets the track number of a song or audio composition when part of an album.

func (*SearchableItemAttributeSet) WithAuthorAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAuthorAddresses(items ...obj.Object) *SearchableItemAttributeSet

WithAuthorAddresses sets an array of addresses associated with the author of the message.

func (*SearchableItemAttributeSet) WithAuthorEmailAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAuthorEmailAddresses(items ...obj.Object) *SearchableItemAttributeSet

WithAuthorEmailAddresses sets an array of email addresses associated with the author of the message.

func (*SearchableItemAttributeSet) WithAuthorNames added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAuthorNames(items ...obj.Object) *SearchableItemAttributeSet

WithAuthorNames sets an array of names representing the authors who have worked on the message.

func (*SearchableItemAttributeSet) WithAuthors added in v0.17.0

func (sias *SearchableItemAttributeSet) WithAuthors(items ...*Person) *SearchableItemAttributeSet

WithAuthors sets an array of CSPerson objects representing the content of the From: field in an item.

func (*SearchableItemAttributeSet) WithBitsPerSample added in v0.17.0

func (sias *SearchableItemAttributeSet) WithBitsPerSample(bitsPerSample obj.Object) *SearchableItemAttributeSet

WithBitsPerSample sets the number of bits per sample.

func (*SearchableItemAttributeSet) WithCameraOwner added in v0.17.0

func (sias *SearchableItemAttributeSet) WithCameraOwner(cameraOwner string) *SearchableItemAttributeSet

WithCameraOwner sets the owner of the camera that captured the image.

func (*SearchableItemAttributeSet) WithCity added in v0.17.0

WithCity sets the city of the item’s origin according to guidelines that the provider establishes.

func (*SearchableItemAttributeSet) WithCodecs added in v0.17.0

WithCodecs sets the codecs used to encode/decode the media.

func (*SearchableItemAttributeSet) WithColorSpace added in v0.17.0

func (sias *SearchableItemAttributeSet) WithColorSpace(colorSpace string) *SearchableItemAttributeSet

WithColorSpace sets the color space model the image uses, such as RGB, CMYK, YUV, or YCbCr.

func (*SearchableItemAttributeSet) WithComment added in v0.17.0

func (sias *SearchableItemAttributeSet) WithComment(comment string) *SearchableItemAttributeSet

WithComment sets a comment related to the media file.

func (*SearchableItemAttributeSet) WithCompletionDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithCompletionDate(completionDate time.Time) *SearchableItemAttributeSet

WithCompletionDate sets the date on which the item was completed.

func (*SearchableItemAttributeSet) WithComposer added in v0.17.0

func (sias *SearchableItemAttributeSet) WithComposer(composer string) *SearchableItemAttributeSet

WithComposer sets the composer of the song or audio composition that the audio file contains.

func (*SearchableItemAttributeSet) WithContactKeywords added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContactKeywords(items ...obj.Object) *SearchableItemAttributeSet

WithContactKeywords sets a list of contacts who are associated with the content in some way, not including the author.

func (*SearchableItemAttributeSet) WithContainerDisplayName added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContainerDisplayName(containerDisplayName string) *SearchableItemAttributeSet

WithContainerDisplayName sets a localized string that specifies the name of a container to which the item belongs, suitable to display in the user interface.

func (*SearchableItemAttributeSet) WithContainerIdentifier added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContainerIdentifier(containerIdentifier string) *SearchableItemAttributeSet

WithContainerIdentifier sets the identifier of the container to which the item belongs.

func (*SearchableItemAttributeSet) WithContainerOrder added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContainerOrder(containerOrder obj.Object) *SearchableItemAttributeSet

WithContainerOrder sets the order of the item within the container.

func (*SearchableItemAttributeSet) WithContainerTitle added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContainerTitle(containerTitle string) *SearchableItemAttributeSet

WithContainerTitle sets the title of the container to which the item belongs.

func (*SearchableItemAttributeSet) WithContentCreationDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContentCreationDate(contentCreationDate time.Time) *SearchableItemAttributeSet

WithContentCreationDate sets the creation date of an edited or optimized version of the song or composition.

func (*SearchableItemAttributeSet) WithContentDescription added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContentDescription(contentDescription string) *SearchableItemAttributeSet

WithContentDescription sets a description of the item’s content.

func (*SearchableItemAttributeSet) WithContentModificationDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContentModificationDate(contentModificationDate time.Time) *SearchableItemAttributeSet

WithContentModificationDate sets the date on which the contents of the file was last modified.

func (*SearchableItemAttributeSet) WithContentRating added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContentRating(contentRating obj.Object) *SearchableItemAttributeSet

WithContentRating sets a value that indicates if the media contains explicit content.

func (*SearchableItemAttributeSet) WithContentSources added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContentSources(items ...obj.Object) *SearchableItemAttributeSet

WithContentSources sets an array of sources from which the media was obtained.

func (*SearchableItemAttributeSet) WithContentType added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContentType(contentType string) *SearchableItemAttributeSet

WithContentType sets the uniform type identifier (UTI) of the item.

func (*SearchableItemAttributeSet) WithContentTypeTree added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContentTypeTree(items ...obj.Object) *SearchableItemAttributeSet

WithContentTypeTree sets an attribute type that identifies a custom hierarchy of types to describe the attributes of your item.

func (*SearchableItemAttributeSet) WithContentURL added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContentURL(contentURL string) *SearchableItemAttributeSet

WithContentURL sets the file URL of the content to index.

func (*SearchableItemAttributeSet) WithContributors added in v0.17.0

func (sias *SearchableItemAttributeSet) WithContributors(items ...obj.Object) *SearchableItemAttributeSet

WithContributors sets a list of people, organizations, or services that made contributions to the media content.

func (*SearchableItemAttributeSet) WithCopyright added in v0.17.0

func (sias *SearchableItemAttributeSet) WithCopyright(copyright string) *SearchableItemAttributeSet

WithCopyright sets the copyright date of the content.

func (*SearchableItemAttributeSet) WithCountry added in v0.17.0

func (sias *SearchableItemAttributeSet) WithCountry(country string) *SearchableItemAttributeSet

WithCountry sets the full, publishable name of the country or region in which the intellectual property of the item was created, according to guidelines the provider establishes.

func (*SearchableItemAttributeSet) WithCoverage added in v0.17.0

func (sias *SearchableItemAttributeSet) WithCoverage(items ...obj.Object) *SearchableItemAttributeSet

WithCoverage sets a list of descriptors that specify the extent or scope of the media.

func (*SearchableItemAttributeSet) WithCreator added in v0.17.0

func (sias *SearchableItemAttributeSet) WithCreator(creator string) *SearchableItemAttributeSet

WithCreator sets the name of the app that created the content.

func (*SearchableItemAttributeSet) WithDarkThumbnailURL added in v0.17.0

func (sias *SearchableItemAttributeSet) WithDarkThumbnailURL(darkThumbnailURL string) *SearchableItemAttributeSet

WithDarkThumbnailURL sets the local file URL of the thumbnail image for the item when Dark Mode is active.

func (*SearchableItemAttributeSet) WithDeliveryType added in v0.17.0

func (sias *SearchableItemAttributeSet) WithDeliveryType(deliveryType obj.Object) *SearchableItemAttributeSet

WithDeliveryType sets the delivery type of the file.

func (*SearchableItemAttributeSet) WithDirector added in v0.17.0

func (sias *SearchableItemAttributeSet) WithDirector(director string) *SearchableItemAttributeSet

WithDirector sets the name of the director of the media (for example, a movie director).

func (*SearchableItemAttributeSet) WithDisplayName added in v0.17.0

func (sias *SearchableItemAttributeSet) WithDisplayName(displayName string) *SearchableItemAttributeSet

WithDisplayName sets a localized string that contains the name of the item, suitable to display in the user interface.

func (*SearchableItemAttributeSet) WithDomainIdentifier added in v0.17.0

func (sias *SearchableItemAttributeSet) WithDomainIdentifier(domainIdentifier unsafe.Pointer) *SearchableItemAttributeSet

WithDomainIdentifier sets an identifier that represents the domain or owner of the item.

func (*SearchableItemAttributeSet) WithDownloadedDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithDownloadedDate(downloadedDate time.Time) *SearchableItemAttributeSet

WithDownloadedDate sets the most recent date on which the file was downloaded or received.

func (*SearchableItemAttributeSet) WithDueDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithDueDate(dueDate time.Time) *SearchableItemAttributeSet

WithDueDate sets the date on which the item is due.

func (*SearchableItemAttributeSet) WithDuration added in v0.17.0

func (sias *SearchableItemAttributeSet) WithDuration(duration obj.Object) *SearchableItemAttributeSet

WithDuration sets the duration (if appropriate) of the content of the file, in seconds.

func (*SearchableItemAttributeSet) WithEXIFGPSVersion added in v0.17.0

func (sias *SearchableItemAttributeSet) WithEXIFGPSVersion(exifgpsVersion string) *SearchableItemAttributeSet

WithEXIFGPSVersion sets the version of GPS Info IFD header that was used to generate the metadata for the image.

func (*SearchableItemAttributeSet) WithEXIFVersion added in v0.17.0

func (sias *SearchableItemAttributeSet) WithEXIFVersion(exifVersion string) *SearchableItemAttributeSet

WithEXIFVersion sets the version of the EXIF header that was used to generate the metadata for the image.

func (*SearchableItemAttributeSet) WithEditors added in v0.17.0

func (sias *SearchableItemAttributeSet) WithEditors(items ...obj.Object) *SearchableItemAttributeSet

WithEditors sets a list of editors who have worked on the file.

func (*SearchableItemAttributeSet) WithEmailAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) WithEmailAddresses(items ...obj.Object) *SearchableItemAttributeSet

WithEmailAddresses sets an array of email addresses associated with the message.

func (*SearchableItemAttributeSet) WithEmailHeaders added in v0.17.0

func (sias *SearchableItemAttributeSet) WithEmailHeaders(emailHeaders map[string]obj.Object) *SearchableItemAttributeSet

WithEmailHeaders sets a dictionary that contains all the headers of the message.

func (*SearchableItemAttributeSet) WithEncodingApplications added in v0.17.0

func (sias *SearchableItemAttributeSet) WithEncodingApplications(items ...obj.Object) *SearchableItemAttributeSet

WithEncodingApplications sets the name of the apps that converted the original content into a PDF stream.

func (*SearchableItemAttributeSet) WithEndDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithEndDate(endDate time.Time) *SearchableItemAttributeSet

WithEndDate sets the end date for the item.

func (*SearchableItemAttributeSet) WithExposureMode added in v0.17.0

func (sias *SearchableItemAttributeSet) WithExposureMode(exposureMode obj.Object) *SearchableItemAttributeSet

WithExposureMode sets the mode the camera used for the exposure of the image.

func (*SearchableItemAttributeSet) WithExposureProgram added in v0.17.0

func (sias *SearchableItemAttributeSet) WithExposureProgram(exposureProgram string) *SearchableItemAttributeSet

WithExposureProgram sets the class of the program the camera used to set exposure when capturing the image.

func (*SearchableItemAttributeSet) WithExposureTime added in v0.17.0

func (sias *SearchableItemAttributeSet) WithExposureTime(exposureTime obj.Object) *SearchableItemAttributeSet

WithExposureTime sets the time that the lens was open during exposure, in seconds.

func (*SearchableItemAttributeSet) WithExposureTimeString added in v0.17.0

func (sias *SearchableItemAttributeSet) WithExposureTimeString(exposureTimeString string) *SearchableItemAttributeSet

WithExposureTimeString sets the time that the lens was open during exposure, in a string, such as “1/250 seconds”.

func (*SearchableItemAttributeSet) WithFNumber added in v0.17.0

WithFNumber sets the focal length of the lens, divided by the diameter of the aperture when the camera captured the image.

func (*SearchableItemAttributeSet) WithFileSize added in v0.17.0

func (sias *SearchableItemAttributeSet) WithFileSize(fileSize obj.Object) *SearchableItemAttributeSet

WithFileSize sets the size of the document file.

func (*SearchableItemAttributeSet) WithFlashOn added in v0.17.0

WithFlashOn sets a value that indicates if the camera used a flash to capture the image.

func (*SearchableItemAttributeSet) WithFocalLength added in v0.17.0

func (sias *SearchableItemAttributeSet) WithFocalLength(focalLength obj.Object) *SearchableItemAttributeSet

WithFocalLength sets the actual focal length of the lens, in millimeters.

func (*SearchableItemAttributeSet) WithFocalLength35mm added in v0.17.0

func (sias *SearchableItemAttributeSet) WithFocalLength35mm(focalLength35mm obj.Object) *SearchableItemAttributeSet

WithFocalLength35mm sets a value that indicates if the focal length is 35mm.

func (*SearchableItemAttributeSet) WithFontNames added in v0.17.0

func (sias *SearchableItemAttributeSet) WithFontNames(items ...obj.Object) *SearchableItemAttributeSet

WithFontNames sets an array of font names the document uses.

func (*SearchableItemAttributeSet) WithFullyFormattedAddress added in v0.17.0

func (sias *SearchableItemAttributeSet) WithFullyFormattedAddress(fullyFormattedAddress string) *SearchableItemAttributeSet

WithFullyFormattedAddress sets the fully formatted address of the item, received from MapKit.

func (*SearchableItemAttributeSet) WithGPSAreaInformation added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSAreaInformation(gpsAreaInformation string) *SearchableItemAttributeSet

WithGPSAreaInformation sets information about the GPS area.

func (*SearchableItemAttributeSet) WithGPSDOP added in v0.17.0

WithGPSDOP sets the GPS dilution of precision value.

func (*SearchableItemAttributeSet) WithGPSDateStamp added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSDateStamp(gpsDateStamp time.Time) *SearchableItemAttributeSet

WithGPSDateStamp sets the date and time related to the GPS value.

func (*SearchableItemAttributeSet) WithGPSDestBearing added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSDestBearing(gpsDestBearing obj.Object) *SearchableItemAttributeSet

WithGPSDestBearing sets the bearing to the destination point.

func (*SearchableItemAttributeSet) WithGPSDestDistance added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSDestDistance(gpsDestDistance obj.Object) *SearchableItemAttributeSet

WithGPSDestDistance sets the distance to the destination point.

func (*SearchableItemAttributeSet) WithGPSDestLatitude added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSDestLatitude(gpsDestLatitude obj.Object) *SearchableItemAttributeSet

WithGPSDestLatitude sets the latitude of the destination point.

func (*SearchableItemAttributeSet) WithGPSDestLongitude added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSDestLongitude(gpsDestLongitude obj.Object) *SearchableItemAttributeSet

WithGPSDestLongitude sets the longitude of the destination point.

func (*SearchableItemAttributeSet) WithGPSDifferental added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSDifferental(gpsDifferental obj.Object) *SearchableItemAttributeSet

WithGPSDifferental sets the differential correction applied to the GPS receiver.

func (*SearchableItemAttributeSet) WithGPSMapDatum added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSMapDatum(gpsMapDatum string) *SearchableItemAttributeSet

WithGPSMapDatum sets the geodetic data that the GPS receiver uses.

func (*SearchableItemAttributeSet) WithGPSMeasureMode added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSMeasureMode(gpsMeasureMode string) *SearchableItemAttributeSet

WithGPSMeasureMode sets the measurement precision mode in use by the GPS receiver.

func (*SearchableItemAttributeSet) WithGPSProcessingMethod added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSProcessingMethod(gpsProcessingMethod string) *SearchableItemAttributeSet

WithGPSProcessingMethod sets the location finding method that the GPS receiver uses.

func (*SearchableItemAttributeSet) WithGPSStatus added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSStatus(gpsStatus string) *SearchableItemAttributeSet

WithGPSStatus sets the status of the GPS receiver.

func (*SearchableItemAttributeSet) WithGPSTrack added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGPSTrack(gpsTrack obj.Object) *SearchableItemAttributeSet

WithGPSTrack sets the direction of travel of the item in degrees from true north.

func (*SearchableItemAttributeSet) WithGeneralMIDISequence added in v0.17.0

func (sias *SearchableItemAttributeSet) WithGeneralMIDISequence(generalMIDISequence obj.Object) *SearchableItemAttributeSet

WithGeneralMIDISequence sets a value that indicates whether the MIDI sequence the file contains is set up for use with a general MIDI device.

func (*SearchableItemAttributeSet) WithGenre added in v0.17.0

WithGenre sets the genre of the media.

func (*SearchableItemAttributeSet) WithHTMLContentData added in v0.17.0

func (sias *SearchableItemAttributeSet) WithHTMLContentData(htmlContentData []byte) *SearchableItemAttributeSet

WithHTMLContentData sets the HTML content of the document encoded as an NSData object representing a UTF-8 encoded string.

func (*SearchableItemAttributeSet) WithHasAlphaChannel added in v0.17.0

func (sias *SearchableItemAttributeSet) WithHasAlphaChannel(hasAlphaChannel obj.Object) *SearchableItemAttributeSet

WithHasAlphaChannel sets indicates if the image file has an alpha channel.

func (*SearchableItemAttributeSet) WithHeadline added in v0.17.0

func (sias *SearchableItemAttributeSet) WithHeadline(headline string) *SearchableItemAttributeSet

WithHeadline sets a publishable string that provides a synopsis of the contents of the item.

func (*SearchableItemAttributeSet) WithHiddenAdditionalRecipients added in v0.17.0

func (sias *SearchableItemAttributeSet) WithHiddenAdditionalRecipients(items ...*Person) *SearchableItemAttributeSet

WithHiddenAdditionalRecipients sets an array of CSPerson objects representing the content of the Bcc: field in an email message.

func (*SearchableItemAttributeSet) WithISOSpeed added in v0.17.0

func (sias *SearchableItemAttributeSet) WithISOSpeed(isoSpeed obj.Object) *SearchableItemAttributeSet

WithISOSpeed sets the ISO speed setting at the time the camera captured the image.

func (*SearchableItemAttributeSet) WithIdentifier added in v0.17.0

func (sias *SearchableItemAttributeSet) WithIdentifier(identifier string) *SearchableItemAttributeSet

WithIdentifier sets a formal identifier that references the document the item represents.

func (*SearchableItemAttributeSet) WithImageDirection added in v0.17.0

func (sias *SearchableItemAttributeSet) WithImageDirection(imageDirection obj.Object) *SearchableItemAttributeSet

WithImageDirection sets the direction of the item’s image in degrees from true north.

func (*SearchableItemAttributeSet) WithImportantDates added in v0.17.0

func (sias *SearchableItemAttributeSet) WithImportantDates(items ...obj.Object) *SearchableItemAttributeSet

WithImportantDates sets an array of important dates associated with the item.

func (*SearchableItemAttributeSet) WithInformation added in v0.17.0

func (sias *SearchableItemAttributeSet) WithInformation(information string) *SearchableItemAttributeSet

WithInformation sets information about the media.

func (*SearchableItemAttributeSet) WithInstantMessageAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) WithInstantMessageAddresses(items ...obj.Object) *SearchableItemAttributeSet

WithInstantMessageAddresses sets an array of instant message addresses for the message.

func (*SearchableItemAttributeSet) WithInstructions added in v0.17.0

func (sias *SearchableItemAttributeSet) WithInstructions(instructions string) *SearchableItemAttributeSet

WithInstructions sets instructions that concern the use of the item, such as an embargo or warning.

func (*SearchableItemAttributeSet) WithKeySignature added in v0.17.0

func (sias *SearchableItemAttributeSet) WithKeySignature(keySignature string) *SearchableItemAttributeSet

WithKeySignature sets the musical key of the song or audio composition that the file contains, such as C, Dm, or F#m.

func (*SearchableItemAttributeSet) WithKeywords added in v0.17.0

func (sias *SearchableItemAttributeSet) WithKeywords(items ...obj.Object) *SearchableItemAttributeSet

WithKeywords sets an array of keywords associated with the item, such as work, birthday, important, and so on.

func (*SearchableItemAttributeSet) WithKind added in v0.17.0

WithKind sets a description of the kind of document the item represents.

func (*SearchableItemAttributeSet) WithLanguages added in v0.17.0

func (sias *SearchableItemAttributeSet) WithLanguages(items ...obj.Object) *SearchableItemAttributeSet

WithLanguages sets a list of the included languages for the intellectual content of the media.

func (*SearchableItemAttributeSet) WithLastUsedDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithLastUsedDate(lastUsedDate time.Time) *SearchableItemAttributeSet

WithLastUsedDate sets the date on which the file was last used.

func (*SearchableItemAttributeSet) WithLatitude added in v0.17.0

func (sias *SearchableItemAttributeSet) WithLatitude(latitude obj.Object) *SearchableItemAttributeSet

WithLatitude sets the latitude of the item, in degrees north of the equator, expressed using the WGS84 datum.

func (*SearchableItemAttributeSet) WithLayerNames added in v0.17.0

func (sias *SearchableItemAttributeSet) WithLayerNames(items ...obj.Object) *SearchableItemAttributeSet

WithLayerNames sets an array that contains the names of the various layers in the file.

func (*SearchableItemAttributeSet) WithLensModel added in v0.17.0

func (sias *SearchableItemAttributeSet) WithLensModel(lensModel string) *SearchableItemAttributeSet

WithLensModel sets the model of the lens that captured the image.

func (*SearchableItemAttributeSet) WithLikelyJunk added in v0.17.0

func (sias *SearchableItemAttributeSet) WithLikelyJunk(likelyJunk obj.Object) *SearchableItemAttributeSet

WithLikelyJunk sets a value that indicates if the message is likely to be considered junk.

func (*SearchableItemAttributeSet) WithLocal added in v0.17.0

WithLocal sets a value that indicates if the media is local.

func (*SearchableItemAttributeSet) WithLongitude added in v0.17.0

func (sias *SearchableItemAttributeSet) WithLongitude(longitude obj.Object) *SearchableItemAttributeSet

WithLongitude sets the longitude of the item, in degrees east of the prime meridian, expressed using the WGS84 datum.

func (*SearchableItemAttributeSet) WithLyricist added in v0.17.0

func (sias *SearchableItemAttributeSet) WithLyricist(lyricist string) *SearchableItemAttributeSet

WithLyricist sets the lyricist or text writer for the song or audio composition that the file contains.

func (*SearchableItemAttributeSet) WithMailboxIdentifiers added in v0.17.0

func (sias *SearchableItemAttributeSet) WithMailboxIdentifiers(items ...obj.Object) *SearchableItemAttributeSet

WithMailboxIdentifiers sets an array of mailbox identifiers associated with the message.

func (*SearchableItemAttributeSet) WithMaxAperture added in v0.17.0

func (sias *SearchableItemAttributeSet) WithMaxAperture(maxAperture obj.Object) *SearchableItemAttributeSet

WithMaxAperture sets the smallest F number of the lens.

func (*SearchableItemAttributeSet) WithMediaTypes added in v0.17.0

func (sias *SearchableItemAttributeSet) WithMediaTypes(items ...obj.Object) *SearchableItemAttributeSet

WithMediaTypes sets the media types present in the content.

func (*SearchableItemAttributeSet) WithMetadataModificationDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithMetadataModificationDate(metadataModificationDate time.Time) *SearchableItemAttributeSet

WithMetadataModificationDate sets the date on which the last metadata attribute was changed.

func (*SearchableItemAttributeSet) WithMeteringMode added in v0.17.0

func (sias *SearchableItemAttributeSet) WithMeteringMode(meteringMode string) *SearchableItemAttributeSet

WithMeteringMode sets the metering mode.

func (*SearchableItemAttributeSet) WithMusicalGenre added in v0.17.0

func (sias *SearchableItemAttributeSet) WithMusicalGenre(musicalGenre string) *SearchableItemAttributeSet

WithMusicalGenre sets the musical genre of the song or audio composition that the file contains, such as jazz, pop, rock, or classical.

func (*SearchableItemAttributeSet) WithMusicalInstrumentCategory added in v0.17.0

func (sias *SearchableItemAttributeSet) WithMusicalInstrumentCategory(musicalInstrumentCategory string) *SearchableItemAttributeSet

WithMusicalInstrumentCategory sets the category of the instrument associated with the audio file.

func (*SearchableItemAttributeSet) WithMusicalInstrumentName added in v0.17.0

func (sias *SearchableItemAttributeSet) WithMusicalInstrumentName(musicalInstrumentName string) *SearchableItemAttributeSet

WithMusicalInstrumentName sets the name of an instrument within the context of an instrument category.

func (*SearchableItemAttributeSet) WithNamedLocation added in v0.17.0

func (sias *SearchableItemAttributeSet) WithNamedLocation(namedLocation string) *SearchableItemAttributeSet

WithNamedLocation sets the name of the location or point of interest associated with the item.

func (*SearchableItemAttributeSet) WithOrganizations added in v0.17.0

func (sias *SearchableItemAttributeSet) WithOrganizations(items ...obj.Object) *SearchableItemAttributeSet

WithOrganizations sets a list of companies or organizations that created the content.

func (*SearchableItemAttributeSet) WithOrientation added in v0.17.0

func (sias *SearchableItemAttributeSet) WithOrientation(orientation obj.Object) *SearchableItemAttributeSet

WithOrientation sets the orientation of the data.

func (*SearchableItemAttributeSet) WithOriginalFormat added in v0.17.0

func (sias *SearchableItemAttributeSet) WithOriginalFormat(originalFormat string) *SearchableItemAttributeSet

WithOriginalFormat sets the original format of the media.

func (*SearchableItemAttributeSet) WithOriginalSource added in v0.17.0

func (sias *SearchableItemAttributeSet) WithOriginalSource(originalSource string) *SearchableItemAttributeSet

WithOriginalSource sets the original source of the media.

func (*SearchableItemAttributeSet) WithPageCount added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPageCount(pageCount obj.Object) *SearchableItemAttributeSet

WithPageCount sets the number of pages in the document.

func (*SearchableItemAttributeSet) WithPageHeight added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPageHeight(pageHeight obj.Object) *SearchableItemAttributeSet

WithPageHeight sets the height of the document page, in points (72 points per inch).

func (*SearchableItemAttributeSet) WithPageWidth added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPageWidth(pageWidth obj.Object) *SearchableItemAttributeSet

WithPageWidth sets the width of the document page, in points (72 points per inch).

func (*SearchableItemAttributeSet) WithParticipants added in v0.17.0

func (sias *SearchableItemAttributeSet) WithParticipants(items ...obj.Object) *SearchableItemAttributeSet

WithParticipants sets a list of people who are visible in an image or movie or written about in a document.

func (*SearchableItemAttributeSet) WithPath added in v0.17.0

WithPath sets the complete path to the item.

func (*SearchableItemAttributeSet) WithPerformers added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPerformers(items ...obj.Object) *SearchableItemAttributeSet

WithPerformers sets a list of performers in the media.

func (*SearchableItemAttributeSet) WithPhoneNumbers added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPhoneNumbers(items ...obj.Object) *SearchableItemAttributeSet

WithPhoneNumbers sets an array of phone numbers associated with the message.

func (*SearchableItemAttributeSet) WithPixelCount added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPixelCount(pixelCount obj.Object) *SearchableItemAttributeSet

WithPixelCount sets the total number of pixels in the image.

func (*SearchableItemAttributeSet) WithPixelHeight added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPixelHeight(pixelHeight obj.Object) *SearchableItemAttributeSet

WithPixelHeight sets the height of the item, such as image or video frame height, in pixels.

func (*SearchableItemAttributeSet) WithPixelWidth added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPixelWidth(pixelWidth obj.Object) *SearchableItemAttributeSet

WithPixelWidth sets the width of the item, such as image or video frame width, in pixels.

func (*SearchableItemAttributeSet) WithPlayCount added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPlayCount(playCount obj.Object) *SearchableItemAttributeSet

WithPlayCount sets a user-supplied play count for the media.

func (*SearchableItemAttributeSet) WithPostalCode added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPostalCode(postalCode string) *SearchableItemAttributeSet

WithPostalCode sets the postal code for the item according to guidelines the provider establishes.

func (*SearchableItemAttributeSet) WithPrimaryRecipients added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPrimaryRecipients(items ...*Person) *SearchableItemAttributeSet

WithPrimaryRecipients sets an array of CSPerson objects representing the content of the To: field in an email message.

func (*SearchableItemAttributeSet) WithProducer added in v0.17.0

func (sias *SearchableItemAttributeSet) WithProducer(producer string) *SearchableItemAttributeSet

WithProducer sets the producer of the content.

func (*SearchableItemAttributeSet) WithProfileName added in v0.17.0

func (sias *SearchableItemAttributeSet) WithProfileName(profileName string) *SearchableItemAttributeSet

WithProfileName sets the name of the color profile the camera used for the image.

func (*SearchableItemAttributeSet) WithProjects added in v0.17.0

func (sias *SearchableItemAttributeSet) WithProjects(items ...obj.Object) *SearchableItemAttributeSet

WithProjects sets a list of projects of which this file is a part.

func (*SearchableItemAttributeSet) WithProviderDataTypeIdentifiers added in v0.17.0

func (sias *SearchableItemAttributeSet) WithProviderDataTypeIdentifiers(providerDataTypeIdentifiers unsafe.Pointer) *SearchableItemAttributeSet

WithProviderDataTypeIdentifiers sets an array of type identifiers that correspond to data types your delegate object can provide.

func (*SearchableItemAttributeSet) WithProviderFileTypeIdentifiers added in v0.17.0

func (sias *SearchableItemAttributeSet) WithProviderFileTypeIdentifiers(providerFileTypeIdentifiers unsafe.Pointer) *SearchableItemAttributeSet

WithProviderFileTypeIdentifiers sets an array of type identifiers that correspond to file types your delegate object can provide.

func (*SearchableItemAttributeSet) WithProviderInPlaceFileTypeIdentifiers added in v0.17.0

func (sias *SearchableItemAttributeSet) WithProviderInPlaceFileTypeIdentifiers(providerInPlaceFileTypeIdentifiers unsafe.Pointer) *SearchableItemAttributeSet

WithProviderInPlaceFileTypeIdentifiers sets an array of type identifiers that correspond to in-place file types your delegate object can provide.

func (*SearchableItemAttributeSet) WithPublishers added in v0.17.0

func (sias *SearchableItemAttributeSet) WithPublishers(items ...obj.Object) *SearchableItemAttributeSet

WithPublishers sets a list of people, organizations, services, or other entities responsible for making the media available.

func (*SearchableItemAttributeSet) WithRankingHint added in v0.17.0

func (sias *SearchableItemAttributeSet) WithRankingHint(rankingHint unsafe.Pointer) *SearchableItemAttributeSet

WithRankingHint sets a number that indicates the relative importance of the item among other items from the app.

func (*SearchableItemAttributeSet) WithRating added in v0.17.0

WithRating sets the user-supplied rating of the media.

func (*SearchableItemAttributeSet) WithRatingDescription added in v0.17.0

func (sias *SearchableItemAttributeSet) WithRatingDescription(ratingDescription string) *SearchableItemAttributeSet

WithRatingDescription sets a description of the rating.

func (*SearchableItemAttributeSet) WithRecipientAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) WithRecipientAddresses(items ...obj.Object) *SearchableItemAttributeSet

WithRecipientAddresses sets an array of addresses associated with the recipients of the message.

func (*SearchableItemAttributeSet) WithRecipientEmailAddresses added in v0.17.0

func (sias *SearchableItemAttributeSet) WithRecipientEmailAddresses(items ...obj.Object) *SearchableItemAttributeSet

WithRecipientEmailAddresses sets an array of email addresses associated with the recipient.

func (*SearchableItemAttributeSet) WithRecipientNames added in v0.17.0

func (sias *SearchableItemAttributeSet) WithRecipientNames(items ...obj.Object) *SearchableItemAttributeSet

WithRecipientNames sets an array of names representing the recipients of this message.

func (*SearchableItemAttributeSet) WithRecordingDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithRecordingDate(recordingDate time.Time) *SearchableItemAttributeSet

WithRecordingDate sets the recording date of the song or composition.

func (*SearchableItemAttributeSet) WithRedEyeOn added in v0.17.0

func (sias *SearchableItemAttributeSet) WithRedEyeOn(redEyeOn obj.Object) *SearchableItemAttributeSet

WithRedEyeOn sets a value that indicates if the camera used red-eye reduction when capturing the image.

func (*SearchableItemAttributeSet) WithRelatedUniqueIdentifier added in v0.17.0

func (sias *SearchableItemAttributeSet) WithRelatedUniqueIdentifier(relatedUniqueIdentifier string) *SearchableItemAttributeSet

WithRelatedUniqueIdentifier sets the unique identifier for the item to which the activity is related.

func (*SearchableItemAttributeSet) WithResolutionHeightDPI added in v0.17.0

func (sias *SearchableItemAttributeSet) WithResolutionHeightDPI(resolutionHeightDPI obj.Object) *SearchableItemAttributeSet

WithResolutionHeightDPI sets the resolution height of the image, in DPI.

func (*SearchableItemAttributeSet) WithResolutionWidthDPI added in v0.17.0

func (sias *SearchableItemAttributeSet) WithResolutionWidthDPI(resolutionWidthDPI obj.Object) *SearchableItemAttributeSet

WithResolutionWidthDPI sets the resolution width of the image, in DPI.

func (*SearchableItemAttributeSet) WithRights added in v0.17.0

WithRights sets a link to information about the rights held in and over the media.

func (*SearchableItemAttributeSet) WithRole added in v0.17.0

WithRole sets indicates the role of the content creator.

func (*SearchableItemAttributeSet) WithSecurityMethod added in v0.17.0

func (sias *SearchableItemAttributeSet) WithSecurityMethod(securityMethod string) *SearchableItemAttributeSet

WithSecurityMethod sets the security method (a type of encryption) that protects the document file.

func (*SearchableItemAttributeSet) WithSpeed added in v0.17.0

WithSpeed sets the speed of the item, in kilometers per hour.

func (*SearchableItemAttributeSet) WithStartDate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithStartDate(startDate time.Time) *SearchableItemAttributeSet

WithStartDate sets the start date for the item.

func (*SearchableItemAttributeSet) WithStateOrProvince added in v0.17.0

func (sias *SearchableItemAttributeSet) WithStateOrProvince(stateOrProvince string) *SearchableItemAttributeSet

WithStateOrProvince sets the province or state of origin according to guidelines the provider establishes.

func (*SearchableItemAttributeSet) WithStreamable added in v0.17.0

func (sias *SearchableItemAttributeSet) WithStreamable(streamable obj.Object) *SearchableItemAttributeSet

WithStreamable sets a value that indicates if the content is prepared for streaming.

func (*SearchableItemAttributeSet) WithSubThoroughfare added in v0.17.0

func (sias *SearchableItemAttributeSet) WithSubThoroughfare(subThoroughfare string) *SearchableItemAttributeSet

WithSubThoroughfare sets the sublocation, such as a street number, for the item according to guidelines the provider establishes.

func (*SearchableItemAttributeSet) WithSubject added in v0.17.0

func (sias *SearchableItemAttributeSet) WithSubject(subject string) *SearchableItemAttributeSet

WithSubject sets the subject of the document.

func (*SearchableItemAttributeSet) WithSupportsNavigation added in v0.17.0

func (sias *SearchableItemAttributeSet) WithSupportsNavigation(supportsNavigation obj.Object) *SearchableItemAttributeSet

WithSupportsNavigation sets a value that indicates whether the item contains information sufficient to provide navigation to the location it represents.

func (*SearchableItemAttributeSet) WithSupportsPhoneCall added in v0.17.0

func (sias *SearchableItemAttributeSet) WithSupportsPhoneCall(supportsPhoneCall obj.Object) *SearchableItemAttributeSet

WithSupportsPhoneCall sets a value that indicates whether the item contains information sufficient to allow a phone call to a number associated with the item.

func (*SearchableItemAttributeSet) WithTempo added in v0.17.0

WithTempo sets the tempo of the music that the audio file contains, in beats per minute.

func (*SearchableItemAttributeSet) WithTextContent added in v0.17.0

func (sias *SearchableItemAttributeSet) WithTextContent(textContent string) *SearchableItemAttributeSet

WithTextContent sets the textual content of the message.

func (*SearchableItemAttributeSet) WithTheme added in v0.17.0

WithTheme sets the theme of the document.

func (*SearchableItemAttributeSet) WithThoroughfare added in v0.17.0

func (sias *SearchableItemAttributeSet) WithThoroughfare(thoroughfare string) *SearchableItemAttributeSet

WithThoroughfare sets the thoroughfare, such as a street name, associated with the location for the item according to guidelines the provider establishes.

func (*SearchableItemAttributeSet) WithThumbnailData added in v0.17.0

func (sias *SearchableItemAttributeSet) WithThumbnailData(thumbnailData []byte) *SearchableItemAttributeSet

WithThumbnailData sets image data that represents the thumbnail of the item.

func (*SearchableItemAttributeSet) WithThumbnailURL added in v0.17.0

func (sias *SearchableItemAttributeSet) WithThumbnailURL(thumbnailURL string) *SearchableItemAttributeSet

WithThumbnailURL sets the local file URL of the thumbnail image for the item.

func (*SearchableItemAttributeSet) WithTimeSignature added in v0.17.0

func (sias *SearchableItemAttributeSet) WithTimeSignature(timeSignature string) *SearchableItemAttributeSet

WithTimeSignature sets the time signature of the musical composition that the audio or MIDI file contains, in a string, such as “4/4” or “7/8”.

func (*SearchableItemAttributeSet) WithTimestamp added in v0.17.0

func (sias *SearchableItemAttributeSet) WithTimestamp(timestamp time.Time) *SearchableItemAttributeSet

WithTimestamp sets the timestamp on the item.

func (*SearchableItemAttributeSet) WithTitle added in v0.17.0

WithTitle sets the title of the item.

func (*SearchableItemAttributeSet) WithTotalBitRate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithTotalBitRate(totalBitRate obj.Object) *SearchableItemAttributeSet

WithTotalBitRate sets the total bit rate of the media, combining audio and video.

func (*SearchableItemAttributeSet) WithTranscribedTextContent added in v0.17.0

func (sias *SearchableItemAttributeSet) WithTranscribedTextContent(transcribedTextContent string) *SearchableItemAttributeSet

WithTranscribedTextContent sets a string that represents the text the system transcribed.

func (*SearchableItemAttributeSet) WithURL added in v0.17.0

WithURL sets the URL associated with the media.

func (*SearchableItemAttributeSet) WithUserCreated added in v0.17.0

func (sias *SearchableItemAttributeSet) WithUserCreated(userCreated unsafe.Pointer) *SearchableItemAttributeSet

WithUserCreated sets a value that indicates the user created the item.

func (*SearchableItemAttributeSet) WithUserCurated added in v0.17.0

func (sias *SearchableItemAttributeSet) WithUserCurated(userCurated unsafe.Pointer) *SearchableItemAttributeSet

WithUserCurated sets a value that indicates the user selected the item.

func (*SearchableItemAttributeSet) WithUserOwned added in v0.17.0

func (sias *SearchableItemAttributeSet) WithUserOwned(userOwned unsafe.Pointer) *SearchableItemAttributeSet

WithUserOwned sets a value that indicates the user purchased or owns the item.

func (*SearchableItemAttributeSet) WithVideoBitRate added in v0.17.0

func (sias *SearchableItemAttributeSet) WithVideoBitRate(videoBitRate obj.Object) *SearchableItemAttributeSet

WithVideoBitRate sets the video bit rate of the media.

func (*SearchableItemAttributeSet) WithWeakRelatedUniqueIdentifier added in v0.17.0

func (sias *SearchableItemAttributeSet) WithWeakRelatedUniqueIdentifier(weakRelatedUniqueIdentifier unsafe.Pointer) *SearchableItemAttributeSet

WithWeakRelatedUniqueIdentifier sets the unique identifier for the item to which the activity is related, but not linked.

func (*SearchableItemAttributeSet) WithWhiteBalance added in v0.17.0

func (sias *SearchableItemAttributeSet) WithWhiteBalance(whiteBalance obj.Object) *SearchableItemAttributeSet

WithWhiteBalance sets the white balance setting when the camera captured the image.

type SearchableItemUpdateListenerOptions added in v0.17.0

type SearchableItemUpdateListenerOptions uint64

Bitmask — values may be combined with |.

const (
	SearchableItemUpdateListenerOptionDefault       SearchableItemUpdateListenerOptions = 0
	SearchableItemUpdateListenerOptionSummarization SearchableItemUpdateListenerOptions = 2
	SearchableItemUpdateListenerOptionPriority      SearchableItemUpdateListenerOptions = 4
)

func (SearchableItemUpdateListenerOptions) String added in v0.17.0

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

type Suggestion added in v0.17.0

type Suggestion struct {
	objref.Handle
}

Suggestion is an idiomatic wrapper over the Objective-C class CSSuggestion.

The kind of suggestion to use in a query.

func NewSuggestion added in v0.17.0

func NewSuggestion() *Suggestion

NewSuggestion creates a new Suggestion.

func SuggestionFromID added in v0.17.0

func SuggestionFromID(id objc.ID) *Suggestion

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

func (*Suggestion) Description added in v0.17.0

func (s *Suggestion) Description() string

Description returns the object's -description text.

func (*Suggestion) IsEqual added in v0.17.0

func (s *Suggestion) IsEqual(other obj.Object) bool

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

func (*Suggestion) IsKind added in v0.17.0

func (s *Suggestion) IsKind(className string) bool

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

func (*Suggestion) LocalizedAttributedSuggestion added in v0.17.0

func (s *Suggestion) LocalizedAttributedSuggestion() *foundation.AttributedString

LocalizedAttributedSuggestion returns the localized attributed suggestion.

func (*Suggestion) String added in v0.17.0

func (s *Suggestion) String() string

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

func (*Suggestion) SuggestionKind added in v0.17.0

func (s *Suggestion) SuggestionKind() SuggestionKind

SuggestionKind returns the suggestion kind.

type SuggestionKind added in v0.17.0

type SuggestionKind int64

The suggestion type that determines how the system handles a suggestion.

const (
	SuggestionKindNone    SuggestionKind = 0
	SuggestionKindCustom  SuggestionKind = 1
	SuggestionKindDefault SuggestionKind = 2
)

func (SuggestionKind) String added in v0.17.0

func (e SuggestionKind) String() string

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

type Tag added in v0.17.0

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

func (Tag) String added in v0.17.0

func (e Tag) String() string

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

type Type added in v0.17.0

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

func (Type) String added in v0.17.0

func (e Type) String() string

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

type UserInteraction added in v0.17.0

type UserInteraction int64
const (
	UserInteractionSelect  UserInteraction = 0
	UserInteractionDefault UserInteraction = 0
	UserInteractionFocus   UserInteraction = 1
)

func (UserInteraction) String added in v0.17.0

func (e UserInteraction) String() string

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

type UserQuery added in v0.17.0

type UserQuery struct {
	SearchQuery
}

UserQuery is an idiomatic wrapper over the Objective-C class CSUserQuery.

It embeds SearchQuery, promoting that type's methods.

A type you use to initiate searches from your interface and offer suggested text completions.

func NewUserQueryWithUserQueryStringUserQueryContext added in v0.17.0

func NewUserQueryWithUserQueryStringUserQueryContext(userQueryString string, userQueryContext *UserQueryContext) *UserQuery

NewUserQueryWithUserQueryStringUserQueryContext creates a new user query that searches for the specified term.

func UserQueryFromID added in v0.17.0

func UserQueryFromID(id objc.ID) *UserQuery

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

func (*UserQuery) FoundSuggestionCount added in v0.17.0

func (uq *UserQuery) FoundSuggestionCount() int

FoundSuggestionCount returns the found suggestion count.

func (*UserQuery) UserEngagedWithItemVisibleItemsUserInteractionType added in v0.17.0

func (uq *UserQuery) UserEngagedWithItemVisibleItemsUserInteractionType(item *SearchableItem, visibleItems []*SearchableItem, userInteractionType UserInteraction)

UserEngagedWithItemVisibleItemsUserInteractionType wraps the corresponding Objective-C method.

func (*UserQuery) UserEngagedWithSuggestionVisibleSuggestionsUserInteractionType added in v0.17.0

func (uq *UserQuery) UserEngagedWithSuggestionVisibleSuggestionsUserInteractionType(suggestion *Suggestion, visibleSuggestions []*Suggestion, userInteractionType UserInteraction)

UserEngagedWithSuggestionVisibleSuggestionsUserInteractionType wraps the corresponding Objective-C method.

func (*UserQuery) WithCompletionHandler added in v0.18.0

func (uq *UserQuery) WithCompletionHandler(completionHandler func(unsafe.Pointer)) *UserQuery

WithCompletionHandler sets the block to execute when the query finishes delivering all results.

func (*UserQuery) WithFoundItemsHandler added in v0.17.0

func (uq *UserQuery) WithFoundItemsHandler(foundItemsHandler func(obj.Object)) *UserQuery

WithFoundItemsHandler sets the block to execute when the query delivers a new batch of matching items.

func (*UserQuery) WithFoundSuggestionsHandler added in v0.17.0

func (uq *UserQuery) WithFoundSuggestionsHandler(foundSuggestionsHandler func(obj.Object)) *UserQuery

WithFoundSuggestionsHandler sets the block to execute when the query delivers a new batch of suggested items.

func (*UserQuery) WithProtectionClasses added in v0.17.0

func (uq *UserQuery) WithProtectionClasses(items ...obj.Object) *UserQuery

WithProtectionClasses sets the protection types of the indexes you want to search.

type UserQueryContext added in v0.17.0

type UserQueryContext struct {
	SearchQueryContext
}

UserQueryContext is an idiomatic wrapper over the Objective-C class CSUserQueryContext.

It embeds SearchQueryContext, promoting that type's methods.

The configuration details to apply to a user query.

func CSUserQueryContextUserQueryContext

func CSUserQueryContextUserQueryContext() *UserQueryContext

CSUserQueryContextUserQueryContext returns the current behavior configuration for the user query.

func NewUserQueryContext added in v0.17.0

func NewUserQueryContext() *UserQueryContext

NewUserQueryContext creates a new UserQueryContext.

func UserQueryContextFromID added in v0.17.0

func UserQueryContextFromID(id objc.ID) *UserQueryContext

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

func UserQueryContextWithCurrentSuggestion added in v0.17.0

func UserQueryContextWithCurrentSuggestion(currentSuggestion *Suggestion) *UserQueryContext

UserQueryContextWithCurrentSuggestion creates a new query context object with an optional suggested search string.

func (*UserQueryContext) DisableSemanticSearch added in v0.17.0

func (uqc *UserQueryContext) DisableSemanticSearch() bool

DisableSemanticSearch wraps the corresponding Objective-C method.

func (*UserQueryContext) EnableRankedResults added in v0.17.0

func (uqc *UserQueryContext) EnableRankedResults() bool

EnableRankedResults wraps the corresponding Objective-C method.

func (*UserQueryContext) MaxRankedResultCount added in v0.17.0

func (uqc *UserQueryContext) MaxRankedResultCount() int

MaxRankedResultCount returns the max ranked result count.

func (*UserQueryContext) MaxResultCount added in v0.17.0

func (uqc *UserQueryContext) MaxResultCount() int

MaxResultCount returns the max result count.

func (*UserQueryContext) MaxSuggestionCount added in v0.17.0

func (uqc *UserQueryContext) MaxSuggestionCount() int

MaxSuggestionCount returns the max suggestion count.

func (*UserQueryContext) WithDisableSemanticSearch added in v0.17.0

func (uqc *UserQueryContext) WithDisableSemanticSearch(disableSemanticSearch bool) *UserQueryContext

WithDisableSemanticSearch sets a Boolean value that indicates whether to exclude semantic-based search results from the output.

func (*UserQueryContext) WithEnableRankedResults added in v0.17.0

func (uqc *UserQueryContext) WithEnableRankedResults(enableRankedResults bool) *UserQueryContext

WithEnableRankedResults sets a Boolean value that indicates whether the query sorts results by their relevance.

func (*UserQueryContext) WithFetchAttributes added in v0.17.0

func (uqc *UserQueryContext) WithFetchAttributes(items ...obj.Object) *UserQueryContext

WithFetchAttributes sets the attributes the system fetches for the searchable items.

func (*UserQueryContext) WithFilterQueries added in v0.17.0

func (uqc *UserQueryContext) WithFilterQueries(items ...obj.Object) *UserQueryContext

WithFilterQueries sets the query string used to filter the results.

func (*UserQueryContext) WithKeyboardLanguage added in v0.17.0

func (uqc *UserQueryContext) WithKeyboardLanguage(keyboardLanguage string) *UserQueryContext

WithKeyboardLanguage sets the language used for the query.

func (*UserQueryContext) WithMaxRankedResultCount added in v0.17.0

func (uqc *UserQueryContext) WithMaxRankedResultCount(maxRankedResultCount int) *UserQueryContext

WithMaxRankedResultCount sets the maximum number of ranked results to return during the query.

func (*UserQueryContext) WithMaxResultCount added in v0.17.0

func (uqc *UserQueryContext) WithMaxResultCount(maxResultCount int) *UserQueryContext

WithMaxResultCount sets the maximum number of search results for the query to return.

func (*UserQueryContext) WithMaxSuggestionCount added in v0.17.0

func (uqc *UserQueryContext) WithMaxSuggestionCount(maxSuggestionCount int) *UserQueryContext

WithMaxSuggestionCount sets the maximum number of suggested text completions for the query to return.

func (*UserQueryContext) WithSourceOptions added in v0.17.0

func (uqc *UserQueryContext) WithSourceOptions(sourceOptions SearchQuerySourceOptions) *UserQueryContext

WithSourceOptions sets the query source options to allow or deny Mail messages in the search.

type VirtualMemoryGuardExceptionCode added in v0.17.0

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

func (VirtualMemoryGuardExceptionCode) String added in v0.17.0

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

type XpcListenerCreateFlags added in v0.17.0

type XpcListenerCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcListenerCreateFlagsNone            XpcListenerCreateFlags = 0
	XpcListenerCreateFlagsInactive        XpcListenerCreateFlags = 1
	XpcListenerCreateFlagsForceMach       XpcListenerCreateFlags = 2
	XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4
)

func (XpcListenerCreateFlags) String added in v0.17.0

func (e XpcListenerCreateFlags) String() string

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

type XpcSessionCreateFlags added in v0.17.0

type XpcSessionCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcSessionCreateFlagsNone           XpcSessionCreateFlags = 0
	XpcSessionCreateFlagsInactive       XpcSessionCreateFlags = 1
	XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2
)

func (XpcSessionCreateFlags) String added in v0.17.0

func (e XpcSessionCreateFlags) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL