sharedwithyoucore

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: 12 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package sharedwithyoucore provides a fluent Go API over the macOS SharedWithYouCore 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.

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

This section is empty.

Functions

func SharedWithYouCoreVersionNumber

func SharedWithYouCoreVersionNumber() float64

SharedWithYouCoreVersionNumber returns the value of the constant SharedWithYouCoreVersionNumber.

func SharedWithYouCoreVersionString

func SharedWithYouCoreVersionString() uintptr

SharedWithYouCoreVersionString returns the address of the symbol SharedWithYouCoreVersionString.

func UTCollaborationOptionsTypeIdentifier

func UTCollaborationOptionsTypeIdentifier() obj.Object

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

Types

type Action added in v0.17.0

type Action struct {
	objref.Handle
}

Action is an idiomatic wrapper over the Objective-C class SWAction.

Action is an abstract base — you do not construct it directly. Construct one of StartCollaborationAction, UpdateCollaborationParticipantsAction and pass it where a Action is accepted.

An object that represents a collaboration action.

func ActionFromID added in v0.17.0

func ActionFromID(id objc.ID) *Action

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

func (*Action) Description added in v0.17.0

func (a *Action) Description() string

Description returns the object's -description text.

func (*Action) Fail added in v0.17.0

func (a *Action) Fail()

Fail reports a failed execution of the action.

func (*Action) Fulfill added in v0.17.0

func (a *Action) Fulfill()

Fulfill reports a successful execution of the action.

func (*Action) IsComplete added in v0.17.0

func (a *Action) IsComplete() bool

IsComplete reports whether the object is complete.

func (*Action) IsEqual added in v0.17.0

func (a *Action) IsEqual(other obj.Object) bool

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

func (*Action) IsKind added in v0.17.0

func (a *Action) IsKind(className string) bool

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

func (*Action) String added in v0.17.0

func (a *Action) String() string

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

func (*Action) UUID added in v0.17.0

func (a *Action) UUID() *foundation.UUID

UUID returns the UUID.

type ActionProvider added in v0.17.0

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

ActionProvider is accepted wherever a SWAction (or one of its subclasses) is expected.

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 CollaborationActionHandler added in v0.17.0

type CollaborationActionHandler interface {
	CollaborationCoordinatorHandleStartCollaborationAction(coordinator *CollaborationCoordinator, action *StartCollaborationAction)
	CollaborationCoordinatorHandleUpdateCollaborationParticipantsAction(coordinator *CollaborationCoordinator, action *UpdateCollaborationParticipantsAction)
}

CollaborationActionHandler is the Go form of the Objective-C protocol SWCollaborationActionHandler.

type CollaborationCoordinator added in v0.17.0

type CollaborationCoordinator struct {
	objref.Handle
}

CollaborationCoordinator is an idiomatic wrapper over the Objective-C class SWCollaborationCoordinator.

An object that contains the shared collaboration coordinator.

func CollaborationCoordinatorFromID added in v0.17.0

func CollaborationCoordinatorFromID(id objc.ID) *CollaborationCoordinator

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

func NewCollaborationCoordinator added in v0.17.0

func NewCollaborationCoordinator() *CollaborationCoordinator

NewCollaborationCoordinator creates a new CollaborationCoordinator.

func SharedCoordinator added in v0.17.0

func SharedCoordinator() *CollaborationCoordinator

SharedCoordinator returns the shared coordinator.

func (*CollaborationCoordinator) Description added in v0.17.0

func (cc *CollaborationCoordinator) Description() string

Description returns the object's -description text.

func (*CollaborationCoordinator) IsEqual added in v0.17.0

func (cc *CollaborationCoordinator) IsEqual(other obj.Object) bool

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

func (*CollaborationCoordinator) IsKind added in v0.17.0

func (cc *CollaborationCoordinator) IsKind(className string) bool

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

func (*CollaborationCoordinator) String added in v0.17.0

func (cc *CollaborationCoordinator) String() string

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

type CollaborationMetadata added in v0.17.0

type CollaborationMetadata struct {
	objref.Handle
}

CollaborationMetadata is an idiomatic wrapper over the Objective-C class SWCollaborationMetadata.

A model object for conveying data during a collaboration.

func CollaborationMetadataFromID added in v0.17.0

func CollaborationMetadataFromID(id objc.ID) *CollaborationMetadata

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

func NewCollaborationMetadata added in v0.17.0

func NewCollaborationMetadata() *CollaborationMetadata

NewCollaborationMetadata creates a new CollaborationMetadata.

func NewCollaborationMetadataWithCollaborationIdentifier added in v0.17.0

func NewCollaborationMetadataWithCollaborationIdentifier(collaborationIdentifier obj.Object) *CollaborationMetadata

NewCollaborationMetadataWithCollaborationIdentifier creates and initializes a collaboration metadata object for the specified global identifier.

func NewCollaborationMetadataWithLocalIdentifier added in v0.17.0

func NewCollaborationMetadataWithLocalIdentifier(localIdentifier obj.Object) *CollaborationMetadata

NewCollaborationMetadataWithLocalIdentifier creates and initializes a collaboration metadata object for the specified local identifier.

func (*CollaborationMetadata) CollaborationIdentifier added in v0.17.0

func (cm *CollaborationMetadata) CollaborationIdentifier() *foundation.String

CollaborationIdentifier returns globally unique identifier for the item represented by this metadata. This identifier is unique across platforms and shares of the same item.

func (*CollaborationMetadata) DefaultShareOptions added in v0.17.0

func (cm *CollaborationMetadata) DefaultShareOptions() *CollaborationShareOptions

DefaultShareOptions returns the collaboration options that this content supports (updated).

func (*CollaborationMetadata) Description added in v0.17.0

func (cm *CollaborationMetadata) Description() string

Description returns the object's -description text.

func (*CollaborationMetadata) IsEqual added in v0.17.0

func (cm *CollaborationMetadata) IsEqual(other obj.Object) bool

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

func (*CollaborationMetadata) IsKind added in v0.17.0

func (cm *CollaborationMetadata) IsKind(className string) bool

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

func (*CollaborationMetadata) LocalIdentifier added in v0.17.0

func (cm *CollaborationMetadata) LocalIdentifier() *foundation.String

LocalIdentifier returns locally unique identifier for the item represented by this metadata. Use this identifier to uniquely identify this metadata before a collaborationIdentifier can be created

func (*CollaborationMetadata) String added in v0.17.0

func (cm *CollaborationMetadata) String() string

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

func (*CollaborationMetadata) Title added in v0.17.0

func (cm *CollaborationMetadata) Title() string

Title returns title of the content. Title of the collaboration if provided by the app which owns the collaboration item.

func (*CollaborationMetadata) UserSelectedShareOptions added in v0.17.0

func (cm *CollaborationMetadata) UserSelectedShareOptions() *CollaborationShareOptions

UserSelectedShareOptions returns the collaboration options that the user selected when sending the invite (updated).

func (*CollaborationMetadata) WithDefaultShareOptions added in v0.17.0

func (cm *CollaborationMetadata) WithDefaultShareOptions(defaultShareOptions *CollaborationShareOptions) *CollaborationMetadata

WithDefaultShareOptions sets the collaboration options that the content supports.

func (*CollaborationMetadata) WithInitiatorHandle added in v0.17.0

func (cm *CollaborationMetadata) WithInitiatorHandle(initiatorHandle string) *CollaborationMetadata

WithInitiatorHandle sets the handle of the person who initiates the collaboration.

func (*CollaborationMetadata) WithInitiatorNameComponents added in v0.17.0

func (cm *CollaborationMetadata) WithInitiatorNameComponents(initiatorNameComponents obj.Object) *CollaborationMetadata

WithInitiatorNameComponents sets the name of the person who initiates the collaboration.

func (*CollaborationMetadata) WithTitle added in v0.17.0

func (cm *CollaborationMetadata) WithTitle(title string) *CollaborationMetadata

WithTitle sets the title of the content.

func (*CollaborationMetadata) WithUserSelectedShareOptions added in v0.17.0

func (cm *CollaborationMetadata) WithUserSelectedShareOptions(userSelectedShareOptions *CollaborationShareOptions) *CollaborationMetadata

WithUserSelectedShareOptions sets the selected collaboration options from the person who sends the invitation.

type CollaborationOption added in v0.17.0

type CollaborationOption struct {
	objref.Handle
}

CollaborationOption is an idiomatic wrapper over the Objective-C class SWCollaborationOption.

An object that determines how the system shares a document in a collaboration.

func CollaborationOptionFromID added in v0.17.0

func CollaborationOptionFromID(id objc.ID) *CollaborationOption

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

func NewCollaborationOptionWithTitleIdentifier added in v0.17.0

func NewCollaborationOptionWithTitleIdentifier(title string, identifier string) *CollaborationOption

NewCollaborationOptionWithTitleIdentifier creates and initializes a collaboration option object.

func OptionWithTitleIdentifier added in v0.17.0

func OptionWithTitleIdentifier(title string, identifier string) *CollaborationOption

OptionWithTitleIdentifier creates and initializes a collaboration option object with a provided title and identifier.

func (*CollaborationOption) Description added in v0.17.0

func (co *CollaborationOption) Description() string

Description returns the object's -description text.

func (*CollaborationOption) Identifier added in v0.17.0

func (co *CollaborationOption) Identifier() string

Identifier returns unique identifier

func (*CollaborationOption) IsEqual added in v0.17.0

func (co *CollaborationOption) IsEqual(other obj.Object) bool

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

func (*CollaborationOption) IsKind added in v0.17.0

func (co *CollaborationOption) IsKind(className string) bool

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

func (*CollaborationOption) IsSelected added in v0.17.0

func (co *CollaborationOption) IsSelected() bool

IsSelected reports whether a flag that indicates whether the option is selected. This property should only be set directly when the option represents an individual switch. Defaults to false

func (*CollaborationOption) RequiredOptionsIdentifiers added in v0.17.0

func (co *CollaborationOption) RequiredOptionsIdentifiers() []string

RequiredOptionsIdentifiers returns an array of option identifiers that must already be selected in order to be interacted with

RequiredOptionsIdentifiers returns the collection as a Go slice.

func (*CollaborationOption) String added in v0.17.0

func (co *CollaborationOption) String() string

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

func (*CollaborationOption) Subtitle added in v0.17.0

func (co *CollaborationOption) Subtitle() string

Subtitle returns a localized subtitle string to be used when displaying the option

func (*CollaborationOption) Title added in v0.17.0

func (co *CollaborationOption) Title() string

Title returns a localized title string to be used when displaying the option

func (*CollaborationOption) WithRequiredOptionsIdentifiers added in v0.17.0

func (co *CollaborationOption) WithRequiredOptionsIdentifiers(items ...obj.Object) *CollaborationOption

WithRequiredOptionsIdentifiers sets an array of option identifiers that the app must select before the system makes the option interactive.

func (*CollaborationOption) WithSelected added in v0.17.0

func (co *CollaborationOption) WithSelected(selected bool) *CollaborationOption

WithSelected sets a Boolean value that represents the selected state of an option.

func (*CollaborationOption) WithSubtitle added in v0.17.0

func (co *CollaborationOption) WithSubtitle(subtitle string) *CollaborationOption

WithSubtitle sets a localized string the system displays to represent the permissions option in the collaboration view.

func (*CollaborationOption) WithTitle added in v0.17.0

func (co *CollaborationOption) WithTitle(title string) *CollaborationOption

WithTitle sets a localized string the system displays as a title to represent the permissions option.

type CollaborationOptionsGroup added in v0.17.0

type CollaborationOptionsGroup struct {
	objref.Handle
}

CollaborationOptionsGroup is an idiomatic wrapper over the Objective-C class SWCollaborationOptionsGroup.

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

An object that represents a group of collaboration options that the system displays together.

func CollaborationOptionsGroupFromID added in v0.17.0

func CollaborationOptionsGroupFromID(id objc.ID) *CollaborationOptionsGroup

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

func NewCollaborationOptionsGroupWithIdentifierOptions added in v0.17.0

func NewCollaborationOptionsGroupWithIdentifierOptions(identifier string, options []*CollaborationOption) *CollaborationOptionsGroup

NewCollaborationOptionsGroupWithIdentifierOptions creates and initializes a collaboration options group object.

func OptionsGroupWithIdentifierOptions added in v0.17.0

func OptionsGroupWithIdentifierOptions(identifier string, options []*CollaborationOption) *CollaborationOptionsGroup

OptionsGroupWithIdentifierOptions creates and initializes a collaboration options group object.

func (*CollaborationOptionsGroup) Description added in v0.17.0

func (cog *CollaborationOptionsGroup) Description() string

Description returns the object's -description text.

func (*CollaborationOptionsGroup) Footer added in v0.17.0

func (cog *CollaborationOptionsGroup) Footer() string

Footer returns localized string to describe or provide additional information about the group of options

func (*CollaborationOptionsGroup) Identifier added in v0.17.0

func (cog *CollaborationOptionsGroup) Identifier() string

Identifier returns a unique identifier

func (*CollaborationOptionsGroup) IsEqual added in v0.17.0

func (cog *CollaborationOptionsGroup) IsEqual(other obj.Object) bool

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

func (*CollaborationOptionsGroup) IsKind added in v0.17.0

func (cog *CollaborationOptionsGroup) IsKind(className string) bool

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

func (*CollaborationOptionsGroup) Options added in v0.17.0

Options returns SWCollaborationOptions to be displayed in the group

Options returns the collection as a Go slice.

func (*CollaborationOptionsGroup) String added in v0.17.0

func (cog *CollaborationOptionsGroup) String() string

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

func (*CollaborationOptionsGroup) Title added in v0.17.0

func (cog *CollaborationOptionsGroup) Title() string

Title returns localized string used to title the section

func (*CollaborationOptionsGroup) WithFooter added in v0.17.0

WithFooter sets a localized string that provides additional information for the group of options.

func (*CollaborationOptionsGroup) WithOptions added in v0.17.0

WithOptions sets an array of collaboration options the system displays as a group.

func (*CollaborationOptionsGroup) WithTitle added in v0.17.0

WithTitle sets a localized string the system displays as the title of the group section.

type CollaborationOptionsGroupProvider added in v0.17.0

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

CollaborationOptionsGroupProvider is accepted wherever a SWCollaborationOptionsGroup (or one of its subclasses) is expected.

type CollaborationOptionsPickerGroup added in v0.17.0

type CollaborationOptionsPickerGroup struct {
	CollaborationOptionsGroup
}

CollaborationOptionsPickerGroup is an idiomatic wrapper over the Objective-C class SWCollaborationOptionsPickerGroup.

It embeds CollaborationOptionsGroup, promoting that type's methods.

An object that represents a group of collaboration options that the system displays together with mutually exclusive options.

func CollaborationOptionsPickerGroupFromID added in v0.17.0

func CollaborationOptionsPickerGroupFromID(id objc.ID) *CollaborationOptionsPickerGroup

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

func NewCollaborationOptionsPickerGroup added in v0.17.0

func NewCollaborationOptionsPickerGroup() *CollaborationOptionsPickerGroup

NewCollaborationOptionsPickerGroup creates a new CollaborationOptionsPickerGroup.

func (*CollaborationOptionsPickerGroup) SelectedOptionIdentifier added in v0.17.0

func (copg *CollaborationOptionsPickerGroup) SelectedOptionIdentifier() string

SelectedOptionIdentifier returns the selected option identifier.

func (*CollaborationOptionsPickerGroup) WithFooter added in v0.17.0

WithFooter sets a localized string that provides additional information for the group of options.

func (*CollaborationOptionsPickerGroup) WithOptions added in v0.17.0

WithOptions sets an array of collaboration options the system displays as a group.

func (*CollaborationOptionsPickerGroup) WithSelectedOptionIdentifier added in v0.17.0

func (copg *CollaborationOptionsPickerGroup) WithSelectedOptionIdentifier(selectedOptionIdentifier string) *CollaborationOptionsPickerGroup

WithSelectedOptionIdentifier sets the identifier of the selected option in the group.

func (*CollaborationOptionsPickerGroup) WithTitle added in v0.17.0

WithTitle sets a localized string the system displays as the title of the group section.

type CollaborationShareOptions added in v0.17.0

type CollaborationShareOptions struct {
	objref.Handle
}

CollaborationShareOptions is an idiomatic wrapper over the Objective-C class SWCollaborationShareOptions.

An object that represents the state of the collaboration options for the document.

func CollaborationShareOptionsFromID added in v0.17.0

func CollaborationShareOptionsFromID(id objc.ID) *CollaborationShareOptions

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

func NewCollaborationShareOptionsWithCoder added in v0.17.0

func NewCollaborationShareOptionsWithCoder(coder obj.Object) *CollaborationShareOptions

NewCollaborationShareOptionsWithCoder creates and initializes a collaboration share options object.

func NewCollaborationShareOptionsWithOptionsGroups added in v0.17.0

func NewCollaborationShareOptionsWithOptionsGroups(optionsGroups []*CollaborationOptionsGroup) *CollaborationShareOptions

NewCollaborationShareOptionsWithOptionsGroups creates and initializes a collaboration share options object with the array of groups.

func NewCollaborationShareOptionsWithOptionsGroupsSummary added in v0.17.0

func NewCollaborationShareOptionsWithOptionsGroupsSummary(optionsGroups []*CollaborationOptionsGroup, summary string) *CollaborationShareOptions

NewCollaborationShareOptionsWithOptionsGroupsSummary creates and initializes a collaboration share options object the array of groups and a summary string.

func ShareOptionsWithOptionsGroups added in v0.17.0

func ShareOptionsWithOptionsGroups(optionsGroups []*CollaborationOptionsGroup) *CollaborationShareOptions

ShareOptionsWithOptionsGroups creates and initializes a collaboration share options object with the array of groups.

func ShareOptionsWithOptionsGroupsSummary added in v0.17.0

func ShareOptionsWithOptionsGroupsSummary(optionsGroups []*CollaborationOptionsGroup, summary string) *CollaborationShareOptions

ShareOptionsWithOptionsGroupsSummary creates and initializes a collaboration share options object the array of groups and a summary string.

func (*CollaborationShareOptions) Description added in v0.17.0

func (cso *CollaborationShareOptions) Description() string

Description returns the object's -description text.

func (*CollaborationShareOptions) IsEqual added in v0.17.0

func (cso *CollaborationShareOptions) IsEqual(other obj.Object) bool

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

func (*CollaborationShareOptions) IsKind added in v0.17.0

func (cso *CollaborationShareOptions) IsKind(className string) bool

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

func (*CollaborationShareOptions) OptionsGroups added in v0.17.0

func (cso *CollaborationShareOptions) OptionsGroups() []*CollaborationOptionsGroup

OptionsGroups returns SWCollaborationOptionsGroups to customize how the collaboration will be shared

OptionsGroups returns the collection as a Go slice.

func (*CollaborationShareOptions) String added in v0.17.0

func (cso *CollaborationShareOptions) String() string

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

func (*CollaborationShareOptions) Summary added in v0.17.0

func (cso *CollaborationShareOptions) Summary() string

Summary returns localized string to summarize the selected collaboration options. If nil, "Share Options" will be displayed by default.

func (*CollaborationShareOptions) WithOptionsGroups added in v0.17.0

WithOptionsGroups sets an array of options group objects to customize how the system shares the collaboration.

func (*CollaborationShareOptions) WithSummary added in v0.17.0

func (cso *CollaborationShareOptions) WithSummary(summary string) *CollaborationShareOptions

WithSummary sets a localized string to summarize the collaboration options.

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 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 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 SWPerson.

An object that tracks participants in a collaboration.

func NewPersonWithHandleIdentityDisplayNameThumbnailImageData added in v0.17.0

func NewPersonWithHandleIdentityDisplayNameThumbnailImageData(handle string, identity *PersonIdentity, displayName string, thumbnailImageData []byte) *Person

NewPersonWithHandleIdentityDisplayNameThumbnailImageData creates and initializes a person object.

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) Description added in v0.17.0

func (p *Person) Description() string

Description returns the object's -description text.

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.

type PersonIdentity added in v0.17.0

type PersonIdentity struct {
	objref.Handle
}

PersonIdentity is an idiomatic wrapper over the Objective-C class SWPersonIdentity.

func NewPersonIdentityWithRootHash added in v0.17.0

func NewPersonIdentityWithRootHash(rootHash []byte) *PersonIdentity

NewPersonIdentityWithRootHash an initializer The data contains a SHA256 hash of the user's combined public identities.

func PersonIdentityFromID added in v0.17.0

func PersonIdentityFromID(id objc.ID) *PersonIdentity

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

func (*PersonIdentity) Description added in v0.17.0

func (pi *PersonIdentity) Description() string

Description returns the object's -description text.

func (*PersonIdentity) IsEqual added in v0.17.0

func (pi *PersonIdentity) IsEqual(other obj.Object) bool

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

func (*PersonIdentity) IsKind added in v0.17.0

func (pi *PersonIdentity) IsKind(className string) bool

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

func (*PersonIdentity) RootHash added in v0.17.0

func (pi *PersonIdentity) RootHash() []byte

RootHash returns the root hash of the tree that represents this individual's identity. The data contains a SHA256 hash of the user's combined public identities.

func (*PersonIdentity) String added in v0.17.0

func (pi *PersonIdentity) String() string

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

type PersonIdentityProof added in v0.17.0

type PersonIdentityProof struct {
	objref.Handle
}

PersonIdentityProof is an idiomatic wrapper over the Objective-C class SWPersonIdentityProof.

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

func PersonIdentityProofFromID added in v0.17.0

func PersonIdentityProofFromID(id objc.ID) *PersonIdentityProof

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

func (*PersonIdentityProof) Description added in v0.17.0

func (pip *PersonIdentityProof) Description() string

Description returns the object's -description text.

func (*PersonIdentityProof) InclusionHashes added in v0.17.0

func (pip *PersonIdentityProof) InclusionHashes() [][]byte

InclusionHashes returns hashes of missing Merkle tree nodes that can provide proof of inclusion. The data contains an array of SHA256 hash of the user's combined public identities.

InclusionHashes returns the collection as a Go slice.

func (*PersonIdentityProof) IsEqual added in v0.17.0

func (pip *PersonIdentityProof) IsEqual(other obj.Object) bool

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

func (*PersonIdentityProof) IsKind added in v0.17.0

func (pip *PersonIdentityProof) IsKind(className string) bool

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

func (*PersonIdentityProof) PublicKey added in v0.17.0

func (pip *PersonIdentityProof) PublicKey() []byte

PublicKey returns public key of local device

func (*PersonIdentityProof) PublicKeyIndex added in v0.17.0

func (pip *PersonIdentityProof) PublicKeyIndex() int

PublicKeyIndex returns index of local public key in the Merkle tree This data can be used to determine if the node is the left or the right child

func (*PersonIdentityProof) String added in v0.17.0

func (pip *PersonIdentityProof) String() string

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

type PersonIdentityProofProvider added in v0.17.0

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

PersonIdentityProofProvider is accepted wherever a SWPersonIdentityProof (or one of its subclasses) is expected.

type PtrauthKey added in v0.17.0

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

func (PtrauthKey) String added in v0.17.0

func (e PtrauthKey) String() string

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

type QosClass added in v0.17.0

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

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

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

type SignedPersonIdentityProof added in v0.17.0

type SignedPersonIdentityProof struct {
	PersonIdentityProof
}

SignedPersonIdentityProof is an idiomatic wrapper over the Objective-C class SWSignedPersonIdentityProof.

It embeds PersonIdentityProof, promoting that type's methods.

func NewSignedPersonIdentityProofWithPersonIdentityProofSignatureData added in v0.17.0

func NewSignedPersonIdentityProofWithPersonIdentityProofSignatureData(personIdentityProof *PersonIdentityProof, data []byte) *SignedPersonIdentityProof

NewSignedPersonIdentityProofWithPersonIdentityProofSignatureData creates a new SignedPersonIdentityProof.

func SignedPersonIdentityProofFromID added in v0.17.0

func SignedPersonIdentityProofFromID(id objc.ID) *SignedPersonIdentityProof

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

func (*SignedPersonIdentityProof) SignatureData added in v0.17.0

func (spip *SignedPersonIdentityProof) SignatureData() []byte

SignatureData returns the signature data.

type StartCollaborationAction added in v0.17.0

type StartCollaborationAction struct {
	Action
}

StartCollaborationAction is an idiomatic wrapper over the Objective-C class SWStartCollaborationAction.

It embeds Action, promoting that type's methods.

An object that represents the first action sent to an app when the user shares a collaboration.

func NewStartCollaborationAction added in v0.17.0

func NewStartCollaborationAction() *StartCollaborationAction

NewStartCollaborationAction creates a new StartCollaborationAction.

func StartCollaborationActionFromID added in v0.17.0

func StartCollaborationActionFromID(id objc.ID) *StartCollaborationAction

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

func (*StartCollaborationAction) CollaborationMetadata added in v0.17.0

func (sca *StartCollaborationAction) CollaborationMetadata() *CollaborationMetadata

CollaborationMetadata returns the collaboration metadata.

func (*StartCollaborationAction) FulfillUsingURLCollaborationIdentifier added in v0.17.0

func (sca *StartCollaborationAction) FulfillUsingURLCollaborationIdentifier(url string, collaborationIdentifier obj.Object)

FulfillUsingURLCollaborationIdentifier informs an app to set up the universal link and device independent identifier to provide to the system.

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 UpdateCollaborationParticipantsAction added in v0.17.0

type UpdateCollaborationParticipantsAction struct {
	Action
}

UpdateCollaborationParticipantsAction is an idiomatic wrapper over the Objective-C class SWUpdateCollaborationParticipantsAction.

It embeds Action, promoting that type's methods.

An action that contains the cryptographic identities the system uses to add to or remove from an existing collaboration.

func NewUpdateCollaborationParticipantsAction added in v0.17.0

func NewUpdateCollaborationParticipantsAction() *UpdateCollaborationParticipantsAction

NewUpdateCollaborationParticipantsAction creates a new UpdateCollaborationParticipantsAction.

func UpdateCollaborationParticipantsActionFromID added in v0.17.0

func UpdateCollaborationParticipantsActionFromID(id objc.ID) *UpdateCollaborationParticipantsAction

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

func (*UpdateCollaborationParticipantsAction) AddedIdentities added in v0.17.0

func (ucpa *UpdateCollaborationParticipantsAction) AddedIdentities() []*PersonIdentity

AddedIdentities returns the added identities.

AddedIdentities returns the collection as a Go slice.

func (*UpdateCollaborationParticipantsAction) CollaborationMetadata added in v0.17.0

func (ucpa *UpdateCollaborationParticipantsAction) CollaborationMetadata() *CollaborationMetadata

CollaborationMetadata returns the collaboration metadata.

func (*UpdateCollaborationParticipantsAction) RemovedIdentities added in v0.17.0

func (ucpa *UpdateCollaborationParticipantsAction) RemovedIdentities() []*PersonIdentity

RemovedIdentities returns the removed identities.

RemovedIdentities returns the collection as a Go slice.

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