Documentation
¶
Overview ¶
Package ituneslibrary provides purego-based Go bindings for the macOS iTunesLibrary framework.
Apple documentation: https://developer.apple.com/documentation/ituneslibrary
Index ¶
- func ITLibMediaEntityPropertyPersistentID() uintptr
- func ITLibMediaItemPropertyAddedDate() uintptr
- func ITLibMediaItemPropertyAlbumArtist() uintptr
- func ITLibMediaItemPropertyAlbumDiscCount() uintptr
- func ITLibMediaItemPropertyAlbumDiscNumber() uintptr
- func ITLibMediaItemPropertyAlbumIsCompilation() uintptr
- func ITLibMediaItemPropertyAlbumIsGapless() uintptr
- func ITLibMediaItemPropertyAlbumRating() uintptr
- func ITLibMediaItemPropertyAlbumRatingComputed() uintptr
- func ITLibMediaItemPropertyAlbumTitle() uintptr
- func ITLibMediaItemPropertyAlbumTrackCount() uintptr
- func ITLibMediaItemPropertyArtistName() uintptr
- func ITLibMediaItemPropertyArtwork() uintptr
- func ITLibMediaItemPropertyBeatsPerMinute() uintptr
- func ITLibMediaItemPropertyBitRate() uintptr
- func ITLibMediaItemPropertyCategory() uintptr
- func ITLibMediaItemPropertyComments() uintptr
- func ITLibMediaItemPropertyComposer() uintptr
- func ITLibMediaItemPropertyContentRating() uintptr
- func ITLibMediaItemPropertyDescription() uintptr
- func ITLibMediaItemPropertyFileSize() uintptr
- func ITLibMediaItemPropertyFileType() uintptr
- func ITLibMediaItemPropertyGenre() uintptr
- func ITLibMediaItemPropertyGrouping() uintptr
- func ITLibMediaItemPropertyHasArtwork() uintptr
- func ITLibMediaItemPropertyIsDRMProtected() uintptr
- func ITLibMediaItemPropertyIsPurchased() uintptr
- func ITLibMediaItemPropertyIsUserDisabled() uintptr
- func ITLibMediaItemPropertyIsVideo() uintptr
- func ITLibMediaItemPropertyKind() uintptr
- func ITLibMediaItemPropertyLastPlayDate() uintptr
- func ITLibMediaItemPropertyLocation() uintptr
- func ITLibMediaItemPropertyLocationType() uintptr
- func ITLibMediaItemPropertyLyricsContentRating() uintptr
- func ITLibMediaItemPropertyMediaKind() uintptr
- func ITLibMediaItemPropertyModifiedDate() uintptr
- func ITLibMediaItemPropertyMovementCount() uintptr
- func ITLibMediaItemPropertyMovementName() uintptr
- func ITLibMediaItemPropertyMovementNumber() uintptr
- func ITLibMediaItemPropertyPlayCount() uintptr
- func ITLibMediaItemPropertyPlayStatus() uintptr
- func ITLibMediaItemPropertyRating() uintptr
- func ITLibMediaItemPropertyRatingComputed() uintptr
- func ITLibMediaItemPropertyReleaseDate() uintptr
- func ITLibMediaItemPropertySampleRate() uintptr
- func ITLibMediaItemPropertySize() uintptr
- func ITLibMediaItemPropertySkipDate() uintptr
- func ITLibMediaItemPropertySortAlbumArtist() uintptr
- func ITLibMediaItemPropertySortAlbumTitle() uintptr
- func ITLibMediaItemPropertySortArtistName() uintptr
- func ITLibMediaItemPropertySortComposer() uintptr
- func ITLibMediaItemPropertySortTitle() uintptr
- func ITLibMediaItemPropertyStartTime() uintptr
- func ITLibMediaItemPropertyStopTime() uintptr
- func ITLibMediaItemPropertyTitle() uintptr
- func ITLibMediaItemPropertyTotalTime() uintptr
- func ITLibMediaItemPropertyTrackNumber() uintptr
- func ITLibMediaItemPropertyUserSkipCount() uintptr
- func ITLibMediaItemPropertyVideoEpisode() uintptr
- func ITLibMediaItemPropertyVideoEpisodeOrder() uintptr
- func ITLibMediaItemPropertyVideoHeight() uintptr
- func ITLibMediaItemPropertyVideoIsHD() uintptr
- func ITLibMediaItemPropertyVideoSeason() uintptr
- func ITLibMediaItemPropertyVideoSeries() uintptr
- func ITLibMediaItemPropertyVideoSortSeries() uintptr
- func ITLibMediaItemPropertyVideoWidth() uintptr
- func ITLibMediaItemPropertyVoiceOverLanguage() uintptr
- func ITLibMediaItemPropertyVolumeAdjustment() uintptr
- func ITLibMediaItemPropertyVolumeNormalizationEnergy() uintptr
- func ITLibMediaItemPropertyWork() uintptr
- func ITLibMediaItemPropertyYear() uintptr
- func ITLibPlaylistPropertyAllItemsPlaylist() uintptr
- func ITLibPlaylistPropertyDistinguisedKind() uintptr
- func ITLibPlaylistPropertyItems() uintptr
- func ITLibPlaylistPropertyKind() uintptr
- func ITLibPlaylistPropertyMaster() uintptr
- func ITLibPlaylistPropertyName() uintptr
- func ITLibPlaylistPropertyParentPersistentID() uintptr
- func ITLibPlaylistPropertyPrimary() uintptr
- func ITLibPlaylistPropertyVisible() uintptr
- func ITLibraryDidChangeNotification() uintptr
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type Filesec_property_t
- type ITLibAlbum
- func (o *ITLibAlbum) AlbumArtist() *foundation.NSString
- func (o *ITLibAlbum) Artist() unsafe.Pointer
- func (o *ITLibAlbum) DiscCount() uint
- func (o *ITLibAlbum) DiscNumber() uint
- func (o *ITLibAlbum) IsCompilation() bool
- func (o *ITLibAlbum) IsGapless() bool
- func (o *ITLibAlbum) IsRatingComputed() bool
- func (o *ITLibAlbum) PersistentID() *foundation.NSNumber
- func (o *ITLibAlbum) Rating() int
- func (o *ITLibAlbum) SortAlbumArtist() *foundation.NSString
- func (o *ITLibAlbum) SortTitle() *foundation.NSString
- func (o *ITLibAlbum) Title() *foundation.NSString
- func (o *ITLibAlbum) TrackCount() uint
- type ITLibArtist
- type ITLibArtwork
- type ITLibArtworkFormat
- type ITLibDistinguishedPlaylistKind
- type ITLibExportFeature
- type ITLibInitOptions
- type ITLibMediaEntity
- func (o *ITLibMediaEntity) EnumerateValuesExceptForPropertiesUsing(properties *foundation.NSSet[*foundation.NSString], ...)
- func (o *ITLibMediaEntity) EnumerateValuesForPropertiesUsing(properties *foundation.NSSet[*foundation.NSString], ...)
- func (o *ITLibMediaEntity) PersistentID() *foundation.NSNumber
- func (o *ITLibMediaEntity) ValueForProperty(property *foundation.NSString) objc.ID
- type ITLibMediaItem
- func (o *ITLibMediaItem) AddedDate() *foundation.NSDate
- func (o *ITLibMediaItem) Album() *ITLibAlbum
- func (o *ITLibMediaItem) Artist() *ITLibArtist
- func (o *ITLibMediaItem) Artwork() *ITLibArtwork
- func (o *ITLibMediaItem) BeatsPerMinute() uint
- func (o *ITLibMediaItem) Bitrate() uint
- func (o *ITLibMediaItem) Category() *foundation.NSString
- func (o *ITLibMediaItem) Comments() *foundation.NSString
- func (o *ITLibMediaItem) Composer() *foundation.NSString
- func (o *ITLibMediaItem) ContentRating() *foundation.NSString
- func (o *ITLibMediaItem) FileSize() uint64
- func (o *ITLibMediaItem) FileType() uint
- func (o *ITLibMediaItem) Genre() *foundation.NSString
- func (o *ITLibMediaItem) Grouping() *foundation.NSString
- func (o *ITLibMediaItem) HasArtworkAvailable() bool
- func (o *ITLibMediaItem) IsCloud() bool
- func (o *ITLibMediaItem) IsDRMProtected() bool
- func (o *ITLibMediaItem) IsPurchased() bool
- func (o *ITLibMediaItem) IsRatingComputed() bool
- func (o *ITLibMediaItem) IsUserDisabled() bool
- func (o *ITLibMediaItem) IsVideo() bool
- func (o *ITLibMediaItem) Kind() *foundation.NSString
- func (o *ITLibMediaItem) LastPlayedDate() *foundation.NSDate
- func (o *ITLibMediaItem) Location() *foundation.NSURL
- func (o *ITLibMediaItem) LocationType() ITLibMediaItemLocationType
- func (o *ITLibMediaItem) LyricsContentRating() ITLibMediaItemLyricsContentRating
- func (o *ITLibMediaItem) MediaKind() ITLibMediaItemMediaKind
- func (o *ITLibMediaItem) ModifiedDate() *foundation.NSDate
- func (o *ITLibMediaItem) PlayCount() uint
- func (o *ITLibMediaItem) PlayStatus() ITLibMediaItemPlayStatus
- func (o *ITLibMediaItem) Rating() int
- func (o *ITLibMediaItem) ReleaseDate() *foundation.NSDate
- func (o *ITLibMediaItem) SampleRate() uint
- func (o *ITLibMediaItem) Size() uint
- func (o *ITLibMediaItem) SkipCount() uint
- func (o *ITLibMediaItem) SkipDate() *foundation.NSDate
- func (o *ITLibMediaItem) SortComposer() *foundation.NSString
- func (o *ITLibMediaItem) SortTitle() *foundation.NSString
- func (o *ITLibMediaItem) StartTime() uint
- func (o *ITLibMediaItem) StopTime() uint
- func (o *ITLibMediaItem) Title() *foundation.NSString
- func (o *ITLibMediaItem) TotalTime() uint
- func (o *ITLibMediaItem) TrackNumber() uint
- func (o *ITLibMediaItem) VideoInfo() *ITLibMediaItemVideoInfo
- func (o *ITLibMediaItem) VoiceOverLanguage() unsafe.Pointer
- func (o *ITLibMediaItem) VolumeAdjustment() int
- func (o *ITLibMediaItem) VolumeNormalizationEnergy() uint
- func (o *ITLibMediaItem) Year() uint
- type ITLibMediaItemLocationType
- type ITLibMediaItemLyricsContentRating
- type ITLibMediaItemMediaKind
- type ITLibMediaItemPlayStatus
- type ITLibMediaItemVideoInfo
- func (o *ITLibMediaItemVideoInfo) Episode() *foundation.NSString
- func (o *ITLibMediaItemVideoInfo) EpisodeOrder() int
- func (o *ITLibMediaItemVideoInfo) IsHD() bool
- func (o *ITLibMediaItemVideoInfo) Season() uint
- func (o *ITLibMediaItemVideoInfo) Series() *foundation.NSString
- func (o *ITLibMediaItemVideoInfo) SortSeries() *foundation.NSString
- func (o *ITLibMediaItemVideoInfo) VideoHeight() uint
- func (o *ITLibMediaItemVideoInfo) VideoWidth() uint
- type ITLibPlaylist
- func (o *ITLibPlaylist) DistinguishedKind() ITLibDistinguishedPlaylistKind
- func (o *ITLibPlaylist) IsAllItemsPlaylist() bool
- func (o *ITLibPlaylist) IsMaster() bool
- func (o *ITLibPlaylist) IsPrimary() bool
- func (o *ITLibPlaylist) IsVisible() bool
- func (o *ITLibPlaylist) Items() *foundation.NSArray[*ITLibMediaItem]
- func (o *ITLibPlaylist) Kind() ITLibPlaylistKind
- func (o *ITLibPlaylist) Name() *foundation.NSString
- func (o *ITLibPlaylist) ParentID() *foundation.NSNumber
- type ITLibPlaylistKind
- type ITLibrary
- func (o *ITLibrary) AllMediaItems() *foundation.NSArray[*ITLibMediaItem]
- func (o *ITLibrary) AllPlaylists() *foundation.NSArray[*ITLibPlaylist]
- func (o *ITLibrary) ApiMajorVersion() uint
- func (o *ITLibrary) ApiMinorVersion() uint
- func (o *ITLibrary) ApplicationVersion() *foundation.NSString
- func (o *ITLibrary) ArtworkForMediaFile(mediaFileURL *foundation.NSURL) *ITLibArtwork
- func (o *ITLibrary) Features() ITLibExportFeature
- func (o *ITLibrary) InitWithAPIVersionError(requestedAPIVersion *foundation.NSString) (*ITLibrary, error)
- func (o *ITLibrary) InitWithAPIVersionOptionsError(requestedAPIVersion *foundation.NSString, options ITLibInitOptions) (*ITLibrary, error)
- func (o *ITLibrary) MediaFolderLocation() unsafe.Pointer
- func (o *ITLibrary) MusicFolderLocation() *foundation.NSURL
- func (o *ITLibrary) ReloadData() bool
- func (o *ITLibrary) ShouldShowContentRating() bool
- func (o *ITLibrary) UnloadData()
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type Os_clockid_t
- type Ptrauth_key
- type Qos_class_t
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ITLibMediaEntityPropertyPersistentID ¶
func ITLibMediaEntityPropertyPersistentID() uintptr
func ITLibMediaItemPropertyAddedDate ¶
func ITLibMediaItemPropertyAddedDate() uintptr
func ITLibMediaItemPropertyAlbumArtist ¶
func ITLibMediaItemPropertyAlbumArtist() uintptr
func ITLibMediaItemPropertyAlbumDiscCount ¶
func ITLibMediaItemPropertyAlbumDiscCount() uintptr
func ITLibMediaItemPropertyAlbumDiscNumber ¶
func ITLibMediaItemPropertyAlbumDiscNumber() uintptr
func ITLibMediaItemPropertyAlbumIsCompilation ¶
func ITLibMediaItemPropertyAlbumIsCompilation() uintptr
func ITLibMediaItemPropertyAlbumIsGapless ¶
func ITLibMediaItemPropertyAlbumIsGapless() uintptr
func ITLibMediaItemPropertyAlbumRating ¶
func ITLibMediaItemPropertyAlbumRating() uintptr
func ITLibMediaItemPropertyAlbumRatingComputed ¶
func ITLibMediaItemPropertyAlbumRatingComputed() uintptr
func ITLibMediaItemPropertyAlbumTitle ¶
func ITLibMediaItemPropertyAlbumTitle() uintptr
func ITLibMediaItemPropertyAlbumTrackCount ¶
func ITLibMediaItemPropertyAlbumTrackCount() uintptr
func ITLibMediaItemPropertyArtistName ¶
func ITLibMediaItemPropertyArtistName() uintptr
func ITLibMediaItemPropertyArtwork ¶
func ITLibMediaItemPropertyArtwork() uintptr
func ITLibMediaItemPropertyBeatsPerMinute ¶
func ITLibMediaItemPropertyBeatsPerMinute() uintptr
func ITLibMediaItemPropertyBitRate ¶
func ITLibMediaItemPropertyBitRate() uintptr
func ITLibMediaItemPropertyCategory ¶
func ITLibMediaItemPropertyCategory() uintptr
func ITLibMediaItemPropertyComments ¶
func ITLibMediaItemPropertyComments() uintptr
func ITLibMediaItemPropertyComposer ¶
func ITLibMediaItemPropertyComposer() uintptr
func ITLibMediaItemPropertyContentRating ¶
func ITLibMediaItemPropertyContentRating() uintptr
func ITLibMediaItemPropertyDescription ¶
func ITLibMediaItemPropertyDescription() uintptr
func ITLibMediaItemPropertyFileSize ¶
func ITLibMediaItemPropertyFileSize() uintptr
func ITLibMediaItemPropertyFileType ¶
func ITLibMediaItemPropertyFileType() uintptr
func ITLibMediaItemPropertyGenre ¶
func ITLibMediaItemPropertyGenre() uintptr
func ITLibMediaItemPropertyGrouping ¶
func ITLibMediaItemPropertyGrouping() uintptr
func ITLibMediaItemPropertyHasArtwork ¶
func ITLibMediaItemPropertyHasArtwork() uintptr
func ITLibMediaItemPropertyIsDRMProtected ¶
func ITLibMediaItemPropertyIsDRMProtected() uintptr
func ITLibMediaItemPropertyIsPurchased ¶
func ITLibMediaItemPropertyIsPurchased() uintptr
func ITLibMediaItemPropertyIsUserDisabled ¶
func ITLibMediaItemPropertyIsUserDisabled() uintptr
func ITLibMediaItemPropertyIsVideo ¶
func ITLibMediaItemPropertyIsVideo() uintptr
func ITLibMediaItemPropertyKind ¶
func ITLibMediaItemPropertyKind() uintptr
func ITLibMediaItemPropertyLastPlayDate ¶
func ITLibMediaItemPropertyLastPlayDate() uintptr
func ITLibMediaItemPropertyLocation ¶
func ITLibMediaItemPropertyLocation() uintptr
func ITLibMediaItemPropertyLocationType ¶
func ITLibMediaItemPropertyLocationType() uintptr
func ITLibMediaItemPropertyLyricsContentRating ¶
func ITLibMediaItemPropertyLyricsContentRating() uintptr
func ITLibMediaItemPropertyMediaKind ¶
func ITLibMediaItemPropertyMediaKind() uintptr
func ITLibMediaItemPropertyModifiedDate ¶
func ITLibMediaItemPropertyModifiedDate() uintptr
func ITLibMediaItemPropertyMovementCount ¶
func ITLibMediaItemPropertyMovementCount() uintptr
func ITLibMediaItemPropertyMovementName ¶
func ITLibMediaItemPropertyMovementName() uintptr
func ITLibMediaItemPropertyMovementNumber ¶
func ITLibMediaItemPropertyMovementNumber() uintptr
func ITLibMediaItemPropertyPlayCount ¶
func ITLibMediaItemPropertyPlayCount() uintptr
func ITLibMediaItemPropertyPlayStatus ¶
func ITLibMediaItemPropertyPlayStatus() uintptr
func ITLibMediaItemPropertyRating ¶
func ITLibMediaItemPropertyRating() uintptr
func ITLibMediaItemPropertyRatingComputed ¶
func ITLibMediaItemPropertyRatingComputed() uintptr
func ITLibMediaItemPropertyReleaseDate ¶
func ITLibMediaItemPropertyReleaseDate() uintptr
func ITLibMediaItemPropertySampleRate ¶
func ITLibMediaItemPropertySampleRate() uintptr
func ITLibMediaItemPropertySize ¶
func ITLibMediaItemPropertySize() uintptr
func ITLibMediaItemPropertySkipDate ¶
func ITLibMediaItemPropertySkipDate() uintptr
func ITLibMediaItemPropertySortAlbumArtist ¶
func ITLibMediaItemPropertySortAlbumArtist() uintptr
func ITLibMediaItemPropertySortAlbumTitle ¶
func ITLibMediaItemPropertySortAlbumTitle() uintptr
func ITLibMediaItemPropertySortArtistName ¶
func ITLibMediaItemPropertySortArtistName() uintptr
func ITLibMediaItemPropertySortComposer ¶
func ITLibMediaItemPropertySortComposer() uintptr
func ITLibMediaItemPropertySortTitle ¶
func ITLibMediaItemPropertySortTitle() uintptr
func ITLibMediaItemPropertyStartTime ¶
func ITLibMediaItemPropertyStartTime() uintptr
func ITLibMediaItemPropertyStopTime ¶
func ITLibMediaItemPropertyStopTime() uintptr
func ITLibMediaItemPropertyTitle ¶
func ITLibMediaItemPropertyTitle() uintptr
func ITLibMediaItemPropertyTotalTime ¶
func ITLibMediaItemPropertyTotalTime() uintptr
func ITLibMediaItemPropertyTrackNumber ¶
func ITLibMediaItemPropertyTrackNumber() uintptr
func ITLibMediaItemPropertyUserSkipCount ¶
func ITLibMediaItemPropertyUserSkipCount() uintptr
func ITLibMediaItemPropertyVideoEpisode ¶
func ITLibMediaItemPropertyVideoEpisode() uintptr
func ITLibMediaItemPropertyVideoEpisodeOrder ¶
func ITLibMediaItemPropertyVideoEpisodeOrder() uintptr
func ITLibMediaItemPropertyVideoHeight ¶
func ITLibMediaItemPropertyVideoHeight() uintptr
func ITLibMediaItemPropertyVideoIsHD ¶
func ITLibMediaItemPropertyVideoIsHD() uintptr
func ITLibMediaItemPropertyVideoSeason ¶
func ITLibMediaItemPropertyVideoSeason() uintptr
func ITLibMediaItemPropertyVideoSeries ¶
func ITLibMediaItemPropertyVideoSeries() uintptr
func ITLibMediaItemPropertyVideoSortSeries ¶
func ITLibMediaItemPropertyVideoSortSeries() uintptr
func ITLibMediaItemPropertyVideoWidth ¶
func ITLibMediaItemPropertyVideoWidth() uintptr
func ITLibMediaItemPropertyVoiceOverLanguage ¶
func ITLibMediaItemPropertyVoiceOverLanguage() uintptr
func ITLibMediaItemPropertyVolumeAdjustment ¶
func ITLibMediaItemPropertyVolumeAdjustment() uintptr
func ITLibMediaItemPropertyVolumeNormalizationEnergy ¶
func ITLibMediaItemPropertyVolumeNormalizationEnergy() uintptr
func ITLibMediaItemPropertyWork ¶
func ITLibMediaItemPropertyWork() uintptr
func ITLibMediaItemPropertyYear ¶
func ITLibMediaItemPropertyYear() uintptr
func ITLibPlaylistPropertyAllItemsPlaylist ¶
func ITLibPlaylistPropertyAllItemsPlaylist() uintptr
@constant ITLibPlaylistPropertyAllItems. See allItemsPlaylist.
func ITLibPlaylistPropertyDistinguisedKind ¶
func ITLibPlaylistPropertyDistinguisedKind() uintptr
@constant ITLibPlaylistPropertyDistinguisedKind.
func ITLibPlaylistPropertyItems ¶
func ITLibPlaylistPropertyItems() uintptr
@constant ITLibPlaylistPropertyItems.
func ITLibPlaylistPropertyKind ¶
func ITLibPlaylistPropertyKind() uintptr
@constant ITLibPlaylistPropertyFolder.
func ITLibPlaylistPropertyMaster ¶
func ITLibPlaylistPropertyMaster() uintptr
@constant ITLibPlaylistPropertyMaster. Deprecated: since macOS API_TO_BE_DEPRECATED.
func ITLibPlaylistPropertyName ¶
func ITLibPlaylistPropertyName() uintptr
@constant ITLibPlaylistPropertyName. @abstract Retrieves the name or title of the playlist. See @link name @/link.
func ITLibPlaylistPropertyParentPersistentID ¶
func ITLibPlaylistPropertyParentPersistentID() uintptr
@constant ITLibPlaylistPropertyParentPersistentID.
func ITLibPlaylistPropertyPrimary ¶
func ITLibPlaylistPropertyPrimary() uintptr
@constant ITLibPlaylistPropertyPrimary.
func ITLibPlaylistPropertyVisible ¶
func ITLibPlaylistPropertyVisible() uintptr
@constant ITLibPlaylistPropertyVisible.
func ITLibraryDidChangeNotification ¶
func ITLibraryDidChangeNotification() uintptr
@constant ITLibraryDidChangeNotification @abstract This notification is sent to NSDistributedNotificationCenter when a change has occurred in the library. The client should call [ITLibrary -reloadData] if it wants a new view of the library contents. @note This is not a fine-grained notification. This API does not support per-object change notifications.
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_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 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 ¶
func (e Dispatch_autorelease_frequency_t) String() 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 ITLibAlbum ¶
type ITLibAlbum struct {
foundation.NSObject
}
This class provides information about an album in the iTunes library.
Apple documentation: https://developer.apple.com/documentation/ituneslibrary/itlibalbum
func ITLibAlbumFromID ¶
func ITLibAlbumFromID(id objc.ID) *ITLibAlbum
func (*ITLibAlbum) AlbumArtist ¶
func (o *ITLibAlbum) AlbumArtist() *foundation.NSString
@abstract The artist associated with this album.
func (*ITLibAlbum) Artist ¶
func (o *ITLibAlbum) Artist() unsafe.Pointer
@abstract Deprecated. Will be removed in future versions.
func (*ITLibAlbum) DiscCount ¶
func (o *ITLibAlbum) DiscCount() uint
@abstract The number of discs in this album.
func (*ITLibAlbum) DiscNumber ¶
func (o *ITLibAlbum) DiscNumber() uint
@abstract The index (i.e. 1, 2, 3, etc.) of the disc this album refers to within a compilation.
func (*ITLibAlbum) IsCompilation ¶
func (o *ITLibAlbum) IsCompilation() bool
@abstract Whether this album is a compilation.
func (*ITLibAlbum) IsGapless ¶
func (o *ITLibAlbum) IsGapless() bool
@abstract Whether this track's album is gapless.
func (*ITLibAlbum) IsRatingComputed ¶
func (o *ITLibAlbum) IsRatingComputed() bool
@abstract The rating of this track's album.
func (*ITLibAlbum) PersistentID ¶
func (o *ITLibAlbum) PersistentID() *foundation.NSNumber
@abstract The unique identifier of this album.
func (*ITLibAlbum) Rating ¶
func (o *ITLibAlbum) Rating() int
@abstract The rating of this track's album.
func (*ITLibAlbum) SortAlbumArtist ¶
func (o *ITLibAlbum) SortAlbumArtist() *foundation.NSString
@abstract The artist associated with this album. This field should be used when sorting.
func (*ITLibAlbum) SortTitle ¶
func (o *ITLibAlbum) SortTitle() *foundation.NSString
@abstract The name of this that should be used for sorting purposes.
func (*ITLibAlbum) Title ¶
func (o *ITLibAlbum) Title() *foundation.NSString
@abstract The name of this album.
func (*ITLibAlbum) TrackCount ¶
func (o *ITLibAlbum) TrackCount() uint
@abstract Number of tracks in this album.
type ITLibArtist ¶
type ITLibArtist struct {
foundation.NSObject
}
This class represents an artist, such as the performer of a song.
Apple documentation: https://developer.apple.com/documentation/ituneslibrary/itlibartist
func ITLibArtistFromID ¶
func ITLibArtistFromID(id objc.ID) *ITLibArtist
func (*ITLibArtist) Name ¶
func (o *ITLibArtist) Name() *foundation.NSString
@abstract The name of this artist.
func (*ITLibArtist) PersistentID ¶
func (o *ITLibArtist) PersistentID() *foundation.NSNumber
@abstract The unique identifier of this artist.
func (*ITLibArtist) SortName ¶
func (o *ITLibArtist) SortName() *foundation.NSString
@abstract The name of this artist that should be used for sorting purposes.
type ITLibArtwork ¶
type ITLibArtwork struct {
foundation.NSObject
}
This class represents the artwork for a media item.
Apple documentation: https://developer.apple.com/documentation/ituneslibrary/itlibartwork
func ITLibArtworkFromID ¶
func ITLibArtworkFromID(id objc.ID) *ITLibArtwork
func (*ITLibArtwork) Image ¶
func (o *ITLibArtwork) Image() *appkit.NSImage
@abstract The NSImage formed by calling [[NSImage alloc] initWithData:self.imageData].
func (*ITLibArtwork) ImageData ¶
func (o *ITLibArtwork) ImageData() *foundation.NSData
@abstract The data (bytes) of this artwork image.
func (*ITLibArtwork) ImageDataFormat ¶
func (o *ITLibArtwork) ImageDataFormat() ITLibArtworkFormat
@abstract The fortmat of the data returned by the imageData method.
type ITLibArtworkFormat ¶
type ITLibArtworkFormat uint64
These constants specify the possible formats of the data that imageDataFormat returns.
const ( // The image data format is unknown. ITLibArtworkFormatNone ITLibArtworkFormat = 0 // The image data corresponds to a bitmap image. ITLibArtworkFormatBitmap ITLibArtworkFormat = 1 // The image data corresponds to a JPEG image. ITLibArtworkFormatJPEG ITLibArtworkFormat = 2 // The image data corresponds to a JPEG2000 image. ITLibArtworkFormatJPEG2000 ITLibArtworkFormat = 3 // The image data corresponds to a GIF image. ITLibArtworkFormatGIF ITLibArtworkFormat = 4 // The image data corresponds to a PNG image. ITLibArtworkFormatPNG ITLibArtworkFormat = 5 // The image data corresponds to a bitmap image. ITLibArtworkFormatBMP ITLibArtworkFormat = 6 // The image data corresponds to a TIFF image. ITLibArtworkFormatTIFF ITLibArtworkFormat = 7 // The image data corresponds to a PICT image. ITLibArtworkFormatPICT ITLibArtworkFormat = 8 )
func (ITLibArtworkFormat) String ¶
func (e ITLibArtworkFormat) String() string
type ITLibDistinguishedPlaylistKind ¶
type ITLibDistinguishedPlaylistKind uint64
These constants specify the possible kinds of distinguished playlists.
const ( // The playlist isn’t a distinguished playlist. ITLibDistinguishedPlaylistKindNone ITLibDistinguishedPlaylistKind = 0 // The playlist contains all the movies in the iTunes library. ITLibDistinguishedPlaylistKindMovies ITLibDistinguishedPlaylistKind = 1 // The playlist contains all the TV shows in the iTunes library. ITLibDistinguishedPlaylistKindTVShows ITLibDistinguishedPlaylistKind = 2 // The playlist contains all the music items in the iTunes library. ITLibDistinguishedPlaylistKindMusic ITLibDistinguishedPlaylistKind = 3 // The playlist contains all the audiobooks in the iTunes library. ITLibDistinguishedPlaylistKindAudiobooks ITLibDistinguishedPlaylistKind = 4 // The playlist contains all the audiobooks in the iTunes library. ITLibDistinguishedPlaylistKindBooks ITLibDistinguishedPlaylistKind = 4 // The playlist contains all the iOS ringtones in the iTunes library. ITLibDistinguishedPlaylistKindRingtones ITLibDistinguishedPlaylistKind = 5 // The playlist contains all the podcasts in the iTunes library. ITLibDistinguishedPlaylistKindPodcasts ITLibDistinguishedPlaylistKind = 7 // The playlist contains all the voice memos in the iTunes library. ITLibDistinguishedPlaylistKindVoiceMemos ITLibDistinguishedPlaylistKind = 14 // The playlist contains all the user’s purchases from the iTunes Store. ITLibDistinguishedPlaylistKindPurchases ITLibDistinguishedPlaylistKind = 16 // The playlist contains all the user’s iTunes U items. ITLibDistinguishedPlaylistKindiTunesU ITLibDistinguishedPlaylistKind = 26 // The default Smart Playlist that iTunes creates of the user’s music from the 1990s. ITLibDistinguishedPlaylistKind90sMusic ITLibDistinguishedPlaylistKind = 42 // The default Smart Playlist that iTunes creates of the user’s top rated media items. ITLibDistinguishedPlaylistKindMyTopRated ITLibDistinguishedPlaylistKind = 43 // The default Smart Playlist that iTunes creates of the user’s 25 most played media items. ITLibDistinguishedPlaylistKindTop25MostPlayed ITLibDistinguishedPlaylistKind = 44 // The default Smart Playlist that iTunes creates of the user’s most recently played media items. ITLibDistinguishedPlaylistKindRecentlyPlayed ITLibDistinguishedPlaylistKind = 45 // The default Smart Playlist that iTunes creates of the user’s most recently added media items. ITLibDistinguishedPlaylistKindRecentlyAdded ITLibDistinguishedPlaylistKind = 46 // The default Smart Playlist that iTunes creates of the user’s music videos. ITLibDistinguishedPlaylistKindMusicVideos ITLibDistinguishedPlaylistKind = 47 // The default Smart Playlist that iTunes creates of the user’s classical music. ITLibDistinguishedPlaylistKindClassicalMusic ITLibDistinguishedPlaylistKind = 48 // The playlist contains all the music videos in the iTunes library. ITLibDistinguishedPlaylistKindLibraryMusicVideos ITLibDistinguishedPlaylistKind = 49 // The playlist contains all the user’s home videos in the iTunes library. ITLibDistinguishedPlaylistKindHomeVideos ITLibDistinguishedPlaylistKind = 50 // The playlist contains all the user’s iOS apps in the iTunes library. ITLibDistinguishedPlaylistKindApplications ITLibDistinguishedPlaylistKind = 51 // The playlist contains all the user’s loved music. ITLibDistinguishedPlaylistKindLovedSongs ITLibDistinguishedPlaylistKind = 52 // The default Smart Playlist that iTunes creates of the user’s music shows and movies. ITLibDistinguishedPlaylistKindMusicShowsAndMovies ITLibDistinguishedPlaylistKind = 53 )
func (ITLibDistinguishedPlaylistKind) String ¶
func (e ITLibDistinguishedPlaylistKind) String() string
type ITLibExportFeature ¶
type ITLibExportFeature uint64
These constants describe the features that an iTunes library supports.
const ( // The iTunes library doesn’t support any export features. ITLibExportFeatureNone ITLibExportFeature = 0 )
func (ITLibExportFeature) String ¶
func (e ITLibExportFeature) String() string
type ITLibInitOptions ¶
type ITLibInitOptions uint64
These constants describe initialization options for an iTunes library.
const ( // No initialization options apply. ITLibInitOptionNone ITLibInitOptions = 0 // iTunes library data loads upon request, rather than during initialization. ITLibInitOptionLazyLoadData ITLibInitOptions = 1 )
func (ITLibInitOptions) String ¶
func (e ITLibInitOptions) String() string
type ITLibMediaEntity ¶
type ITLibMediaEntity struct {
foundation.NSObject
}
This class describes a media entity, which can be a media item, such as an audio track.
Apple documentation: https://developer.apple.com/documentation/ituneslibrary/itlibmediaentity
func ITLibMediaEntityFromID ¶
func ITLibMediaEntityFromID(id objc.ID) *ITLibMediaEntity
func (*ITLibMediaEntity) EnumerateValuesExceptForPropertiesUsing ¶
func (o *ITLibMediaEntity) EnumerateValuesExceptForPropertiesUsing(properties *foundation.NSSet[*foundation.NSString], block func(*foundation.NSString, objc.ID, *bool))
Executes a provided block with the fetched values for all properties in the entity except for the provided set.
func (*ITLibMediaEntity) EnumerateValuesForPropertiesUsing ¶
func (o *ITLibMediaEntity) EnumerateValuesForPropertiesUsing(properties *foundation.NSSet[*foundation.NSString], block func(*foundation.NSString, objc.ID, *bool))
Executes a provided block with the fetched values for the item properties.
func (*ITLibMediaEntity) PersistentID ¶
func (o *ITLibMediaEntity) PersistentID() *foundation.NSNumber
@abstract The unique identifier of this media entity.
func (*ITLibMediaEntity) ValueForProperty ¶
func (o *ITLibMediaEntity) ValueForProperty(property *foundation.NSString) objc.ID
Gets the value for a specified media property key.
type ITLibMediaItem ¶
type ITLibMediaItem struct {
ITLibMediaEntity
}
This class describes a media item (a track) in the iTunes library, such as a song, a video, or a podcast.
Apple documentation: https://developer.apple.com/documentation/ituneslibrary/itlibmediaitem
func ITLibMediaItemFromID ¶
func ITLibMediaItemFromID(id objc.ID) *ITLibMediaItem
func (*ITLibMediaItem) AddedDate ¶
func (o *ITLibMediaItem) AddedDate() *foundation.NSDate
@abstract The date and media item this media item was added to the iTunes database.
func (*ITLibMediaItem) Album ¶
func (o *ITLibMediaItem) Album() *ITLibAlbum
@abstract The album where this media item belongs.
func (*ITLibMediaItem) Artist ¶
func (o *ITLibMediaItem) Artist() *ITLibArtist
@abstract The artist associated with this media item.
func (*ITLibMediaItem) Artwork ¶
func (o *ITLibMediaItem) Artwork() *ITLibArtwork
@abstract Whether this media item has artwork.
func (*ITLibMediaItem) BeatsPerMinute ¶
func (o *ITLibMediaItem) BeatsPerMinute() uint
@abstract The BPM (beats per minute) of this media item.
func (*ITLibMediaItem) Bitrate ¶
func (o *ITLibMediaItem) Bitrate() uint
@abstract The bitrate of this media item in kbps.
func (*ITLibMediaItem) Category ¶
func (o *ITLibMediaItem) Category() *foundation.NSString
@abstract The podcast category of this media item (implies this media item is a podcast).
func (*ITLibMediaItem) Comments ¶
func (o *ITLibMediaItem) Comments() *foundation.NSString
@abstract Any comments associated with this media item.
func (*ITLibMediaItem) Composer ¶
func (o *ITLibMediaItem) Composer() *foundation.NSString
@abstract The name of the composer associated with this media item. May be empty.
func (*ITLibMediaItem) ContentRating ¶
func (o *ITLibMediaItem) ContentRating() *foundation.NSString
@abstract The extended content rating of this media item.
func (*ITLibMediaItem) FileSize ¶
func (o *ITLibMediaItem) FileSize() uint64
@abstract The size in bytes of this media item on disk.
func (*ITLibMediaItem) FileType ¶
func (o *ITLibMediaItem) FileType() uint
@abstract The type of the file this media item refers to.
func (*ITLibMediaItem) Genre ¶
func (o *ITLibMediaItem) Genre() *foundation.NSString
@abstract The genre associated with this media item. May be empty.
func (*ITLibMediaItem) Grouping ¶
func (o *ITLibMediaItem) Grouping() *foundation.NSString
@abstract The grouping of this media item.
func (*ITLibMediaItem) HasArtworkAvailable ¶
func (o *ITLibMediaItem) HasArtworkAvailable() bool
@abstract Whether this media item has artwork.
func (*ITLibMediaItem) IsCloud ¶
func (o *ITLibMediaItem) IsCloud() bool
@abstract Whether this media item is iTunes Match or iTunes in the Cloud.
func (*ITLibMediaItem) IsDRMProtected ¶
func (o *ITLibMediaItem) IsDRMProtected() bool
@abstract Whether this media item is DRM protected.
func (*ITLibMediaItem) IsPurchased ¶
func (o *ITLibMediaItem) IsPurchased() bool
@abstract Whether this media item was purchased.
func (*ITLibMediaItem) IsRatingComputed ¶
func (o *ITLibMediaItem) IsRatingComputed() bool
@abstract Whether this media item's rating is computed.
func (*ITLibMediaItem) IsUserDisabled ¶
func (o *ITLibMediaItem) IsUserDisabled() bool
@abstract Whether the user has disabled this media item.
func (*ITLibMediaItem) IsVideo ¶
func (o *ITLibMediaItem) IsVideo() bool
@abstract Whether this media item is a video media item (video podcast, movie, etc).
func (*ITLibMediaItem) Kind ¶
func (o *ITLibMediaItem) Kind() *foundation.NSString
@abstract This media item's file kind (ex. MPEG audio file).
func (*ITLibMediaItem) LastPlayedDate ¶
func (o *ITLibMediaItem) LastPlayedDate() *foundation.NSDate
@abstract The date and time this media item was last played in iTunes, or nil if this media item has not been played.
func (*ITLibMediaItem) Location ¶
func (o *ITLibMediaItem) Location() *foundation.NSURL
@abstract The location of this media item on disk.
func (*ITLibMediaItem) LocationType ¶
func (o *ITLibMediaItem) LocationType() ITLibMediaItemLocationType
@abstract The type of this media item with respect to its location.
func (*ITLibMediaItem) LyricsContentRating ¶
func (o *ITLibMediaItem) LyricsContentRating() ITLibMediaItemLyricsContentRating
@abstract The content rating of this media item's lyrics.
func (*ITLibMediaItem) MediaKind ¶
func (o *ITLibMediaItem) MediaKind() ITLibMediaItemMediaKind
@abstract This media item's media kind.
func (*ITLibMediaItem) ModifiedDate ¶
func (o *ITLibMediaItem) ModifiedDate() *foundation.NSDate
@abstract The date and time this media item was last modified.
func (*ITLibMediaItem) PlayCount ¶
func (o *ITLibMediaItem) PlayCount() uint
@abstract The number of times this media item has been played in iTunes.
func (*ITLibMediaItem) PlayStatus ¶
func (o *ITLibMediaItem) PlayStatus() ITLibMediaItemPlayStatus
@abstract The play status for this media. Represents partially played and unplayed states for videos and podcasts. Other media kinds always return "none".
func (*ITLibMediaItem) Rating ¶
func (o *ITLibMediaItem) Rating() int
@abstract The rating of this media item.
func (*ITLibMediaItem) ReleaseDate ¶
func (o *ITLibMediaItem) ReleaseDate() *foundation.NSDate
@abstract The date this media item was released.
func (*ITLibMediaItem) SampleRate ¶
func (o *ITLibMediaItem) SampleRate() uint
@abstract The sample rate of this media item in samples per second.
func (*ITLibMediaItem) Size ¶
func (o *ITLibMediaItem) Size() uint
@abstract The size in bytes of this media item on disk. (deprecated: use fileSize instead)
func (*ITLibMediaItem) SkipCount ¶
func (o *ITLibMediaItem) SkipCount() uint
@abstract The number of times this media item has been skiped.
func (*ITLibMediaItem) SkipDate ¶
func (o *ITLibMediaItem) SkipDate() *foundation.NSDate
@abstract The date and time when this media item was last skipped.
func (*ITLibMediaItem) SortComposer ¶
func (o *ITLibMediaItem) SortComposer() *foundation.NSString
@abstract The name of the composer associated with this media item that should be used for sorting purposes. If nil, use the composer field.
func (*ITLibMediaItem) SortTitle ¶
func (o *ITLibMediaItem) SortTitle() *foundation.NSString
@abstract The title of this media item that should be used for sorting purposes. If nil, use the title field.
func (*ITLibMediaItem) StartTime ¶
func (o *ITLibMediaItem) StartTime() uint
@abstract If non-zero, the actual time playback for this media item will start instead of 0:00 (in milliseconds).
func (*ITLibMediaItem) StopTime ¶
func (o *ITLibMediaItem) StopTime() uint
@abstract If non-zero, the actual time playback for this media item will stop vs. the total time (in milliseconds).
func (*ITLibMediaItem) Title ¶
func (o *ITLibMediaItem) Title() *foundation.NSString
@abstract The title of this media item. May be empty.
func (*ITLibMediaItem) TotalTime ¶
func (o *ITLibMediaItem) TotalTime() uint
@abstract The length of this media item in milliseconds.
func (*ITLibMediaItem) TrackNumber ¶
func (o *ITLibMediaItem) TrackNumber() uint
@abstract The position of this media item within its album.
func (*ITLibMediaItem) VideoInfo ¶
func (o *ITLibMediaItem) VideoInfo() *ITLibMediaItemVideoInfo
@abstract The video information of this media item (implies this media item is a video media item).
func (*ITLibMediaItem) VoiceOverLanguage ¶
func (o *ITLibMediaItem) VoiceOverLanguage() unsafe.Pointer
@abstract The voice-over language of this media item
func (*ITLibMediaItem) VolumeAdjustment ¶
func (o *ITLibMediaItem) VolumeAdjustment() int
@abstract The volume adjustment used for this media item if any.
func (*ITLibMediaItem) VolumeNormalizationEnergy ¶
func (o *ITLibMediaItem) VolumeNormalizationEnergy() uint
@abstract The volume normalization energy applied to this media item.
func (*ITLibMediaItem) Year ¶
func (o *ITLibMediaItem) Year() uint
@abstract The year when this media item was released.
type ITLibMediaItemLocationType ¶
type ITLibMediaItemLocationType uint64
These constants specify the location type of a media item.
const ( // The media item location type is unknown. ITLibMediaItemLocationTypeUnknown ITLibMediaItemLocationType = 0 // The media item location refers to a local file. ITLibMediaItemLocationTypeFile ITLibMediaItemLocationType = 1 // The media item location refers to a URL, such as a podcast. ITLibMediaItemLocationTypeURL ITLibMediaItemLocationType = 2 // The media item location refers to a remote file. ITLibMediaItemLocationTypeRemote ITLibMediaItemLocationType = 3 )
func (ITLibMediaItemLocationType) String ¶
func (e ITLibMediaItemLocationType) String() string
type ITLibMediaItemLyricsContentRating ¶
type ITLibMediaItemLyricsContentRating uint64
These constants specify the possible ratings of media item lyrics.
const ( // There is no rating information for the media item lyrics. ITLibMediaItemLyricsContentRatingNone ITLibMediaItemLyricsContentRating = 0 // The media item lyrics contain explicit language. ITLibMediaItemLyricsContentRatingExplicit ITLibMediaItemLyricsContentRating = 1 // The media item lyrics don’t contain explicit language. ITLibMediaItemLyricsContentRatingClean ITLibMediaItemLyricsContentRating = 2 )
func (ITLibMediaItemLyricsContentRating) String ¶
func (e ITLibMediaItemLyricsContentRating) String() string
type ITLibMediaItemMediaKind ¶
type ITLibMediaItemMediaKind uint64
These constants specify the possible media kinds of a media item.
const ( // The media item kind is unknown. ITLibMediaItemMediaKindUnknown ITLibMediaItemMediaKind = 1 // The media item is a song. ITLibMediaItemMediaKindSong ITLibMediaItemMediaKind = 2 // The media item is a movie. ITLibMediaItemMediaKindMovie ITLibMediaItemMediaKind = 3 // The media item is an audio or a video podcast. ITLibMediaItemMediaKindPodcast ITLibMediaItemMediaKind = 4 // The media item is an audiobook. ITLibMediaItemMediaKindAudiobook ITLibMediaItemMediaKind = 5 // The media item is an unwrapped PDF file that’s part of a music album. ITLibMediaItemMediaKindPDFBooklet ITLibMediaItemMediaKind = 6 // The media item is a music video. ITLibMediaItemMediaKindMusicVideo ITLibMediaItemMediaKind = 7 // The media item is a TV show. ITLibMediaItemMediaKindTVShow ITLibMediaItemMediaKind = 8 // The media item is a QuickTime movie with embedded Flash. ITLibMediaItemMediaKindInteractiveBooklet ITLibMediaItemMediaKind = 9 // The media item is a non-iTunes Store movie. ITLibMediaItemMediaKindHomeVideo ITLibMediaItemMediaKind = 12 // The media item is an iOS ringtone. ITLibMediaItemMediaKindRingtone ITLibMediaItemMediaKind = 14 // The media item is an iTunes Extra or an iTunes LP item. ITLibMediaItemMediaKindDigitalBooklet ITLibMediaItemMediaKind = 15 // The media item is an iOS app. ITLibMediaItemMediaKindIOSApplication ITLibMediaItemMediaKind = 16 // The media item is a recorded voice memo. ITLibMediaItemMediaKindVoiceMemo ITLibMediaItemMediaKind = 17 // The media item is an iTunes U audio or video file. ITLibMediaItemMediaKindiTunesU ITLibMediaItemMediaKind = 18 // The media item is an EPUB file or an iBooks Author book. ITLibMediaItemMediaKindBook ITLibMediaItemMediaKind = 19 // The media item is a PDF file that iTunes treats as a book unless the user overrides it. ITLibMediaItemMediaKindPDFBook ITLibMediaItemMediaKind = 20 // The media item is an audio tone that’s not a protected ringtone on an iOS device. ITLibMediaItemMediaKindAlertTone ITLibMediaItemMediaKind = 21 )
func (ITLibMediaItemMediaKind) String ¶
func (e ITLibMediaItemMediaKind) String() string
type ITLibMediaItemPlayStatus ¶
type ITLibMediaItemPlayStatus uint64
These constants specify the play status of the media item.
const ( // The user has played the media item or iTunes doesn’t track the play status for this kind of media item. ITLibMediaItemPlayStatusNone ITLibMediaItemPlayStatus = 0 // The user has partially played the media item. ITLibMediaItemPlayStatusPartiallyPlayed ITLibMediaItemPlayStatus = 1 // The user hasn’t played the media item. ITLibMediaItemPlayStatusUnplayed ITLibMediaItemPlayStatus = 2 )
func (ITLibMediaItemPlayStatus) String ¶
func (e ITLibMediaItemPlayStatus) String() string
type ITLibMediaItemVideoInfo ¶
type ITLibMediaItemVideoInfo struct {
foundation.NSObject
}
This class encapsulates the video information of a video media item.
Apple documentation: https://developer.apple.com/documentation/ituneslibrary/itlibmediaitemvideoinfo
func ITLibMediaItemVideoInfoFromID ¶
func ITLibMediaItemVideoInfoFromID(id objc.ID) *ITLibMediaItemVideoInfo
func (*ITLibMediaItemVideoInfo) Episode ¶
func (o *ITLibMediaItemVideoInfo) Episode() *foundation.NSString
@abstract The TV episode the video is associated with (implies the track is a TV show).
func (*ITLibMediaItemVideoInfo) EpisodeOrder ¶
func (o *ITLibMediaItemVideoInfo) EpisodeOrder() int
@abstract The TV episode order the video is associated with (implies the track is a TV show).
func (*ITLibMediaItemVideoInfo) IsHD ¶
func (o *ITLibMediaItemVideoInfo) IsHD() bool
@abstract Whether the video is high definition.
func (*ITLibMediaItemVideoInfo) Season ¶
func (o *ITLibMediaItemVideoInfo) Season() uint
@abstract The name of TV season the video is associated with (implies the track is a TV show).
func (*ITLibMediaItemVideoInfo) Series ¶
func (o *ITLibMediaItemVideoInfo) Series() *foundation.NSString
@abstract The name of TV series the video is associated with (implies track is a TV show).
func (*ITLibMediaItemVideoInfo) SortSeries ¶
func (o *ITLibMediaItemVideoInfo) SortSeries() *foundation.NSString
@abstract The name of the TV series the video is associated with that should be used for when sorting (implies the track is a TV show).
func (*ITLibMediaItemVideoInfo) VideoHeight ¶
func (o *ITLibMediaItemVideoInfo) VideoHeight() uint
@abstract The height of the video.
func (*ITLibMediaItemVideoInfo) VideoWidth ¶
func (o *ITLibMediaItemVideoInfo) VideoWidth() uint
@abstract The width of the video.
type ITLibPlaylist ¶
type ITLibPlaylist struct {
ITLibMediaEntity
}
This class describes a playlist in the iTunes library.
Apple documentation: https://developer.apple.com/documentation/ituneslibrary/itlibplaylist
func ITLibPlaylistFromID ¶
func ITLibPlaylistFromID(id objc.ID) *ITLibPlaylist
func (*ITLibPlaylist) DistinguishedKind ¶
func (o *ITLibPlaylist) DistinguishedKind() ITLibDistinguishedPlaylistKind
@abstract The distinguished kind of this playlist.
func (*ITLibPlaylist) IsAllItemsPlaylist ¶
func (o *ITLibPlaylist) IsAllItemsPlaylist() bool
@abstract Whether or not every item in this playlist is exposed via this API. Generally true but not that useful.
func (*ITLibPlaylist) IsMaster ¶
func (o *ITLibPlaylist) IsMaster() bool
@abstract Whether this playlist is the primary playlist. Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*ITLibPlaylist) IsPrimary ¶
func (o *ITLibPlaylist) IsPrimary() bool
@abstract Whether this playlist is the primary playlist.
func (*ITLibPlaylist) IsVisible ¶
func (o *ITLibPlaylist) IsVisible() bool
@abstract Whether this playlist is visible.
func (*ITLibPlaylist) Items ¶
func (o *ITLibPlaylist) Items() *foundation.NSArray[*ITLibMediaItem]
@abstract The media items contained within this playlist.
func (*ITLibPlaylist) Kind ¶
func (o *ITLibPlaylist) Kind() ITLibPlaylistKind
@abstract The kind of this playlist.
func (*ITLibPlaylist) Name ¶
func (o *ITLibPlaylist) Name() *foundation.NSString
@abstract The name or title of this playlist.
func (*ITLibPlaylist) ParentID ¶
func (o *ITLibPlaylist) ParentID() *foundation.NSNumber
@abstract The unique identifier of this playlist' parent.
type ITLibPlaylistKind ¶
type ITLibPlaylistKind uint64
These constants specify the possible kinds of playlists.
const ( // A standard playlist that the user or iTunes creates, such as Music, Movies, Pop Mix, or My Awesome Playlist. ITLibPlaylistKindRegular ITLibPlaylistKind = 0 // A playlist with contents that iTunes generates by evaluating a set of rules, such as 90s Music or Songs from 1999. ITLibPlaylistKindSmart ITLibPlaylistKind = 1 // A playlist iTunes creates of songs that go well with a song the user specifies. ITLibPlaylistKindGenius ITLibPlaylistKind = 2 // A playlist folder that the user or iTunes creates, such as My Playlist Folder or Genius Mixes. ITLibPlaylistKindFolder ITLibPlaylistKind = 3 // An ongoing playlist in a particular genre—like a commercial-free radio station playing the user’s favorite songs—that iTunes creates from music in the user’s iTunes library. ITLibPlaylistKindGeniusMix ITLibPlaylistKind = 4 )
func (ITLibPlaylistKind) String ¶
func (e ITLibPlaylistKind) String() string
type ITLibrary ¶
type ITLibrary struct {
foundation.NSObject
}
This class serves as the entry point to the iTunesLibrary framework.
Apple documentation: https://developer.apple.com/documentation/ituneslibrary/itlibrary
func ITLibraryFromID ¶
func ITLibraryLibraryWithAPIVersionError ¶
func ITLibraryLibraryWithAPIVersionError(requestedAPIVersion *foundation.NSString) (*ITLibrary, error)
Creates and initializes an instance of ITLibrary that can retrieve media entities.
func ITLibraryLibraryWithAPIVersionOptionsError ¶
func ITLibraryLibraryWithAPIVersionOptionsError(requestedAPIVersion *foundation.NSString, options ITLibInitOptions) (*ITLibrary, error)
Creates and initializes an instance of ITLibrary that can retrieve media entities.
func (*ITLibrary) AllMediaItems ¶
func (o *ITLibrary) AllMediaItems() *foundation.NSArray[*ITLibMediaItem]
@abstract All media items in the library.
func (*ITLibrary) AllPlaylists ¶
func (o *ITLibrary) AllPlaylists() *foundation.NSArray[*ITLibPlaylist]
@abstract All playlists in the library.
func (*ITLibrary) ApiMajorVersion ¶
@abstract The major version number of this API.
func (*ITLibrary) ApiMinorVersion ¶
@abstract The minor version number of this API.
func (*ITLibrary) ApplicationVersion ¶
func (o *ITLibrary) ApplicationVersion() *foundation.NSString
@abstract The version of iTunes being accessed.
func (*ITLibrary) ArtworkForMediaFile ¶
func (o *ITLibrary) ArtworkForMediaFile(mediaFileURL *foundation.NSURL) *ITLibArtwork
Retrieves the artwork from a media file that may or may not be in the iTunes library.
func (*ITLibrary) Features ¶
func (o *ITLibrary) Features() ITLibExportFeature
@abstract A bitwise OR combination of the features of this library.
func (*ITLibrary) InitWithAPIVersionError ¶
func (o *ITLibrary) InitWithAPIVersionError(requestedAPIVersion *foundation.NSString) (*ITLibrary, error)
Initializes an instance of ITLibrary that can retrieve media entities.
func (*ITLibrary) InitWithAPIVersionOptionsError ¶
func (o *ITLibrary) InitWithAPIVersionOptionsError(requestedAPIVersion *foundation.NSString, options ITLibInitOptions) (*ITLibrary, error)
Initializes an instance of ITLibrary that can retrieve media entities.
func (*ITLibrary) MediaFolderLocation ¶
@abstract The location of the iTunes music folder.
func (*ITLibrary) MusicFolderLocation ¶
func (o *ITLibrary) MusicFolderLocation() *foundation.NSURL
@abstract The location of the iTunes music folder. Replaced by mediaFolderLocation.
func (*ITLibrary) ReloadData ¶
Refreshes the data that the framework uses.
func (*ITLibrary) ShouldShowContentRating ¶
@abstract Whether to show content rating labels.
func (*ITLibrary) UnloadData ¶
func (o *ITLibrary) UnloadData()
Unloads the data that the framework uses.
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 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 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 ¶
func (e Virtual_memory_guard_exception_code_t) String() 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 ¶
func (e Xpc_listener_create_flags_t) String() 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 ¶
func (e Xpc_session_create_flags_t) String() string