metrickit

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package metrickit provides purego-based Go bindings for the macOS MetricKit framework.

Apple documentation: https://developer.apple.com/documentation/metrickit

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MXMetricManagerExtendLaunchMeasurementForTaskIDError

func MXMetricManagerExtendLaunchMeasurementForTaskIDError(taskID unsafe.Pointer) (bool, error)

func MXMetricManagerFinishExtendedLaunchMeasurementForTaskIDError

func MXMetricManagerFinishExtendedLaunchMeasurementForTaskIDError(taskID unsafe.Pointer) (bool, error)

func MXMetricManagerMakeLogHandleWithCategory

func MXMetricManagerMakeLogHandleWithCategory(category *foundation.NSString) *foundation.NSObject

@method makeLogHandleWithCategory:category @abstract Retrieve a log handle for flagging critical sections with os_signpost(). @param category A string used to define a log category @discussion The log handle configures persistence for any signposts emit while using the log handle. @result A log handle that can be used with the logging framework.

func MXSignpostMetricsSnapshot

func MXSignpostMetricsSnapshot() unsafe.Pointer

C function: _MXSignpostMetricsSnapshot

func SymbolAvailable

func SymbolAvailable(symbol string) bool

SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type Launch_data_type_t

type Launch_data_type_t int64
const (
	LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1
	LAUNCH_DATA_ARRAY      Launch_data_type_t = 2
	LAUNCH_DATA_FD         Launch_data_type_t = 3
	LAUNCH_DATA_INTEGER    Launch_data_type_t = 4
	LAUNCH_DATA_REAL       Launch_data_type_t = 5
	LAUNCH_DATA_BOOL       Launch_data_type_t = 6
	LAUNCH_DATA_STRING     Launch_data_type_t = 7
	LAUNCH_DATA_OPAQUE     Launch_data_type_t = 8
	LAUNCH_DATA_ERRNO      Launch_data_type_t = 9
	LAUNCH_DATA_MACHPORT   Launch_data_type_t = 10
)

func (Launch_data_type_t) String

func (e Launch_data_type_t) String() string

type MDLabelDomain

type MDLabelDomain int64

@typedef MDLabelDomain @abstract 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

type MDQueryOptionFlags

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

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int64

@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.

const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

type MXAnimationMetric

type MXAnimationMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxanimationmetric

func MXAnimationMetricFromID

func MXAnimationMetricFromID(id objc.ID) *MXAnimationMetric

func (*MXAnimationMetric) HitchTimeRatio

@property hitchTimeRatio @abstract Ratio of time the application spent hitching during tracked animations. @discussion Hitches are user perceptible frame delays that can occur during animations and scrolling. @discussion This metric incorporates adjustments that optimize for user perception, and typically will be the most accurate representation of what hitches users experience during app usage. @discussion This metric is normalized against total animation duration. @discussion Many animations are tracked by default. You can track additional animations using the -[NSProcessInfo beginActivityWithOptions:reason:] method with the NSActivityAnimationTrackingEnabled option. @discussion Dimensionless.

func (*MXAnimationMetric) ScrollHitchTimeRatio

func (o *MXAnimationMetric) ScrollHitchTimeRatio() *foundation.NSMeasurement[*foundation.NSUnit]

@property scrollHitchTimeRatio @abstract Ratio of time the application spent hitching while scrolling. @discussion Scroll hitches are user perceptible animation issues that occur during scrolling. @discussion This metric only applies to UIScrollViews. @discussion Dimensionless.

type MXAppExitMetric

type MXAppExitMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxappexitmetric

func MXAppExitMetricFromID

func MXAppExitMetricFromID(id objc.ID) *MXAppExitMetric

func (*MXAppExitMetric) BackgroundExitData

func (o *MXAppExitMetric) BackgroundExitData() *MXBackgroundExitData

@property backgroundExitData @abstract Cumulative background exit data. @discussion This includes application exit data when the application was off screen and not visible to the user.

func (*MXAppExitMetric) ForegroundExitData

func (o *MXAppExitMetric) ForegroundExitData() *MXForegroundExitData

@property foregroundExitData @abstract Cumulative foreground exit data. @discussion This includes application exit data when the application was on screen and visible to the user.

type MXAppLaunchMetric

type MXAppLaunchMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxapplaunchmetric

func MXAppLaunchMetricFromID

func MXAppLaunchMetricFromID(id objc.ID) *MXAppLaunchMetric

func (*MXAppLaunchMetric) HistogrammedApplicationResumeTime

func (o *MXAppLaunchMetric) HistogrammedApplicationResumeTime() *MXHistogram[*foundation.NSUnitDuration]

@property histogrammedApplicationResumeTime @abstract Histogrammed application resume time data. @discussion Dimensioned as NSUnitDuration.

func (*MXAppLaunchMetric) HistogrammedExtendedLaunch

func (o *MXAppLaunchMetric) HistogrammedExtendedLaunch() *MXHistogram[*foundation.NSUnitDuration]

@property histogrammedExtendedLaunch @abstract Histogrammed extended launch data. @discussion Dimensioned as NSUnitDuration. @discussion This represents the time when the app has drawn the first frame and finishes all extended launch tasks that assigned by the developer.

func (*MXAppLaunchMetric) HistogrammedOptimizedTimeToFirstDraw

func (o *MXAppLaunchMetric) HistogrammedOptimizedTimeToFirstDraw() *MXHistogram[*foundation.NSUnitDuration]

@property histogrammedOptimizedTimeToFirstDraw @abstract Histogrammed optimized application time-to-first-draw data. @discussion Dimensioned as NSUnitDuration. @discussion This represents the time when the first CA commit is finished where the application launch has been optimized by the system. @discussion In iOS 15, the system will opportunistically start applications that are not running in the background to reduce the amount of time a user may have to wait before an application is usable. These launches can occur after a system reboot and periodically as system conditions allow.

func (*MXAppLaunchMetric) HistogrammedTimeToFirstDraw

func (o *MXAppLaunchMetric) HistogrammedTimeToFirstDraw() *MXHistogram[*foundation.NSUnitDuration]

@property histogrammedTimeToFirstDraw @abstract Histogrammed application time-to-first-draw data. @discussion Dimensioned as NSUnitDuration. @discussion This represents the time when the first CA commit is finished.

type MXAppResponsivenessMetric

type MXAppResponsivenessMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxappresponsivenessmetric

func MXAppResponsivenessMetricFromID

func MXAppResponsivenessMetricFromID(id objc.ID) *MXAppResponsivenessMetric

func (*MXAppResponsivenessMetric) HistogrammedApplicationHangTime

func (o *MXAppResponsivenessMetric) HistogrammedApplicationHangTime() *MXHistogram[*foundation.NSUnitDuration]

type MXAppRunTimeMetric

type MXAppRunTimeMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxappruntimemetric

func MXAppRunTimeMetricFromID

func MXAppRunTimeMetricFromID(id objc.ID) *MXAppRunTimeMetric

func (*MXAppRunTimeMetric) CumulativeBackgroundAudioTime

func (o *MXAppRunTimeMetric) CumulativeBackgroundAudioTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeBackgroundAudioTime @abstract Cumulative time the application spent running in the background to play audio @discussion Dimensioned as NSUnitDuration.

func (*MXAppRunTimeMetric) CumulativeBackgroundLocationTime

func (o *MXAppRunTimeMetric) CumulativeBackgroundLocationTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeBackgroundLocationTime @abstract Cumulative time the application spent running in the background to acquire or process location. @discussion Dimensioned as NSUnitDuration.

func (*MXAppRunTimeMetric) CumulativeBackgroundTime

func (o *MXAppRunTimeMetric) CumulativeBackgroundTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeBackgroundTime @abstract Cumulative application background time. @discussion Time spent off screen and in the background, invisible to the user. @discussion Dimensioned as NSUnitDuration.

func (*MXAppRunTimeMetric) CumulativeForegroundTime

func (o *MXAppRunTimeMetric) CumulativeForegroundTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeForegroundTime @abstract Cumulative application foreground time. @discussion Time spent on screen and visible to the user. @discussion Dimensioned as NSUnitDuration.

type MXAverage

type MXAverage[UnitType purego.AnyObject] struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxaverage

func MXAverageFromID

func MXAverageFromID[UnitType purego.AnyObject](id objc.ID) *MXAverage[UnitType]

func (*MXAverage[UnitType]) AverageMeasurement

func (o *MXAverage[UnitType]) AverageMeasurement() *foundation.NSMeasurement[UnitType]

@property averageMeasurement @abstract An NSMeasurement that contains the average measurement.

func (*MXAverage[UnitType]) SampleCount

func (o *MXAverage[UnitType]) SampleCount() int

@property sampleCount @abstract An NSInteger representation of the number of samples in the distribution used to formulate the average. @discussion This value is negative if an unknown number of samples was used to compute the average.

func (*MXAverage[UnitType]) StandardDeviation

func (o *MXAverage[UnitType]) StandardDeviation() float64

@property standardDeviation @abstract An double representation of the standard deviation of the distribution. @discussion This value is negative an unknown number of samples was used to compute the standard deviation.

type MXBackgroundExitData

type MXBackgroundExitData struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxbackgroundexitdata

func MXBackgroundExitDataFromID

func MXBackgroundExitDataFromID(id objc.ID) *MXBackgroundExitData

func (*MXBackgroundExitData) CumulativeAbnormalExitCount

func (o *MXBackgroundExitData) CumulativeAbnormalExitCount() uint

@property cumulativeAbnormalExitCount @abstract Cumulative number of times the application exited abnormally. @discussion The most common causes of crashes with this exception type are uncaught Objective-C/C++ exceptions and calls to abort().

func (*MXBackgroundExitData) CumulativeAppWatchdogExitCount

func (o *MXBackgroundExitData) CumulativeAppWatchdogExitCount() uint

@property cumulativeAppWatchdogExitCount @abstract Cumulative number of times the application was terminated because a watchdog timeout occured. @discussion These can occur when the application took too long to launch, terminate, or respond to system events.

func (*MXBackgroundExitData) CumulativeBackgroundTaskAssertionTimeoutExitCount

func (o *MXBackgroundExitData) CumulativeBackgroundTaskAssertionTimeoutExitCount() uint

@property cumulativeBackgroundTaskAssertionTimeoutExitCount @abstract Cumulative number of times the application was terminated for exceeding the alotted time limit associated with a background tasks. @discussion If your application begins a background task, you must call endBackgroundTask() to signal completion of the task to prevent your application from being terminated. You can do this in the expiration handler of the task, but it must be done immediately.

func (*MXBackgroundExitData) CumulativeBadAccessExitCount

func (o *MXBackgroundExitData) CumulativeBadAccessExitCount() uint

@property cumulativeBadAccessExitCount @abstract Cumulative number of times the application was terminated for attempting to access invalid memory, or attempting to access memory in a manner not allowed by the memory's protection level (e.g. writing to read-only memory).

func (*MXBackgroundExitData) CumulativeCPUResourceLimitExitCount

func (o *MXBackgroundExitData) CumulativeCPUResourceLimitExitCount() uint

@property cumulativeCPUResourceLimitExitCount @abstract Cumulative number of times the application was terminated for exceeding a CPU consumption limit.

func (*MXBackgroundExitData) CumulativeIllegalInstructionExitCount

func (o *MXBackgroundExitData) CumulativeIllegalInstructionExitCount() uint

@property cumulativeIllegalInstructionExitCount @abstract Cumulative number of times the application terminated for attempting to execute an illegal or undefined instruction. @discussion The process may have attempted to jump to an invalid address via a misconfigured function pointer.

func (*MXBackgroundExitData) CumulativeMemoryPressureExitCount

func (o *MXBackgroundExitData) CumulativeMemoryPressureExitCount() uint

@property cumulativeMemoryPressureExitCount @abstract Cumulative number of times the application exited due to memory pressure on the system.

func (*MXBackgroundExitData) CumulativeMemoryResourceLimitExitCount

func (o *MXBackgroundExitData) CumulativeMemoryResourceLimitExitCount() uint

@property cumulativeMemoryResourceLimitExitCount @abstract Cumulative number of times the application was terminated for exceeding a memory consumption limit.

func (*MXBackgroundExitData) CumulativeNormalAppExitCount

func (o *MXBackgroundExitData) CumulativeNormalAppExitCount() uint

@property cumulativeNormalAppExitCount @abstract Cumulative number of times the application exited normally, or was gracefully terminated by the system.

func (*MXBackgroundExitData) CumulativeSuspendedWithLockedFileExitCount

func (o *MXBackgroundExitData) CumulativeSuspendedWithLockedFileExitCount() uint

@property cumulativeSuspendedWithLockedFileExitCount @abstract Cumulative number of times the application was terminated because it became suspended while holding onto file locks or sqlite database locks. @discussion If your application is performing operations on a locked file or sqlite database at suspension time, it must request additional background execution time to complete those operations and relinquish the lock before suspending.

type MXCPUExceptionDiagnostic

type MXCPUExceptionDiagnostic struct {
	MXDiagnostic
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxcpuexceptiondiagnostic

func MXCPUExceptionDiagnosticFromID

func MXCPUExceptionDiagnosticFromID(id objc.ID) *MXCPUExceptionDiagnostic

func (*MXCPUExceptionDiagnostic) CallStackTree

func (o *MXCPUExceptionDiagnostic) CallStackTree() *MXCallStackTree

@property callStackTree @abstract The application call stack tree associated with the excessive CPU consumption.

func (*MXCPUExceptionDiagnostic) TotalCPUTime

@property totalCPUTime @abstract Total CPU time consumed in the scope of this CPU exception. @discussion Dimensioned as NSUnitDuration.

func (*MXCPUExceptionDiagnostic) TotalSampledTime

@property totalSampledTime @abstract Total time that the application was sampled for during the CPU exception. @discussion Dimensioned as NSUnitDuration.

type MXCPUMetric

type MXCPUMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxcpumetric

func MXCPUMetricFromID

func MXCPUMetricFromID(id objc.ID) *MXCPUMetric

func (*MXCPUMetric) CumulativeCPUInstructions

func (o *MXCPUMetric) CumulativeCPUInstructions() *foundation.NSMeasurement[*foundation.NSUnit]

@property cumulativeCPUInstructions @abstract CPU instructions retired aggregated cumulatively. @discussion The data here represents the total number of CPU instructions an application retired over the date range of the containing payload. @discussion Dimensionless.

func (*MXCPUMetric) CumulativeCPUTime

func (o *MXCPUMetric) CumulativeCPUTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeCPUTime @abstract CPU time aggregated cumulatively. @discussion The data here represents the total CPU time an application consumed over the date range of the containing payload. @discussion Dimensioned as NSUnitDuration.

type MXCallStackTree

type MXCallStackTree struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxcallstacktree

func MXCallStackTreeFromID

func MXCallStackTreeFromID(id objc.ID) *MXCallStackTree

func (*MXCallStackTree) JSONRepresentation

func (o *MXCallStackTree) JSONRepresentation() *foundation.NSData

@method JSONRepresentation @abstract Convenience method to return a JSON representation of this callstack tree. @discussion The JSON structure of MXCallStackTree is organized into individual groups of call stacks. Individual call stacks contain stack frames, which consist of information needed to symbolicate the frame off device. This includes binary image name, binary UUID, offset in binary text segment, address, and sample count (for stack trees that contain temporally sampled data.) @discussion MXCallStackTrees can be organized into a single callstack for the entire application, or broken up into callstacks associated with individual threads. @result An NSData object containing the JSON representation

type MXCellularConditionMetric

type MXCellularConditionMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxcellularconditionmetric

func MXCellularConditionMetricFromID

func MXCellularConditionMetricFromID(id objc.ID) *MXCellularConditionMetric

func (*MXCellularConditionMetric) HistogrammedCellularConditionTime

func (o *MXCellularConditionMetric) HistogrammedCellularConditionTime() *MXHistogram[*MXUnitSignalBars]

type MXCrashDiagnostic

type MXCrashDiagnostic struct {
	MXDiagnostic
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxcrashdiagnostic

func MXCrashDiagnosticFromID

func MXCrashDiagnosticFromID(id objc.ID) *MXCrashDiagnostic

func (*MXCrashDiagnostic) CallStackTree

func (o *MXCrashDiagnostic) CallStackTree() *MXCallStackTree

@property callStackTree @abstract The application call stack tree associated with this crash. @discussion This call stack tree includes those stack frames present at the time of the crash.

func (*MXCrashDiagnostic) ExceptionCode

func (o *MXCrashDiagnostic) ExceptionCode() *foundation.NSNumber

@property exceptionCode @abstract Processor specific information about the exception encoded into one or more 64-bit hexadecimal numbers @see sys/exception_types.h

func (*MXCrashDiagnostic) ExceptionReason

@property exceptionReason @abstract The MXCrashDiagnosticObjectiveCExceptionReason object associated with this crash. @see <MetricKit/MXCrashDiagnosticObjectiveCExceptionReason.h>

func (*MXCrashDiagnostic) ExceptionType

func (o *MXCrashDiagnostic) ExceptionType() *foundation.NSNumber

@property exceptionType @abstract The name of the Mach exception that terminated the app. @see sys/exception_types.h

func (*MXCrashDiagnostic) Signal

func (o *MXCrashDiagnostic) Signal() *foundation.NSNumber

@property signal @abstract The signal associated with this crash. @see sys/signal.h

func (*MXCrashDiagnostic) TerminationReason

func (o *MXCrashDiagnostic) TerminationReason() *foundation.NSString

@property terminationReason @abstract The termination reason associated with this crash. @discussion Exit reason information specified when a process is terminated. Key system components, both inside and outside of a process, will terminate the process upon encountering a fatal error (e.g. a bad code signature, a missing dependent library, or accessing privacy sensitive information without the proper entitlement).

func (*MXCrashDiagnostic) VirtualMemoryRegionInfo

func (o *MXCrashDiagnostic) VirtualMemoryRegionInfo() *foundation.NSString

@property virtualMemoryRegionInfo @abstract Details about memory that the app incorrectly accessed in relation to other sections of the app’s virtual memory address space. @discussion This property is set when a bad memory access crash occurs.

type MXCrashDiagnosticObjectiveCExceptionReason

type MXCrashDiagnosticObjectiveCExceptionReason struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxcrashdiagnosticobjectivecexceptionreason

func MXCrashDiagnosticObjectiveCExceptionReasonFromID

func MXCrashDiagnosticObjectiveCExceptionReasonFromID(id objc.ID) *MXCrashDiagnosticObjectiveCExceptionReason

func (*MXCrashDiagnosticObjectiveCExceptionReason) Arguments

@property arguments @abstract An NSArray of strings representing arguments passed to the formatString.

func (*MXCrashDiagnosticObjectiveCExceptionReason) ComposedMessage

@property composedMessage @abstract A human-readable message string summarizing the reason for the exception.

func (*MXCrashDiagnosticObjectiveCExceptionReason) DictionaryRepresentation

@method dictionaryRepresentation @abstract Convenience method to return a NSDictionary representation of this MXCrashDiagnosticObjectiveCExceptionReason object. @result An NSDictionary object containing the dictionary representation

func (*MXCrashDiagnosticObjectiveCExceptionReason) ExceptionName

@property exceptionName @abstract A string representing name of the exception @discussion This will align with the "name" field of the NSException

func (*MXCrashDiagnosticObjectiveCExceptionReason) ExceptionType

@property exceptionType @abstract A human-readable string denoting type of the exception

func (*MXCrashDiagnosticObjectiveCExceptionReason) FormatString

@property formatString @abstract A string representing the exception message before arguments are substituted into the message

func (*MXCrashDiagnosticObjectiveCExceptionReason) JSONRepresentation

@method JSONRepresentation @abstract Convenience method to return a JSON representation of this MXCrashDiagnosticObjectiveCExceptionReason object. @result An NSData object containing the JSON representation

type MXDiagnostic

type MXDiagnostic struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxdiagnostic

func MXDiagnosticFromID

func MXDiagnosticFromID(id objc.ID) *MXDiagnostic

func (*MXDiagnostic) ApplicationVersion

func (o *MXDiagnostic) ApplicationVersion() *foundation.NSString

@property applicationVersion @abstract An NSString representation of the application version from which this diagnostic was generated.

func (*MXDiagnostic) DictionaryRepresentation

func (o *MXDiagnostic) DictionaryRepresentation() *foundation.NSDictionary[objc.ID, objc.ID]

@method dictionaryRepresentation @abstract Convenience method to return a NSDictionary representation of this diagnostic. @result An NSDictionary object containing the dictionary representation

func (*MXDiagnostic) JSONRepresentation

func (o *MXDiagnostic) JSONRepresentation() *foundation.NSData

@method JSONRepresentation @abstract Convenience method to return a JSON representation of this diagnostic. @result An NSData object containing the JSON representation

func (*MXDiagnostic) MetaData

func (o *MXDiagnostic) MetaData() *MXMetaData

func (*MXDiagnostic) SignpostData

func (o *MXDiagnostic) SignpostData() *foundation.NSArray[*MXSignpostRecord]

type MXDiagnosticPayload

type MXDiagnosticPayload struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxdiagnosticpayload

func MXDiagnosticPayloadFromID

func MXDiagnosticPayloadFromID(id objc.ID) *MXDiagnosticPayload

func (*MXDiagnosticPayload) CpuExceptionDiagnostics

func (o *MXDiagnosticPayload) CpuExceptionDiagnostics() *foundation.NSArray[*MXCPUExceptionDiagnostic]

@property cpuExceptionDiagnostics @abstract An array containing CPU exception diagnostics for this application.

func (*MXDiagnosticPayload) CrashDiagnostics

func (o *MXDiagnosticPayload) CrashDiagnostics() *foundation.NSArray[*MXCrashDiagnostic]

@property crashDiagnostics @abstract An array containing crash diagnostics for this application.

func (*MXDiagnosticPayload) DictionaryRepresentation

func (o *MXDiagnosticPayload) DictionaryRepresentation() *foundation.NSDictionary[objc.ID, objc.ID]

@method dictionaryRepresentation @abstract Convenience method to return a NSDictionary representation of this diagnostic payload. @result An NSDictionary object containing the dictionary representation

func (*MXDiagnosticPayload) DiskWriteExceptionDiagnostics

func (o *MXDiagnosticPayload) DiskWriteExceptionDiagnostics() *foundation.NSArray[*MXDiskWriteExceptionDiagnostic]

@property diskWriteExceptionDiagnostics @abstract An array containing disk write exception diagnostics for this application.

func (*MXDiagnosticPayload) HangDiagnostics

func (o *MXDiagnosticPayload) HangDiagnostics() *foundation.NSArray[*MXHangDiagnostic]

@property hangDiagnostics @abstract An array containing hang diagnostics for this application.

func (*MXDiagnosticPayload) JSONRepresentation

func (o *MXDiagnosticPayload) JSONRepresentation() *foundation.NSData

@method JSONRepresentation @abstract Convenience method to return a JSON representation of this diagnostic payload. @result An NSData object containing the JSON representation

func (*MXDiagnosticPayload) TimeStampBegin

func (o *MXDiagnosticPayload) TimeStampBegin() *foundation.NSDate

@property timeStampBegin @abstract An NSDate object that indicates the start time for which the payload was generated.

func (*MXDiagnosticPayload) TimeStampEnd

func (o *MXDiagnosticPayload) TimeStampEnd() *foundation.NSDate

@property timeStampEnd @abstract An NSDate object that indicates the end time for which the payload was generated.

type MXDiskIOMetric

type MXDiskIOMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxdiskiometric

func MXDiskIOMetricFromID

func MXDiskIOMetricFromID(id objc.ID) *MXDiskIOMetric

func (*MXDiskIOMetric) CumulativeLogicalWrites

type MXDiskSpaceUsageMetric

type MXDiskSpaceUsageMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxdiskspaceusagemetric

func MXDiskSpaceUsageMetricFromID

func MXDiskSpaceUsageMetricFromID(id objc.ID) *MXDiskSpaceUsageMetric

func (*MXDiskSpaceUsageMetric) TotalBinaryFileCount

func (o *MXDiskSpaceUsageMetric) TotalBinaryFileCount() int

@property totalBinaryFileCount @abstract Total count of fixed files owned by the app.

func (*MXDiskSpaceUsageMetric) TotalBinaryFileSize

@property totalBinaryFileSize @abstract Total fixed size used by the app. @discussion Dimensioned as NSUnitInformationStorage, base unit is bytes.

func (*MXDiskSpaceUsageMetric) TotalCacheFolderSize

@property totalCacheFolderSize @abstract Total file size contained within the apps cache folder. @discussion Dimensioned as NSUnitInformationStorage, base unit is bytes.

func (*MXDiskSpaceUsageMetric) TotalCloneSize

@property totalCloneSize @abstract Total clone size used by the app. @discussion Dimensioned as NSUnitInformationStorage, base unit is bytes.

func (*MXDiskSpaceUsageMetric) TotalDataFileCount

func (o *MXDiskSpaceUsageMetric) TotalDataFileCount() int

@property totalDataFileCount @abstract Total count of data files owned by the app.

func (*MXDiskSpaceUsageMetric) TotalDataFileSize

@property totalDataFileSize @abstract Total data file size used by the app. @discussion Dimensioned as NSUnitInformationStorage, base unit is bytes.

func (*MXDiskSpaceUsageMetric) TotalDiskSpaceCapacity

@property totalDiskSpaceCapacity @abstract Total disk space capacity of the device @discussion Dimensioned as NSUnitInformationStorage, base unit is bytes.

func (*MXDiskSpaceUsageMetric) TotalDiskSpaceUsedSize

@property totalDiskSpaceUsedSize @abstract Total disk space used by the app. @discussion Dimensioned as NSUnitInformationStorage, base unit is bytes.

type MXDiskWriteExceptionDiagnostic

type MXDiskWriteExceptionDiagnostic struct {
	MXDiagnostic
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxdiskwriteexceptiondiagnostic

func MXDiskWriteExceptionDiagnosticFromID

func MXDiskWriteExceptionDiagnosticFromID(id objc.ID) *MXDiskWriteExceptionDiagnostic

func (*MXDiskWriteExceptionDiagnostic) CallStackTree

func (o *MXDiskWriteExceptionDiagnostic) CallStackTree() *MXCallStackTree

@property callStackTree @abstract The application call stack tree associated with the excessive disk writes.

func (*MXDiskWriteExceptionDiagnostic) TotalWritesCaused

@property totalWritesCaused @abstract Total disk writes caused in the scope of this disk write exception. @discussion Dimensioned as NSUnitInformationStorage.

type MXDisplayMetric

type MXDisplayMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxdisplaymetric

func MXDisplayMetricFromID

func MXDisplayMetricFromID(id objc.ID) *MXDisplayMetric

func (*MXDisplayMetric) AveragePixelLuminance

func (o *MXDisplayMetric) AveragePixelLuminance() *MXAverage[*MXUnitAveragePixelLuminance]

type MXForegroundExitData

type MXForegroundExitData struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxforegroundexitdata

func MXForegroundExitDataFromID

func MXForegroundExitDataFromID(id objc.ID) *MXForegroundExitData

func (*MXForegroundExitData) CumulativeAbnormalExitCount

func (o *MXForegroundExitData) CumulativeAbnormalExitCount() uint

@property cumulativeAbnormalExitCount @abstract Cumulative number of times the application exited abnormally. @discussion The most common causes of crashes with this exception type are uncaught Objective-C/C++ exceptions and calls to abort().

func (*MXForegroundExitData) CumulativeAppWatchdogExitCount

func (o *MXForegroundExitData) CumulativeAppWatchdogExitCount() uint

@property cumulativeAppWatchdogExitCount @abstract Cumulative number of times the application was terminated because a watchdog timeout occured. @discussion These can occur when the application took too long to launch, terminate, or respond to system events.

func (*MXForegroundExitData) CumulativeBadAccessExitCount

func (o *MXForegroundExitData) CumulativeBadAccessExitCount() uint

@property cumulativeBadAccessExitCount @abstract Cumulative number of times the application was terminated for attempting to access invalid memory, or attempting to access memory in a manner not allowed by the memory's protection level (e.g. writing to read-only memory).

func (*MXForegroundExitData) CumulativeIllegalInstructionExitCount

func (o *MXForegroundExitData) CumulativeIllegalInstructionExitCount() uint

@property cumulativeIllegalInstructionExitCount @abstract Cumulative number of times the application terminated for attempting to execute an illegal or undefined instruction. @discussion The process may have attempted to jump to an invalid address via a misconfigured function pointer.

func (*MXForegroundExitData) CumulativeMemoryResourceLimitExitCount

func (o *MXForegroundExitData) CumulativeMemoryResourceLimitExitCount() uint

@property cumulativeMemoryResourceLimitExitCount @abstract Cumulative number of times the application was terminated for exceeding a memory consumption limit.

func (*MXForegroundExitData) CumulativeNormalAppExitCount

func (o *MXForegroundExitData) CumulativeNormalAppExitCount() uint

@property cumulativeNormalAppExitCount @abstract Cumulative number of times the application exited normally, or was gracefully terminated by the system.

type MXGPUMetric

type MXGPUMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxgpumetric

func MXGPUMetricFromID

func MXGPUMetricFromID(id objc.ID) *MXGPUMetric

func (*MXGPUMetric) CumulativeGPUTime

func (o *MXGPUMetric) CumulativeGPUTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

type MXHangDiagnostic

type MXHangDiagnostic struct {
	MXDiagnostic
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxhangdiagnostic

func MXHangDiagnosticFromID

func MXHangDiagnosticFromID(id objc.ID) *MXHangDiagnostic

func (*MXHangDiagnostic) CallStackTree

func (o *MXHangDiagnostic) CallStackTree() *MXCallStackTree

@property callStackTree @abstract The application call stack tree associated with the hang.

func (*MXHangDiagnostic) HangDuration

@property hangDuration @abstract Total hang duration for this diagnostic. @discussion Dimensioned as NSUnitDuration.

type MXHistogram

type MXHistogram[UnitType purego.AnyObject] struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxhistogram

func MXHistogramFromID

func MXHistogramFromID[UnitType purego.AnyObject](id objc.ID) *MXHistogram[UnitType]

func (*MXHistogram[UnitType]) BucketEnumerator

func (o *MXHistogram[UnitType]) BucketEnumerator() *foundation.NSEnumerator[objc.ID]

@property bucketEnumerator @abstract An NSEnumerator that can be used to enumerate the buckets of this histogram.

func (*MXHistogram[UnitType]) TotalBucketCount

func (o *MXHistogram[UnitType]) TotalBucketCount() uint

@property totalBucketCount @abstract The number of buckets contained within this histogram. @discussion This value can never be negative.

type MXHistogramBucket

type MXHistogramBucket[UnitType purego.AnyObject] struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxhistogrambucket

func MXHistogramBucketFromID

func MXHistogramBucketFromID[UnitType purego.AnyObject](id objc.ID) *MXHistogramBucket[UnitType]

func (*MXHistogramBucket[UnitType]) BucketCount

func (o *MXHistogramBucket[UnitType]) BucketCount() uint

@property bucketCount @abstract An NSUInteger representing the number of samples in this histogram bucket.

func (*MXHistogramBucket[UnitType]) BucketEnd

func (o *MXHistogramBucket[UnitType]) BucketEnd() *foundation.NSMeasurement[UnitType]

@property bucketEnd @abstract An NSMeasurement representing the end of a histogram bucket.

func (*MXHistogramBucket[UnitType]) BucketStart

func (o *MXHistogramBucket[UnitType]) BucketStart() *foundation.NSMeasurement[UnitType]

@property bucketStart @abstract An NSMeasurement representing the start of a histogram bucket.

type MXLocationActivityMetric

type MXLocationActivityMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxlocationactivitymetric

func MXLocationActivityMetricFromID

func MXLocationActivityMetricFromID(id objc.ID) *MXLocationActivityMetric

func (*MXLocationActivityMetric) CumulativeBestAccuracyForNavigationTime

func (o *MXLocationActivityMetric) CumulativeBestAccuracyForNavigationTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeBestAccuracyForNavigationTime @abstract Cumulative time spent acquiring location at kCLLocationAccuracyBestForNavigation. @discussion Dimensioned as NSUnitDuration.

func (*MXLocationActivityMetric) CumulativeBestAccuracyTime

func (o *MXLocationActivityMetric) CumulativeBestAccuracyTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeBestAccuracyTime @abstract Cumulative time spent acquiring location at kCLLocationAccuracyBest. @discussion Dimensioned as NSUnitDuration.

func (*MXLocationActivityMetric) CumulativeHundredMetersAccuracyTime

func (o *MXLocationActivityMetric) CumulativeHundredMetersAccuracyTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeHundredMetersAccuracyTime @abstract Cumulative time spent acquiring location at kCLLocationAccuracyHundredMeters. @discussion Dimensioned as NSUnitDuration.

func (*MXLocationActivityMetric) CumulativeKilometerAccuracyTime

func (o *MXLocationActivityMetric) CumulativeKilometerAccuracyTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeKilometerAccuracyTime @abstract Cumulative time spent acquiring location at kCLLocationAccuracyKilometer. @discussion Dimensioned as NSUnitDuration.

func (*MXLocationActivityMetric) CumulativeNearestTenMetersAccuracyTime

func (o *MXLocationActivityMetric) CumulativeNearestTenMetersAccuracyTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeNearestTenMetersAccuracyTime @abstract Cumulative time spent acquiring location at kCLLocationAccuracyNearestTenMeters. @discussion Dimensioned as NSUnitDuration.

func (*MXLocationActivityMetric) CumulativeThreeKilometersAccuracyTime

func (o *MXLocationActivityMetric) CumulativeThreeKilometersAccuracyTime() *foundation.NSMeasurement[*foundation.NSUnitDuration]

@property cumulativeThreeKilometersAccuracyTime @abstract Cumulative time spent acquiring location at kCLLocationAccuracyThreeKilometers. @discussion Dimensioned as NSUnitDuration.

type MXMemoryMetric

type MXMemoryMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxmemorymetric

func MXMemoryMetricFromID

func MXMemoryMetricFromID(id objc.ID) *MXMemoryMetric

func (*MXMemoryMetric) AverageSuspendedMemory

func (o *MXMemoryMetric) AverageSuspendedMemory() *MXAverage[*foundation.NSUnitInformationStorage]

@property averageSuspendedMemory @abstract Average memory of the application upon suspend. @discussion Dimensioned as NSUnitInformationStorage.

func (*MXMemoryMetric) PeakMemoryUsage

@property peakMemoryUsage @abstract A single value representing the peak memory consumption of the application. @discussion Dimensioned as NSUnitInformationStorage.

type MXMetaData

type MXMetaData struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxmetadata

func MXMetaDataFromID

func MXMetaDataFromID(id objc.ID) *MXMetaData

func (*MXMetaData) ApplicationBuildVersion

func (o *MXMetaData) ApplicationBuildVersion() *foundation.NSString

@property applicationBuildVersion @abstract An NSString designating the app build version.

func (*MXMetaData) BundleIdentifier

func (o *MXMetaData) BundleIdentifier() *foundation.NSString

func (*MXMetaData) DeviceType

func (o *MXMetaData) DeviceType() *foundation.NSString

@property deviceType @abstract An NSString designating the device type associated with this device.

func (*MXMetaData) DictionaryRepresentation

func (o *MXMetaData) DictionaryRepresentation() *foundation.NSDictionary[objc.ID, objc.ID]

@method dictionaryRepresentation @abstract Convenience method to return a NSDictionary representation of this metadata. @result An NSDictionary object containing the dictionary representation

func (*MXMetaData) IsTestFlightApp

func (o *MXMetaData) IsTestFlightApp() bool

func (*MXMetaData) JSONRepresentation

func (o *MXMetaData) JSONRepresentation() *foundation.NSData

@method JSONRepresentation @abstract Convenience method to return a JSON representation of this metadata. @result An NSData object containing the JSON representation

func (*MXMetaData) LowPowerModeEnabled

func (o *MXMetaData) LowPowerModeEnabled() bool

func (*MXMetaData) OsVersion

func (o *MXMetaData) OsVersion() *foundation.NSString

@property osVersion @abstract An NSString designating the OS version associated with the device.

func (*MXMetaData) Pid

func (o *MXMetaData) Pid() int

func (*MXMetaData) PlatformArchitecture

func (o *MXMetaData) PlatformArchitecture() *foundation.NSString

@property platformArchitecture @abstract An NSString designating the current architecture.

func (*MXMetaData) RegionFormat

func (o *MXMetaData) RegionFormat() *foundation.NSString

@property regionFormat @abstract An NSString designating the region format associated with the application.

type MXMetric

type MXMetric struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxmetric

func MXMetricFromID

func MXMetricFromID(id objc.ID) *MXMetric

func (*MXMetric) DictionaryRepresentation

func (o *MXMetric) DictionaryRepresentation() *foundation.NSDictionary[objc.ID, objc.ID]

@method dictionaryRepresentation @abstract Convenience method to return a NSDictionary representation of this metric. @result An NSDictionary object containing the dictionary representation

func (*MXMetric) JSONRepresentation

func (o *MXMetric) JSONRepresentation() *foundation.NSData

@method JSONRepresentation @abstract Convenience method to return a JSON representation of this metric. @result An NSData object containing the JSON representation

type MXMetricManager

type MXMetricManager struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxmetricmanager

func MXMetricManagerFromID

func MXMetricManagerFromID(id objc.ID) *MXMetricManager

func MXMetricManagerSharedManager

func MXMetricManagerSharedManager() *MXMetricManager

@property sharedManager @abstract Singleton instance of MXMetricManager.

func (*MXMetricManager) AddSubscriber

func (o *MXMetricManager) AddSubscriber(subscriber MXMetricManagerSubscriber)

@method addSubscriber:subscriber @abstract Adds a subscriber to the metric manager. @param subscriber An object that conforms to the MXMetricManagerSubscriber protocol. @discussion Subscribers can receive metric payloads by conforming to the MXMetricManagerSubscriber protocol.

func (*MXMetricManager) PastDiagnosticPayloads

func (o *MXMetricManager) PastDiagnosticPayloads() *foundation.NSArray[*MXDiagnosticPayload]

@property pastDiagnosticPayloads @abstract A list of past diagnostic payloads received.

func (*MXMetricManager) PastPayloads

func (o *MXMetricManager) PastPayloads() *foundation.NSArray[*MXMetricPayload]

@property pastPayloads @abstract A list of past metric payloads received.

func (*MXMetricManager) RemoveSubscriber

func (o *MXMetricManager) RemoveSubscriber(subscriber MXMetricManagerSubscriber)

@method removeSubscriber:subscriber @abstract Removes a subscriber from the metric manager. @param subscriber An object that conforms to the MXMetricManagerSubscriber protocol. @discussion The subscriber indicated, if previously registered, will no longer receive metric payloads.

type MXMetricManagerSubscriber

type MXMetricManagerSubscriber interface {
}

MXMetricManagerSubscriber wraps the ObjC protocol MXMetricManagerSubscriber.

type MXMetricPayload

type MXMetricPayload struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxmetricpayload

func MXMetricPayloadFromID

func MXMetricPayloadFromID(id objc.ID) *MXMetricPayload

func (*MXMetricPayload) AnimationMetrics

func (o *MXMetricPayload) AnimationMetrics() *MXAnimationMetric

@property animationMetrics @abstract An object containing animation metrics for this application.

func (*MXMetricPayload) ApplicationExitMetrics

func (o *MXMetricPayload) ApplicationExitMetrics() *MXAppExitMetric

@property applicationExitMetrics @abstract An object containing exit metrics for this application.

func (*MXMetricPayload) ApplicationLaunchMetrics

func (o *MXMetricPayload) ApplicationLaunchMetrics() *MXAppLaunchMetric

@property applicationLaunchMetrics @abstract An object containing launch metrics for this application.

func (*MXMetricPayload) ApplicationResponsivenessMetrics

func (o *MXMetricPayload) ApplicationResponsivenessMetrics() *MXAppResponsivenessMetric

@property applicationResponsivenessMetrics @abstract An object containing hang metrics for this application.

func (*MXMetricPayload) ApplicationTimeMetrics

func (o *MXMetricPayload) ApplicationTimeMetrics() *MXAppRunTimeMetric

@property applicationTimeMetrics @abstract An object containing running mode metrics for this application.

func (*MXMetricPayload) CellularConditionMetrics

func (o *MXMetricPayload) CellularConditionMetrics() *MXCellularConditionMetric

@property cellularConditionMetrics @abstract An object containing a cellular condition metrics for this application.

func (*MXMetricPayload) CpuMetrics

func (o *MXMetricPayload) CpuMetrics() *MXCPUMetric

@property cpuMetrics @abstract An object containing CPU metrics for this application.

func (*MXMetricPayload) DictionaryRepresentation

func (o *MXMetricPayload) DictionaryRepresentation() *foundation.NSDictionary[objc.ID, objc.ID]

@method dictionaryRepresentation @abstract Convenience method to return a NSDictionary representation of this payload. @result An NSDictionary object containing the dictionary representation

func (*MXMetricPayload) DiskIOMetrics

func (o *MXMetricPayload) DiskIOMetrics() *MXDiskIOMetric

@property diskIOMetrics @abstract An object containing disk IO metrics for this application.

func (*MXMetricPayload) DiskSpaceUsageMetrics

func (o *MXMetricPayload) DiskSpaceUsageMetrics() *MXDiskSpaceUsageMetric

@property diskSpaceUsageMetrics @abstract An object containing disk space usage metrics for this application.

func (*MXMetricPayload) DisplayMetrics

func (o *MXMetricPayload) DisplayMetrics() *MXDisplayMetric

@property displayMetrics @abstract An object containing display metrics for this application.

func (*MXMetricPayload) GpuMetrics

func (o *MXMetricPayload) GpuMetrics() *MXGPUMetric

@property gpuMetrics @abstract An object containing GPU metrics for this application.

func (*MXMetricPayload) IncludesMultipleApplicationVersions

func (o *MXMetricPayload) IncludesMultipleApplicationVersions() bool

func (*MXMetricPayload) JSONRepresentation

func (o *MXMetricPayload) JSONRepresentation() *foundation.NSData

@method JSONRepresentation @abstract Convenience method to return a JSON representation of this payload. @result An NSData object containing the JSON representation

func (*MXMetricPayload) LatestApplicationVersion

func (o *MXMetricPayload) LatestApplicationVersion() *foundation.NSString

@property latestApplicationVersion @abstract An NSString representation of the application version from which this payload was generated. @discussion If the application version was changed during the aggregation of this data, this value will reflect the latest application version at the time of retrieval.

func (*MXMetricPayload) LocationActivityMetrics

func (o *MXMetricPayload) LocationActivityMetrics() *MXLocationActivityMetric

@property locationActivityMetrics @abstract An object containing location activity metrics for this application.

func (*MXMetricPayload) MemoryMetrics

func (o *MXMetricPayload) MemoryMetrics() *MXMemoryMetric

@property memoryMetrics @abstract An object containing memory metrics for this application.

func (*MXMetricPayload) MetaData

func (o *MXMetricPayload) MetaData() *MXMetaData

@property metaData @abstract An object containing extra metadata for this payload.

func (*MXMetricPayload) NetworkTransferMetrics

func (o *MXMetricPayload) NetworkTransferMetrics() *MXNetworkTransferMetric

@property networkTransferMetrics @abstract An object containing network transfer metrics for this application.

func (*MXMetricPayload) SignpostMetrics

func (o *MXMetricPayload) SignpostMetrics() *foundation.NSArray[*MXSignpostMetric]

@property signpostMetrics @abstract An array containing signpost metrics for this application.

func (*MXMetricPayload) TimeStampBegin

func (o *MXMetricPayload) TimeStampBegin() *foundation.NSDate

@property timeStampBegin @abstract An NSDate object that indicates the time which the payload was generated.

func (*MXMetricPayload) TimeStampEnd

func (o *MXMetricPayload) TimeStampEnd() *foundation.NSDate

@property timeStampEnd @abstract An NSDate object that indicates the time which the payload was generated.

type MXNetworkTransferMetric

type MXNetworkTransferMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxnetworktransfermetric

func MXNetworkTransferMetricFromID

func MXNetworkTransferMetricFromID(id objc.ID) *MXNetworkTransferMetric

func (*MXNetworkTransferMetric) CumulativeCellularDownload

@property cumulativeCellularDownload @abstract Cumulative amount of data downloaded over cellular networks. @discussion This data is radio access technology agnostic. @discussion Dimensioned as NSUnitInformationStorage.

func (*MXNetworkTransferMetric) CumulativeCellularUpload

@property cumulativeCellularUpload @abstract Cumulative amount of data uploaded over cellular networks. @discussion This data is radio access technology agnostic. @discussion Dimensioned as NSUnitInformationStorage.

func (*MXNetworkTransferMetric) CumulativeWifiDownload

@property cumulativeWifiDownload @abstract Cumulative amount of data downloaded over WiFi. @discussion Dimensioned as NSUnitInformationStorage.

func (*MXNetworkTransferMetric) CumulativeWifiUpload

@property cumulativeWifiUpload @abstract Cumulative amount of data uploaded over WiFi. @discussion Dimensioned as NSUnitInformationStorage.

type MXSignpostIntervalData

type MXSignpostIntervalData struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxsignpostintervaldata

func MXSignpostIntervalDataFromID

func MXSignpostIntervalDataFromID(id objc.ID) *MXSignpostIntervalData

func (*MXSignpostIntervalData) AverageMemory

@property averageMemory @abstract Average value of memory snapshots taken at beginning and end of MXSignpost intervals @discussion This property is null when signposts with the associated signpostName and signpostCategory contain no interval metric data.

func (*MXSignpostIntervalData) CumulativeCPUTime

@property cumulativeCPUTime @abstract Cumulative CPU time aggregated over the MXSignpost intervals. @discussion This property is null when signposts with the associated signpostName and signpostCategory contain no interval metric data.

func (*MXSignpostIntervalData) CumulativeHitchTimeRatio

func (o *MXSignpostIntervalData) CumulativeHitchTimeRatio() *foundation.NSMeasurement[*foundation.NSUnit]

@property cumulativeHitchTimeRatio @abstract Cumulative hitch time ratio aggregated over the MXSignpostAnimation intervals. @discussion This property is null when signposts with the associated signpostName and signpostCategory contain no interval metric data.

func (*MXSignpostIntervalData) CumulativeLogicalWrites

@property cumulativeLogicalWrites @abstract Cumulative logical writes aggregated over the MXSignpost intervals. @discussion This property is null when signposts with the associated signpostName and signpostCategory contain no interval metric data.

func (*MXSignpostIntervalData) HistogrammedSignpostDuration

func (o *MXSignpostIntervalData) HistogrammedSignpostDuration() *MXHistogram[*foundation.NSUnitDuration]

@property histogrammedSignpostDuration @abstract A histogram of signpost intervals durations associated with the given signposts with signpostName and signpostCategory.

type MXSignpostMetric

type MXSignpostMetric struct {
	MXMetric
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxsignpostmetric

func MXSignpostMetricFromID

func MXSignpostMetricFromID(id objc.ID) *MXSignpostMetric

func (*MXSignpostMetric) SignpostCategory

func (o *MXSignpostMetric) SignpostCategory() *foundation.NSString

@property signpostCategory @abstract The category associated with this aggregated signpost.

func (*MXSignpostMetric) SignpostIntervalData

func (o *MXSignpostMetric) SignpostIntervalData() *MXSignpostIntervalData

@property signpostIntervalData @abstract A class that encapsulates metrics associated with app specific signpost intervals. @discussion This property is null when signposts with the associated signpostName and signpostCategory contain no intervals.

func (*MXSignpostMetric) SignpostName

func (o *MXSignpostMetric) SignpostName() *foundation.NSString

@property signpostName @abstract The name associated with this aggregated signpost.

func (*MXSignpostMetric) TotalCount

func (o *MXSignpostMetric) TotalCount() uint

@property totalCount @abstract The total number of signposts emit with the given signpostName in the aggregation period of the parent payload.

type MXSignpostRecord

type MXSignpostRecord struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxsignpostrecord

func MXSignpostRecordFromID

func MXSignpostRecordFromID(id objc.ID) *MXSignpostRecord

func (*MXSignpostRecord) BeginTimeStamp

func (o *MXSignpostRecord) BeginTimeStamp() *foundation.NSDate

func (*MXSignpostRecord) Category

func (o *MXSignpostRecord) Category() *foundation.NSString

func (*MXSignpostRecord) DictionaryRepresentation

func (o *MXSignpostRecord) DictionaryRepresentation() *foundation.NSDictionary[objc.ID, objc.ID]

@method dictionaryRepresentation @abstract Convenience method to return a NSDictionary representation of this SignpostRecord. @result An NSDictionary object containing the dictionary representation

func (*MXSignpostRecord) Duration

func (*MXSignpostRecord) EndTimeStamp

func (o *MXSignpostRecord) EndTimeStamp() *foundation.NSDate

func (*MXSignpostRecord) IsInterval

func (o *MXSignpostRecord) IsInterval() bool

func (*MXSignpostRecord) JSONRepresentation

func (o *MXSignpostRecord) JSONRepresentation() *foundation.NSData

@method JSONRepresentation @abstract Convenience method to return a JSON representation of this SignpostRecord. @result An NSData object containing the JSON representation

func (*MXSignpostRecord) Name

func (*MXSignpostRecord) Subsystem

func (o *MXSignpostRecord) Subsystem() *foundation.NSString

@property subsystem @abstract An NSString representation of the subsystem of the signpost instance.

type MXUnitAveragePixelLuminance

type MXUnitAveragePixelLuminance struct {
	foundation.NSDimension
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxunitaveragepixelluminance

func MXUnitAveragePixelLuminanceApl

func MXUnitAveragePixelLuminanceApl() *MXUnitAveragePixelLuminance

func MXUnitAveragePixelLuminanceFromID

func MXUnitAveragePixelLuminanceFromID(id objc.ID) *MXUnitAveragePixelLuminance

type MXUnitSignalBars

type MXUnitSignalBars struct {
	foundation.NSDimension
}

Apple documentation: https://developer.apple.com/documentation/metrickit/mxunitsignalbars

func MXUnitSignalBarsBars

func MXUnitSignalBarsBars() *MXUnitSignalBars

func MXUnitSignalBarsFromID

func MXUnitSignalBarsFromID(id objc.ID) *MXUnitSignalBars

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Os_log_type_t

type Os_log_type_t int64
const (
	OS_LOG_TYPE_DEFAULT Os_log_type_t = 0
	OS_LOG_TYPE_INFO    Os_log_type_t = 1
	OS_LOG_TYPE_DEBUG   Os_log_type_t = 2
	OS_LOG_TYPE_ERROR   Os_log_type_t = 16
	OS_LOG_TYPE_FAULT   Os_log_type_t = 17
)

func (Os_log_type_t) String

func (e Os_log_type_t) String() string

type Os_signpost_type_t

type Os_signpost_type_t int64
const (
	OS_SIGNPOST_EVENT          Os_signpost_type_t = 0
	OS_SIGNPOST_INTERVAL_BEGIN Os_signpost_type_t = 1
	OS_SIGNPOST_INTERVAL_END   Os_signpost_type_t = 2
)

func (Os_signpost_type_t) String

func (e Os_signpost_type_t) String() string

type Ptrauth_key

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

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type Virtual_memory_guard_exception_code_t

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

func (Virtual_memory_guard_exception_code_t) String

type Xpc_listener_create_flags_t

type Xpc_listener_create_flags_t int64
const (
	XPC_LISTENER_CREATE_NONE             Xpc_listener_create_flags_t = 0
	XPC_LISTENER_CREATE_INACTIVE         Xpc_listener_create_flags_t = 1
	XPC_LISTENER_CREATE_FORCE_MACH       Xpc_listener_create_flags_t = 2
	XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4
)

func (Xpc_listener_create_flags_t) String

type Xpc_session_create_flags_t

type Xpc_session_create_flags_t int64
const (
	XPC_SESSION_CREATE_NONE            Xpc_session_create_flags_t = 0
	XPC_SESSION_CREATE_INACTIVE        Xpc_session_create_flags_t = 1
	XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2
)

func (Xpc_session_create_flags_t) String

Jump to

Keyboard shortcuts

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