Documentation
¶
Overview ¶
Package discrecording provides purego-based Go bindings for the macOS DiscRecording framework.
Apple documentation: https://developer.apple.com/documentation/discrecording
Index ¶
- Constants
- func DRAbstractFile() uintptr
- func DRAccessDate() uintptr
- func DRAllFilesystems() uintptr
- func DRApplicationIdentifier() uintptr
- func DRAttributeModificationDate() uintptr
- func DRAudioFourChannelKey() uintptr
- func DRAudioPreEmphasisKey() uintptr
- func DRAudioTrackCreate(audioFile *carboncore.FSRef) unsafe.Pointer
- func DRAudioTrackCreateWithURL(audioFileURL unsafe.Pointer) unsafe.Pointer
- func DRBackupDate() uintptr
- func DRBibliographicFile() uintptr
- func DRBlockSize() uintptr
- func DRBlockSizeKey() uintptr
- func DRBlockTypeKey() uintptr
- func DRBurnAbort(burn unsafe.Pointer)
- func DRBurnAppendableKey() uintptr
- func DRBurnCompletionActionEject() uintptr
- func DRBurnCompletionActionKey() uintptr
- func DRBurnCompletionActionMount() uintptr
- func DRBurnCopyStatus(burn unsafe.Pointer) unsafe.Pointer
- func DRBurnCreate(device unsafe.Pointer) unsafe.Pointer
- func DRBurnDoubleLayerL0DataZoneBlocksKey() uintptr
- func DRBurnFailureActionEject() uintptr
- func DRBurnFailureActionKey() uintptr
- func DRBurnFailureActionNone() uintptr
- func DRBurnGetDevice(burn unsafe.Pointer) unsafe.Pointer
- func DRBurnGetProperties(burn unsafe.Pointer) unsafe.Pointer
- func DRBurnGetTypeID() uint
- func DRBurnLayoutForImageFile(path *foundation.NSString) objc.ID
- func DRBurnOverwriteDiscKey() uintptr
- func DRBurnRequestedSpeedKey() uintptr
- func DRBurnSetProperties(burn unsafe.Pointer, properties unsafe.Pointer)
- func DRBurnStatusChangedNotification() uintptr
- func DRBurnStrategyBDDAO() uintptr
- func DRBurnStrategyCDSAO() uintptr
- func DRBurnStrategyCDTAO() uintptr
- func DRBurnStrategyDVDDAO() uintptr
- func DRBurnStrategyIsRequiredKey() uintptr
- func DRBurnStrategyKey() uintptr
- func DRBurnTestingKey() uintptr
- func DRBurnUnderrunProtectionKey() uintptr
- func DRBurnVerifyDiscKey() uintptr
- func DRBurnWriteLayout(burn unsafe.Pointer, layout unsafe.Pointer) int
- func DRCDTextArrangerKey() uintptr
- func DRCDTextBlockArrayOfCDTextBlocksFromPacks(packs *foundation.NSData) *foundation.NSArray[objc.ID]
- func DRCDTextBlockCreate(language unsafe.Pointer, encoding uint) unsafe.Pointer
- func DRCDTextBlockCreateArrayFromPackList(packs unsafe.Pointer) unsafe.Pointer
- func DRCDTextBlockFlatten(block unsafe.Pointer) uint
- func DRCDTextBlockGetProperties(block unsafe.Pointer) unsafe.Pointer
- func DRCDTextBlockGetTrackDictionaries(block unsafe.Pointer) unsafe.Pointer
- func DRCDTextBlockGetTypeID() uint
- func DRCDTextBlockGetValue(block unsafe.Pointer, trackIndex int, key unsafe.Pointer) unsafe.Pointer
- func DRCDTextBlockSetProperties(block unsafe.Pointer, properties unsafe.Pointer)
- func DRCDTextBlockSetTrackDictionaries(block unsafe.Pointer, array unsafe.Pointer)
- func DRCDTextBlockSetValue(block unsafe.Pointer, trackIndex int, key unsafe.Pointer, value unsafe.Pointer)
- func DRCDTextCharacterCodeKey() uintptr
- func DRCDTextClosedKey() uintptr
- func DRCDTextComposerKey() uintptr
- func DRCDTextCopyrightAssertedForNamesKey() uintptr
- func DRCDTextCopyrightAssertedForSpecialMessagesKey() uintptr
- func DRCDTextCopyrightAssertedForTitlesKey() uintptr
- func DRCDTextDiscIdentKey() uintptr
- func DRCDTextGenreCodeKey() uintptr
- func DRCDTextGenreKey() uintptr
- func DRCDTextKey() uintptr
- func DRCDTextLanguageKey() uintptr
- func DRCDTextMCNISRCKey() uintptr
- func DRCDTextNSStringEncodingKey() uintptr
- func DRCDTextPerformerKey() uintptr
- func DRCDTextSizeKey() uintptr
- func DRCDTextSongwriterKey() uintptr
- func DRCDTextSpecialMessageKey() uintptr
- func DRCDTextTOC2Key() uintptr
- func DRCDTextTOCKey() uintptr
- func DRCDTextTitleKey() uintptr
- func DRContentModificationDate() uintptr
- func DRCopyDeviceArray() unsafe.Pointer
- func DRCopyLocalizedStringForAdditionalSense(aSC uint8, aSCQ uint8) unsafe.Pointer
- func DRCopyLocalizedStringForDiscRecordingError(osError int) unsafe.Pointer
- func DRCopyLocalizedStringForSenseCode(senseCode uint8) unsafe.Pointer
- func DRCopyLocalizedStringForValue(value unsafe.Pointer) unsafe.Pointer
- func DRCopyrightFile() uintptr
- func DRCreationDate() uintptr
- func DRDVDCopyrightInfoKey() uintptr
- func DRDVDTimestampKey() uintptr
- func DRDataFormKey() uintptr
- func DRDataPreparer() uintptr
- func DRDefaultDate() uintptr
- func DRDeviceAcquireExclusiveAccess(device unsafe.Pointer) int
- func DRDeviceAcquireMediaReservation(device unsafe.Pointer)
- func DRDeviceAppearedNotification() uintptr
- func DRDeviceBurnSpeedBD1x() uintptr
- func DRDeviceBurnSpeedCD1x() uintptr
- func DRDeviceBurnSpeedDVD1x() uintptr
- func DRDeviceBurnSpeedHDDVD1x() uintptr
- func DRDeviceBurnSpeedMax() uintptr
- func DRDeviceBurnSpeedsKey() uintptr
- func DRDeviceCanTestWriteCDKey() uintptr
- func DRDeviceCanTestWriteDVDKey() uintptr
- func DRDeviceCanUnderrunProtectCDKey() uintptr
- func DRDeviceCanUnderrunProtectDVDKey() uintptr
- func DRDeviceCanWriteBDKey() uintptr
- func DRDeviceCanWriteBDREKey() uintptr
- func DRDeviceCanWriteBDRKey() uintptr
- func DRDeviceCanWriteCDKey() uintptr
- func DRDeviceCanWriteCDRKey() uintptr
- func DRDeviceCanWriteCDRWKey() uintptr
- func DRDeviceCanWriteCDRawKey() uintptr
- func DRDeviceCanWriteCDSAOKey() uintptr
- func DRDeviceCanWriteCDTAOKey() uintptr
- func DRDeviceCanWriteCDTextKey() uintptr
- func DRDeviceCanWriteDVDDAOKey() uintptr
- func DRDeviceCanWriteDVDKey() uintptr
- func DRDeviceCanWriteDVDPlusRDoubleLayerKey() uintptr
- func DRDeviceCanWriteDVDPlusRKey() uintptr
- func DRDeviceCanWriteDVDPlusRWDoubleLayerKey() uintptr
- func DRDeviceCanWriteDVDPlusRWKey() uintptr
- func DRDeviceCanWriteDVDRAMKey() uintptr
- func DRDeviceCanWriteDVDRDualLayerKey() uintptr
- func DRDeviceCanWriteDVDRKey() uintptr
- func DRDeviceCanWriteDVDRWDualLayerKey() uintptr
- func DRDeviceCanWriteDVDRWKey() uintptr
- func DRDeviceCanWriteHDDVDKey() uintptr
- func DRDeviceCanWriteHDDVDRAMKey() uintptr
- func DRDeviceCanWriteHDDVDRDualLayerKey() uintptr
- func DRDeviceCanWriteHDDVDRKey() uintptr
- func DRDeviceCanWriteHDDVDRWDualLayerKey() uintptr
- func DRDeviceCanWriteHDDVDRWKey() uintptr
- func DRDeviceCanWriteISRCKey() uintptr
- func DRDeviceCanWriteIndexPointsKey() uintptr
- func DRDeviceCanWriteKey() uintptr
- func DRDeviceCloseTray(device unsafe.Pointer) int
- func DRDeviceCopyDeviceForBSDName(name unsafe.Pointer) unsafe.Pointer
- func DRDeviceCopyDeviceForIORegistryEntryPath(path unsafe.Pointer) unsafe.Pointer
- func DRDeviceCopyInfo(device unsafe.Pointer) unsafe.Pointer
- func DRDeviceCopyStatus(device unsafe.Pointer) unsafe.Pointer
- func DRDeviceCurrentWriteSpeedKey() uintptr
- func DRDeviceDevices() *foundation.NSArray[objc.ID]
- func DRDeviceDisappearedNotification() uintptr
- func DRDeviceEjectMedia(device unsafe.Pointer) int
- func DRDeviceFirmwareRevisionKey() uintptr
- func DRDeviceGetTypeID() uint
- func DRDeviceIORegistryEntryPathKey() uintptr
- func DRDeviceIsBusyKey() uintptr
- func DRDeviceIsTrayOpenKey() uintptr
- func DRDeviceIsValid(device unsafe.Pointer) uint8
- func DRDeviceKPSForXFactor(deviceOrMediaType unsafe.Pointer, xfactor float32) float32
- func DRDeviceLoadingMechanismCanEjectKey() uintptr
- func DRDeviceLoadingMechanismCanInjectKey() uintptr
- func DRDeviceLoadingMechanismCanOpenKey() uintptr
- func DRDeviceMaximumWriteSpeedKey() uintptr
- func DRDeviceMediaBSDNameKey() uintptr
- func DRDeviceMediaBlocksFreeKey() uintptr
- func DRDeviceMediaBlocksOverwritableKey() uintptr
- func DRDeviceMediaBlocksUsedKey() uintptr
- func DRDeviceMediaClassBD() uintptr
- func DRDeviceMediaClassCD() uintptr
- func DRDeviceMediaClassDVD() uintptr
- func DRDeviceMediaClassHDDVD() uintptr
- func DRDeviceMediaClassKey() uintptr
- func DRDeviceMediaClassUnknown() uintptr
- func DRDeviceMediaDoubleLayerL0DataZoneBlocksKey() uintptr
- func DRDeviceMediaFreeSpaceKey() uintptr
- func DRDeviceMediaInfoKey() uintptr
- func DRDeviceMediaIsAppendableKey() uintptr
- func DRDeviceMediaIsBlankKey() uintptr
- func DRDeviceMediaIsErasableKey() uintptr
- func DRDeviceMediaIsOverwritableKey() uintptr
- func DRDeviceMediaIsReservedKey() uintptr
- func DRDeviceMediaOverwritableSpaceKey() uintptr
- func DRDeviceMediaSessionCountKey() uintptr
- func DRDeviceMediaStateInTransition() uintptr
- func DRDeviceMediaStateKey() uintptr
- func DRDeviceMediaStateMediaPresent() uintptr
- func DRDeviceMediaStateNone() uintptr
- func DRDeviceMediaTrackCountKey() uintptr
- func DRDeviceMediaTypeBDR() uintptr
- func DRDeviceMediaTypeBDRE() uintptr
- func DRDeviceMediaTypeBDROM() uintptr
- func DRDeviceMediaTypeCDR() uintptr
- func DRDeviceMediaTypeCDROM() uintptr
- func DRDeviceMediaTypeCDRW() uintptr
- func DRDeviceMediaTypeDVDPlusR() uintptr
- func DRDeviceMediaTypeDVDPlusRDoubleLayer() uintptr
- func DRDeviceMediaTypeDVDPlusRW() uintptr
- func DRDeviceMediaTypeDVDPlusRWDoubleLayer() uintptr
- func DRDeviceMediaTypeDVDR() uintptr
- func DRDeviceMediaTypeDVDRAM() uintptr
- func DRDeviceMediaTypeDVDRDualLayer() uintptr
- func DRDeviceMediaTypeDVDROM() uintptr
- func DRDeviceMediaTypeDVDRW() uintptr
- func DRDeviceMediaTypeDVDRWDualLayer() uintptr
- func DRDeviceMediaTypeHDDVDR() uintptr
- func DRDeviceMediaTypeHDDVDRAM() uintptr
- func DRDeviceMediaTypeHDDVDRDualLayer() uintptr
- func DRDeviceMediaTypeHDDVDROM() uintptr
- func DRDeviceMediaTypeHDDVDRW() uintptr
- func DRDeviceMediaTypeHDDVDRWDualLayer() uintptr
- func DRDeviceMediaTypeKey() uintptr
- func DRDeviceMediaTypeUnknown() uintptr
- func DRDeviceMediaUsedSpaceKey() uintptr
- func DRDeviceOpenTray(device unsafe.Pointer) int
- func DRDevicePhysicalInterconnectATAPI() uintptr
- func DRDevicePhysicalInterconnectFibreChannel() uintptr
- func DRDevicePhysicalInterconnectFireWire() uintptr
- func DRDevicePhysicalInterconnectKey() uintptr
- func DRDevicePhysicalInterconnectLocationExternal() uintptr
- func DRDevicePhysicalInterconnectLocationInternal() uintptr
- func DRDevicePhysicalInterconnectLocationKey() uintptr
- func DRDevicePhysicalInterconnectLocationUnknown() uintptr
- func DRDevicePhysicalInterconnectSCSI() uintptr
- func DRDevicePhysicalInterconnectUSB() uintptr
- func DRDeviceProductNameKey() uintptr
- func DRDeviceReleaseExclusiveAccess(device unsafe.Pointer)
- func DRDeviceReleaseMediaReservation(device unsafe.Pointer)
- func DRDeviceStatusChangedNotification() uintptr
- func DRDeviceSupportLevelAppleShipping() uintptr
- func DRDeviceSupportLevelAppleSupported() uintptr
- func DRDeviceSupportLevelKey() uintptr
- func DRDeviceSupportLevelNone() uintptr
- func DRDeviceSupportLevelUnsupported() uintptr
- func DRDeviceSupportLevelVendorSupported() uintptr
- func DRDeviceTrackInfoKey() uintptr
- func DRDeviceTrackRefsKey() uintptr
- func DRDeviceVendorNameKey() uintptr
- func DRDeviceWriteBufferSizeKey() uintptr
- func DRDeviceWriteCapabilitiesKey() uintptr
- func DRDeviceXFactorForKPS(deviceOrMediaType unsafe.Pointer, kps float32) float32
- func DREffectiveDate() uintptr
- func DREraseCopyStatus(erase unsafe.Pointer) unsafe.Pointer
- func DREraseCreate(device unsafe.Pointer) unsafe.Pointer
- func DREraseGetDevice(erase unsafe.Pointer) unsafe.Pointer
- func DREraseGetProperties(erase unsafe.Pointer) unsafe.Pointer
- func DREraseGetTypeID() uint
- func DREraseSetProperties(erase unsafe.Pointer, properties unsafe.Pointer)
- func DREraseStart(erase unsafe.Pointer) int
- func DREraseStatusChangedNotification() uintptr
- func DREraseTypeComplete() uintptr
- func DREraseTypeKey() uintptr
- func DREraseTypeQuick() uintptr
- func DRErrorStatusAdditionalSenseStringKey() uintptr
- func DRErrorStatusErrorInfoStringKey() uintptr
- func DRErrorStatusErrorKey() uintptr
- func DRErrorStatusErrorStringKey() uintptr
- func DRErrorStatusKey() uintptr
- func DRErrorStatusSenseCodeStringKey() uintptr
- func DRErrorStatusSenseKey() uintptr
- func DRExpirationDate() uintptr
- func DRFSObjectCopyBaseName(object unsafe.Pointer) unsafe.Pointer
- func DRFSObjectCopyFilesystemProperties(object unsafe.Pointer, fsKey unsafe.Pointer, coalesce uint8) unsafe.Pointer
- func DRFSObjectCopyFilesystemProperty(object unsafe.Pointer, fsKey unsafe.Pointer, propertyKey unsafe.Pointer, ...) unsafe.Pointer
- func DRFSObjectCopyMangledName(object unsafe.Pointer, fsKey unsafe.Pointer) unsafe.Pointer
- func DRFSObjectCopyMangledNames(object unsafe.Pointer) unsafe.Pointer
- func DRFSObjectCopyRealURL(object unsafe.Pointer) unsafe.Pointer
- func DRFSObjectCopySpecificName(object unsafe.Pointer, fsKey unsafe.Pointer) unsafe.Pointer
- func DRFSObjectCopySpecificNames(object unsafe.Pointer) unsafe.Pointer
- func DRFSObjectGetFilesystemMask(object unsafe.Pointer, explicitMask *uint, effectiveMask *uint) uint
- func DRFSObjectGetParent(object unsafe.Pointer) unsafe.Pointer
- func DRFSObjectGetRealFSRef(object unsafe.Pointer, fsRef *carboncore.FSRef)
- func DRFSObjectIsVirtual(object unsafe.Pointer) uint8
- func DRFSObjectSetBaseName(object unsafe.Pointer, baseName unsafe.Pointer)
- func DRFSObjectSetFilesystemMask(object unsafe.Pointer, newMask uint)
- func DRFSObjectSetFilesystemProperties(object unsafe.Pointer, fsKey unsafe.Pointer, properties unsafe.Pointer)
- func DRFSObjectSetFilesystemProperty(object unsafe.Pointer, fsKey unsafe.Pointer, propertyKey unsafe.Pointer, ...)
- func DRFSObjectSetSpecificName(object unsafe.Pointer, fsKey unsafe.Pointer, specificName unsafe.Pointer)
- func DRFSObjectSetSpecificNames(object unsafe.Pointer, specificNames unsafe.Pointer)
- func DRFileCreateReal(fsRef *carboncore.FSRef) unsafe.Pointer
- func DRFileCreateRealWithURL(urlRef unsafe.Pointer) unsafe.Pointer
- func DRFileCreateVirtualLink(original unsafe.Pointer, linkType uint, fsKey unsafe.Pointer) unsafe.Pointer
- func DRFileCreateVirtualWithCallback(baseName unsafe.Pointer, fileProc unsafe.Pointer, ...) unsafe.Pointer
- func DRFileCreateVirtualWithData(baseName unsafe.Pointer, fileData unsafe.Pointer, fileDataLength uint) unsafe.Pointer
- func DRFileGetTypeID() uint
- func DRFilesystemTrackCreate(rootFolder unsafe.Pointer) unsafe.Pointer
- func DRFilesystemTrackEstimateOverhead(numBlocks uint64, blockSize uint, fsMask uint) uint64
- func DRFolderAddChild(parent unsafe.Pointer, newChild unsafe.Pointer)
- func DRFolderConvertRealToVirtual(realFolder unsafe.Pointer)
- func DRFolderCopyChildren(folder unsafe.Pointer) unsafe.Pointer
- func DRFolderCountChildren(folder unsafe.Pointer) uint
- func DRFolderCreateReal(fsRef *carboncore.FSRef) unsafe.Pointer
- func DRFolderCreateRealWithURL(urlRef unsafe.Pointer) unsafe.Pointer
- func DRFolderCreateVirtual(baseName unsafe.Pointer) unsafe.Pointer
- func DRFolderGetTypeID() uint
- func DRFolderRemoveChild(parent unsafe.Pointer, child unsafe.Pointer)
- func DRFreeBlocksKey() uintptr
- func DRGetRefCon(ref unsafe.Pointer) unsafe.Pointer
- func DRGetVersion() unsafe.Pointer
- func DRHFSPlus() uintptr
- func DRHFSPlusCatalogNodeID() uintptr
- func DRHFSPlusTextEncodingHint() uintptr
- func DRISO9660() uintptr
- func DRISO9660LevelOne() uintptr
- func DRISO9660LevelTwo() uintptr
- func DRISO9660VersionNumber() uintptr
- func DRISOLevel() uintptr
- func DRISOMacExtensions() uintptr
- func DRISORockRidgeExtensions() uintptr
- func DRIndexPointsKey() uintptr
- func DRInvisible() uintptr
- func DRJoliet() uintptr
- func DRLinkTypeFinderAlias() uintptr
- func DRLinkTypeHardLink() uintptr
- func DRLinkTypeSymbolicLink() uintptr
- func DRMacExtendedFinderFlags() uintptr
- func DRMacFileCreator() uintptr
- func DRMacFileType() uintptr
- func DRMacFinderFlags() uintptr
- func DRMacFinderHideExtension() uintptr
- func DRMacIconLocation() uintptr
- func DRMacScrollPosition() uintptr
- func DRMacWindowBounds() uintptr
- func DRMacWindowView() uintptr
- func DRMaxBurnSpeedKey() uintptr
- func DRMediaCatalogNumberKey() uintptr
- func DRNextWritableAddressKey() uintptr
- func DRNotificationCenterAddObserver(center unsafe.Pointer, observer unsafe.Pointer, callback unsafe.Pointer, ...)
- func DRNotificationCenterCreate() unsafe.Pointer
- func DRNotificationCenterCreateRunLoopSource(center unsafe.Pointer) unsafe.Pointer
- func DRNotificationCenterGetTypeID() uint
- func DRNotificationCenterRemoveObserver(center unsafe.Pointer, observer unsafe.Pointer, name unsafe.Pointer, ...)
- func DRPosixFileMode() uintptr
- func DRPosixGID() uintptr
- func DRPosixUID() uintptr
- func DRPreGapIsRequiredKey() uintptr
- func DRPreGapLengthKey() uintptr
- func DRPublisher() uintptr
- func DRRecordingDate() uintptr
- func DRSCMSCopyrightFree() uintptr
- func DRSCMSCopyrightProtectedCopy() uintptr
- func DRSCMSCopyrightProtectedOriginal() uintptr
- func DRSerialCopyManagementStateKey() uintptr
- func DRSessionFormatKey() uintptr
- func DRSessionNumberKey() uintptr
- func DRSetRefCon(ref unsafe.Pointer, refCon unsafe.Pointer, callbacks *DRRefConCallbacks)
- func DRStatusCurrentSessionKey() uintptr
- func DRStatusCurrentSpeedKey() uintptr
- func DRStatusCurrentTrackKey() uintptr
- func DRStatusEraseTypeKey() uintptr
- func DRStatusPercentCompleteKey() uintptr
- func DRStatusProgressCurrentKPS() uintptr
- func DRStatusProgressCurrentXFactor() uintptr
- func DRStatusProgressInfoKey() uintptr
- func DRStatusStateDone() uintptr
- func DRStatusStateErasing() uintptr
- func DRStatusStateFailed() uintptr
- func DRStatusStateFinishing() uintptr
- func DRStatusStateKey() uintptr
- func DRStatusStateNone() uintptr
- func DRStatusStatePreparing() uintptr
- func DRStatusStateSessionClose() uintptr
- func DRStatusStateSessionOpen() uintptr
- func DRStatusStateTrackClose() uintptr
- func DRStatusStateTrackOpen() uintptr
- func DRStatusStateTrackWrite() uintptr
- func DRStatusStateVerifying() uintptr
- func DRStatusTotalSessionsKey() uintptr
- func DRStatusTotalTracksKey() uintptr
- func DRSubchannelDataFormKey() uintptr
- func DRSubchannelDataFormNone() uintptr
- func DRSubchannelDataFormPack() uintptr
- func DRSubchannelDataFormRaw() uintptr
- func DRSuppressMacSpecificFiles() uintptr
- func DRSynchronousBehaviorKey() uintptr
- func DRSystemIdentifier() uintptr
- func DRTrackCreate(properties unsafe.Pointer, callback unsafe.Pointer) unsafe.Pointer
- func DRTrackEstimateLength(track unsafe.Pointer) uint64
- func DRTrackGetProperties(track unsafe.Pointer) unsafe.Pointer
- func DRTrackGetTypeID() uint
- func DRTrackISRCKey() uintptr
- func DRTrackIsEmptyKey() uintptr
- func DRTrackLengthKey() uintptr
- func DRTrackModeKey() uintptr
- func DRTrackNumberKey() uintptr
- func DRTrackPacketSizeKey() uintptr
- func DRTrackPacketTypeFixed() uintptr
- func DRTrackPacketTypeKey() uintptr
- func DRTrackPacketTypeVariable() uintptr
- func DRTrackSetProperties(track unsafe.Pointer, properties unsafe.Pointer)
- func DRTrackSpeedTest(track unsafe.Pointer, howManyMilliseconds uint, howManyBytes uint) float32
- func DRTrackStartAddressKey() uintptr
- func DRTrackTypeClosed() uintptr
- func DRTrackTypeIncomplete() uintptr
- func DRTrackTypeInvisible() uintptr
- func DRTrackTypeKey() uintptr
- func DRTrackTypeReserved() uintptr
- func DRUDF() uintptr
- func DRUDFApplicationIdentifierSuffix() uintptr
- func DRUDFExtendedFilePermissions() uintptr
- func DRUDFInterchangeLevel() uintptr
- func DRUDFMaxInterchangeLevel() uintptr
- func DRUDFMaxVolumeSequenceNumber() uintptr
- func DRUDFPrimaryVolumeDescriptorNumber() uintptr
- func DRUDFRealTimeFile() uintptr
- func DRUDFVersion102() uintptr
- func DRUDFVersion150() uintptr
- func DRUDFVolumeSequenceNumber() uintptr
- func DRUDFVolumeSetIdentifier() uintptr
- func DRUDFVolumeSetImplementationUse() uintptr
- func DRUDFVolumeSetTimestamp() uintptr
- func DRUDFWriteVersion() uintptr
- func DRVerificationTypeChecksum() uintptr
- func DRVerificationTypeKey() uintptr
- func DRVerificationTypeNone() uintptr
- func DRVerificationTypeProduceAgain() uintptr
- func DRVerificationTypeReceiveData() uintptr
- func DRVolumeCheckedDate() uintptr
- func DRVolumeCreationDate() uintptr
- func DRVolumeEffectiveDate() uintptr
- func DRVolumeExpirationDate() uintptr
- func DRVolumeModificationDate() uintptr
- func DRVolumeSet() uintptr
- func KDRAbstractFile() uintptr
- func KDRAccessDate() uintptr
- func KDRAllFilesystems() uintptr
- func KDRApplicationIdentifier() uintptr
- func KDRAttributeModificationDate() uintptr
- func KDRAudioFourChannelKey() uintptr
- func KDRAudioPreEmphasisKey() uintptr
- func KDRBackupDate() uintptr
- func KDRBibliographicFile() uintptr
- func KDRBlockSize() uintptr
- func KDRBlockSizeKey() uintptr
- func KDRBlockTypeKey() uintptr
- func KDRBufferZone1DataKey() uintptr
- func KDRBurnAppendableKey() uintptr
- func KDRBurnCompletionActionEject() uintptr
- func KDRBurnCompletionActionKey() uintptr
- func KDRBurnCompletionActionMount() uintptr
- func KDRBurnDoubleLayerL0DataZoneBlocksKey() uintptr
- func KDRBurnFailureActionEject() uintptr
- func KDRBurnFailureActionKey() uintptr
- func KDRBurnFailureActionNone() uintptr
- func KDRBurnKey() uintptr
- func KDRBurnOverwriteDiscKey() uintptr
- func KDRBurnRequestedSpeedKey() uintptr
- func KDRBurnStatusChangedNotification() uintptr
- func KDRBurnStrategyBDDAO() uintptr
- func KDRBurnStrategyCDSAO() uintptr
- func KDRBurnStrategyCDTAO() uintptr
- func KDRBurnStrategyDVDDAO() uintptr
- func KDRBurnStrategyIsRequiredKey() uintptr
- func KDRBurnStrategyKey() uintptr
- func KDRBurnTestingKey() uintptr
- func KDRBurnUnderrunProtectionKey() uintptr
- func KDRBurnVerifyDiscKey() uintptr
- func KDRCDTextArrangerKey() uintptr
- func KDRCDTextCFStringEncodingKey() uintptr
- func KDRCDTextCharacterCodeKey() uintptr
- func KDRCDTextClosedKey() uintptr
- func KDRCDTextComposerKey() uintptr
- func KDRCDTextCopyrightAssertedForNamesKey() uintptr
- func KDRCDTextCopyrightAssertedForSpecialMessagesKey() uintptr
- func KDRCDTextCopyrightAssertedForTitlesKey() uintptr
- func KDRCDTextDiscIdentKey() uintptr
- func KDRCDTextGenreCodeKey() uintptr
- func KDRCDTextGenreKey() uintptr
- func KDRCDTextKey() uintptr
- func KDRCDTextLanguageKey() uintptr
- func KDRCDTextMCNISRCKey() uintptr
- func KDRCDTextPerformerKey() uintptr
- func KDRCDTextSizeKey() uintptr
- func KDRCDTextSongwriterKey() uintptr
- func KDRCDTextSpecialMessageKey() uintptr
- func KDRCDTextTOC2Key() uintptr
- func KDRCDTextTOCKey() uintptr
- func KDRCDTextTitleKey() uintptr
- func KDRContentModificationDate() uintptr
- func KDRCopyrightFile() uintptr
- func KDRCreationDate() uintptr
- func KDRDVDCopyrightInfoKey() uintptr
- func KDRDVDTimestampKey() uintptr
- func KDRDataFormKey() uintptr
- func KDRDataPreparer() uintptr
- func KDRDefaultDate() uintptr
- func KDRDeviceAppearedNotification() uintptr
- func KDRDeviceBurnSpeedBD1x() uintptr
- func KDRDeviceBurnSpeedCD1x() uintptr
- func KDRDeviceBurnSpeedDVD1x() uintptr
- func KDRDeviceBurnSpeedHDDVD1x() uintptr
- func KDRDeviceBurnSpeedMax() uintptr
- func KDRDeviceBurnSpeedsKey() uintptr
- func KDRDeviceCanTestWriteCDKey() uintptr
- func KDRDeviceCanTestWriteDVDKey() uintptr
- func KDRDeviceCanUnderrunProtectCDKey() uintptr
- func KDRDeviceCanUnderrunProtectDVDKey() uintptr
- func KDRDeviceCanWriteBDKey() uintptr
- func KDRDeviceCanWriteBDREKey() uintptr
- func KDRDeviceCanWriteBDRKey() uintptr
- func KDRDeviceCanWriteCDKey() uintptr
- func KDRDeviceCanWriteCDRKey() uintptr
- func KDRDeviceCanWriteCDRWKey() uintptr
- func KDRDeviceCanWriteCDRawKey() uintptr
- func KDRDeviceCanWriteCDSAOKey() uintptr
- func KDRDeviceCanWriteCDTAOKey() uintptr
- func KDRDeviceCanWriteCDTextKey() uintptr
- func KDRDeviceCanWriteDVDDAOKey() uintptr
- func KDRDeviceCanWriteDVDKey() uintptr
- func KDRDeviceCanWriteDVDPlusRDoubleLayerKey() uintptr
- func KDRDeviceCanWriteDVDPlusRKey() uintptr
- func KDRDeviceCanWriteDVDPlusRWDoubleLayerKey() uintptr
- func KDRDeviceCanWriteDVDPlusRWKey() uintptr
- func KDRDeviceCanWriteDVDRAMKey() uintptr
- func KDRDeviceCanWriteDVDRDualLayerKey() uintptr
- func KDRDeviceCanWriteDVDRKey() uintptr
- func KDRDeviceCanWriteDVDRWDualLayerKey() uintptr
- func KDRDeviceCanWriteDVDRWKey() uintptr
- func KDRDeviceCanWriteHDDVDKey() uintptr
- func KDRDeviceCanWriteHDDVDRAMKey() uintptr
- func KDRDeviceCanWriteHDDVDRDualLayerKey() uintptr
- func KDRDeviceCanWriteHDDVDRKey() uintptr
- func KDRDeviceCanWriteHDDVDRWDualLayerKey() uintptr
- func KDRDeviceCanWriteHDDVDRWKey() uintptr
- func KDRDeviceCanWriteISRCKey() uintptr
- func KDRDeviceCanWriteIndexPointsKey() uintptr
- func KDRDeviceCanWriteKey() uintptr
- func KDRDeviceCurrentWriteSpeedKey() uintptr
- func KDRDeviceDisappearedNotification() uintptr
- func KDRDeviceFirmwareRevisionKey() uintptr
- func KDRDeviceIORegistryEntryPathKey() uintptr
- func KDRDeviceIsBusyKey() uintptr
- func KDRDeviceIsTrayOpenKey() uintptr
- func KDRDeviceLoadingMechanismCanEjectKey() uintptr
- func KDRDeviceLoadingMechanismCanInjectKey() uintptr
- func KDRDeviceLoadingMechanismCanOpenKey() uintptr
- func KDRDeviceMaximumWriteSpeedKey() uintptr
- func KDRDeviceMediaBSDNameKey() uintptr
- func KDRDeviceMediaBlocksFreeKey() uintptr
- func KDRDeviceMediaBlocksOverwritableKey() uintptr
- func KDRDeviceMediaBlocksUsedKey() uintptr
- func KDRDeviceMediaClassBD() uintptr
- func KDRDeviceMediaClassCD() uintptr
- func KDRDeviceMediaClassDVD() uintptr
- func KDRDeviceMediaClassHDDVD() uintptr
- func KDRDeviceMediaClassKey() uintptr
- func KDRDeviceMediaClassUnknown() uintptr
- func KDRDeviceMediaDoubleLayerL0DataZoneBlocksKey() uintptr
- func KDRDeviceMediaInfoKey() uintptr
- func KDRDeviceMediaIsAppendableKey() uintptr
- func KDRDeviceMediaIsBlankKey() uintptr
- func KDRDeviceMediaIsErasableKey() uintptr
- func KDRDeviceMediaIsOverwritableKey() uintptr
- func KDRDeviceMediaIsReservedKey() uintptr
- func KDRDeviceMediaSessionCountKey() uintptr
- func KDRDeviceMediaStateInTransition() uintptr
- func KDRDeviceMediaStateKey() uintptr
- func KDRDeviceMediaStateMediaPresent() uintptr
- func KDRDeviceMediaStateNone() uintptr
- func KDRDeviceMediaTrackCountKey() uintptr
- func KDRDeviceMediaTypeBDR() uintptr
- func KDRDeviceMediaTypeBDRE() uintptr
- func KDRDeviceMediaTypeBDROM() uintptr
- func KDRDeviceMediaTypeCDR() uintptr
- func KDRDeviceMediaTypeCDROM() uintptr
- func KDRDeviceMediaTypeCDRW() uintptr
- func KDRDeviceMediaTypeDVDPlusR() uintptr
- func KDRDeviceMediaTypeDVDPlusRDoubleLayer() uintptr
- func KDRDeviceMediaTypeDVDPlusRW() uintptr
- func KDRDeviceMediaTypeDVDPlusRWDoubleLayer() uintptr
- func KDRDeviceMediaTypeDVDR() uintptr
- func KDRDeviceMediaTypeDVDRAM() uintptr
- func KDRDeviceMediaTypeDVDRDualLayer() uintptr
- func KDRDeviceMediaTypeDVDROM() uintptr
- func KDRDeviceMediaTypeDVDRW() uintptr
- func KDRDeviceMediaTypeDVDRWDualLayer() uintptr
- func KDRDeviceMediaTypeHDDVDR() uintptr
- func KDRDeviceMediaTypeHDDVDRAM() uintptr
- func KDRDeviceMediaTypeHDDVDRDualLayer() uintptr
- func KDRDeviceMediaTypeHDDVDROM() uintptr
- func KDRDeviceMediaTypeHDDVDRW() uintptr
- func KDRDeviceMediaTypeHDDVDRWDualLayer() uintptr
- func KDRDeviceMediaTypeKey() uintptr
- func KDRDeviceMediaTypeUnknown() uintptr
- func KDRDevicePhysicalInterconnectATAPI() uintptr
- func KDRDevicePhysicalInterconnectFibreChannel() uintptr
- func KDRDevicePhysicalInterconnectFireWire() uintptr
- func KDRDevicePhysicalInterconnectKey() uintptr
- func KDRDevicePhysicalInterconnectLocationExternal() uintptr
- func KDRDevicePhysicalInterconnectLocationInternal() uintptr
- func KDRDevicePhysicalInterconnectLocationKey() uintptr
- func KDRDevicePhysicalInterconnectLocationUnknown() uintptr
- func KDRDevicePhysicalInterconnectSCSI() uintptr
- func KDRDevicePhysicalInterconnectUSB() uintptr
- func KDRDeviceProductNameKey() uintptr
- func KDRDeviceStatusChangedNotification() uintptr
- func KDRDeviceSupportLevelAppleShipping() uintptr
- func KDRDeviceSupportLevelAppleSupported() uintptr
- func KDRDeviceSupportLevelKey() uintptr
- func KDRDeviceSupportLevelNone() uintptr
- func KDRDeviceSupportLevelUnsupported() uintptr
- func KDRDeviceSupportLevelVendorSupported() uintptr
- func KDRDeviceTrackInfoKey() uintptr
- func KDRDeviceTrackRefsKey() uintptr
- func KDRDeviceVendorNameKey() uintptr
- func KDRDeviceWriteBufferSizeKey() uintptr
- func KDRDeviceWriteCapabilitiesKey() uintptr
- func KDREffectiveDate() uintptr
- func KDREraseStatusChangedNotification() uintptr
- func KDREraseTypeComplete() uintptr
- func KDREraseTypeKey() uintptr
- func KDREraseTypeQuick() uintptr
- func KDRErrorStatusAdditionalSenseStringKey() uintptr
- func KDRErrorStatusErrorInfoStringKey() uintptr
- func KDRErrorStatusErrorKey() uintptr
- func KDRErrorStatusErrorStringKey() uintptr
- func KDRErrorStatusKey() uintptr
- func KDRErrorStatusSenseCodeStringKey() uintptr
- func KDRErrorStatusSenseKey() uintptr
- func KDRExpirationDate() uintptr
- func KDRFreeBlocksKey() uintptr
- func KDRHFSPlus() uintptr
- func KDRHFSPlusCatalogNodeID() uintptr
- func KDRHFSPlusTextEncodingHint() uintptr
- func KDRISO9660() uintptr
- func KDRISO9660LevelOne() uintptr
- func KDRISO9660LevelTwo() uintptr
- func KDRISO9660VersionNumber() uintptr
- func KDRISOLevel() uintptr
- func KDRISOMacExtensions() uintptr
- func KDRISORockRidgeExtensions() uintptr
- func KDRIndexPointsKey() uintptr
- func KDRInvisible() uintptr
- func KDRJoliet() uintptr
- func KDRMacExtendedFinderFlags() uintptr
- func KDRMacFileCreator() uintptr
- func KDRMacFileType() uintptr
- func KDRMacFinderFlags() uintptr
- func KDRMacFinderHideExtension() uintptr
- func KDRMacIconLocation() uintptr
- func KDRMacScrollPosition() uintptr
- func KDRMacWindowBounds() uintptr
- func KDRMacWindowView() uintptr
- func KDRMaxBurnSpeedKey() uintptr
- func KDRMediaCatalogNumberKey() uintptr
- func KDRNextWritableAddressKey() uintptr
- func KDRPosixFileMode() uintptr
- func KDRPosixGID() uintptr
- func KDRPosixUID() uintptr
- func KDRPreGapIsRequiredKey() uintptr
- func KDRPreGapLengthKey() uintptr
- func KDRPublisher() uintptr
- func KDRRecordingDate() uintptr
- func KDRSCMSCopyrightFree() uintptr
- func KDRSCMSCopyrightProtectedCopy() uintptr
- func KDRSCMSCopyrightProtectedOriginal() uintptr
- func KDRSerialCopyManagementStateKey() uintptr
- func KDRSessionFormatKey() uintptr
- func KDRSessionNumberKey() uintptr
- func KDRStatusCurrentSessionKey() uintptr
- func KDRStatusCurrentSpeedKey() uintptr
- func KDRStatusCurrentTrackKey() uintptr
- func KDRStatusEraseTypeKey() uintptr
- func KDRStatusPercentCompleteKey() uintptr
- func KDRStatusProgressCurrentKPS() uintptr
- func KDRStatusProgressCurrentXFactor() uintptr
- func KDRStatusProgressInfoKey() uintptr
- func KDRStatusStateDone() uintptr
- func KDRStatusStateErasing() uintptr
- func KDRStatusStateFailed() uintptr
- func KDRStatusStateFinishing() uintptr
- func KDRStatusStateKey() uintptr
- func KDRStatusStateNone() uintptr
- func KDRStatusStatePreparing() uintptr
- func KDRStatusStateSessionClose() uintptr
- func KDRStatusStateSessionOpen() uintptr
- func KDRStatusStateTrackClose() uintptr
- func KDRStatusStateTrackOpen() uintptr
- func KDRStatusStateTrackWrite() uintptr
- func KDRStatusStateVerifying() uintptr
- func KDRStatusTotalSessionsKey() uintptr
- func KDRStatusTotalTracksKey() uintptr
- func KDRSubchannelDataFormKey() uintptr
- func KDRSubchannelDataFormNone() uintptr
- func KDRSubchannelDataFormPack() uintptr
- func KDRSubchannelDataFormRaw() uintptr
- func KDRSuppressMacSpecificFiles() uintptr
- func KDRSynchronousBehaviorKey() uintptr
- func KDRSystemIdentifier() uintptr
- func KDRTrackISRCKey() uintptr
- func KDRTrackIsEmptyKey() uintptr
- func KDRTrackLengthKey() uintptr
- func KDRTrackModeKey() uintptr
- func KDRTrackNumberKey() uintptr
- func KDRTrackPacketSizeKey() uintptr
- func KDRTrackPacketTypeFixed() uintptr
- func KDRTrackPacketTypeKey() uintptr
- func KDRTrackPacketTypeVariable() uintptr
- func KDRTrackStartAddressKey() uintptr
- func KDRTrackTypeClosed() uintptr
- func KDRTrackTypeIncomplete() uintptr
- func KDRTrackTypeInvisible() uintptr
- func KDRTrackTypeKey() uintptr
- func KDRTrackTypeReserved() uintptr
- func KDRUDF() uintptr
- func KDRUDFApplicationIdentifierSuffix() uintptr
- func KDRUDFExtendedFilePermissions() uintptr
- func KDRUDFInterchangeLevel() uintptr
- func KDRUDFMaxInterchangeLevel() uintptr
- func KDRUDFMaxVolumeSequenceNumber() uintptr
- func KDRUDFPrimaryVolumeDescriptorNumber() uintptr
- func KDRUDFRealTimeFile() uintptr
- func KDRUDFVersion102() uintptr
- func KDRUDFVersion150() uintptr
- func KDRUDFVolumeSequenceNumber() uintptr
- func KDRUDFVolumeSetIdentifier() uintptr
- func KDRUDFVolumeSetImplementationUse() uintptr
- func KDRUDFVolumeSetTimestamp() uintptr
- func KDRUDFWriteVersion() uintptr
- func KDRVerificationTypeChecksum() uintptr
- func KDRVerificationTypeKey() uintptr
- func KDRVerificationTypeNone() uintptr
- func KDRVerificationTypeProduceAgain() uintptr
- func KDRVerificationTypeReceiveData() uintptr
- func KDRVolumeCheckedDate() uintptr
- func KDRVolumeCreationDate() uintptr
- func KDRVolumeEffectiveDate() uintptr
- func KDRVolumeExpirationDate() uintptr
- func KDRVolumeModificationDate() uintptr
- func KDRVolumeSet() uintptr
- func SymbolAvailable(symbol string) bool
- 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 DRBurn
- func (o *DRBurn) Abort()
- func (o *DRBurn) Appendable() bool
- func (o *DRBurn) CompletionAction() *foundation.NSString
- func (o *DRBurn) Device() *DRDevice
- func (o *DRBurn) InitWithDevice(device *DRDevice) objc.ID
- func (o *DRBurn) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *DRBurn) RequestedBurnSpeed() float32
- func (o *DRBurn) SetAppendable(appendable bool)
- func (o *DRBurn) SetCompletionAction(action *foundation.NSString)
- func (o *DRBurn) SetProperties(properties *foundation.NSDictionary[objc.ID, objc.ID])
- func (o *DRBurn) SetRequestedBurnSpeed(speed float32)
- func (o *DRBurn) SetVerifyDisc(verify bool)
- func (o *DRBurn) Status() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *DRBurn) VerifyDisc() bool
- func (o *DRBurn) WriteLayout(layout objc.ID)
- type DRCDTextBlock
- func (o *DRCDTextBlock) Encoding() uint
- func (o *DRCDTextBlock) Flatten() uint
- func (o *DRCDTextBlock) InitWithLanguageEncoding(lang *foundation.NSString, enc uint) objc.ID
- func (o *DRCDTextBlock) Language() *foundation.NSString
- func (o *DRCDTextBlock) ObjectForKeyOfTrack(key *foundation.NSString, trackIndex uint) objc.ID
- func (o *DRCDTextBlock) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *DRCDTextBlock) SetObjectForKeyOfTrack(value objc.ID, key *foundation.NSString, trackIndex uint)
- func (o *DRCDTextBlock) SetProperties(properties *foundation.NSDictionary[objc.ID, objc.ID])
- func (o *DRCDTextBlock) SetTrackDictionaries(tracks *foundation.NSArray[objc.ID])
- func (o *DRCDTextBlock) TrackDictionaries() *foundation.NSArray[objc.ID]
- type DRDevice
- func (o *DRDevice) AcquireExclusiveAccess() bool
- func (o *DRDevice) AcquireMediaReservation()
- func (o *DRDevice) BsdName() *foundation.NSString
- func (o *DRDevice) CloseTray() bool
- func (o *DRDevice) DisplayName() *foundation.NSString
- func (o *DRDevice) EjectMedia() bool
- func (o *DRDevice) Info() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *DRDevice) IoRegistryEntryPath() *foundation.NSString
- func (o *DRDevice) IsEqualToDevice(otherDevice *DRDevice) bool
- func (o *DRDevice) IsValid() bool
- func (o *DRDevice) MediaIsAppendable() bool
- func (o *DRDevice) MediaIsBlank() bool
- func (o *DRDevice) MediaIsBusy() bool
- func (o *DRDevice) MediaIsErasable() bool
- func (o *DRDevice) MediaIsOverwritable() bool
- func (o *DRDevice) MediaIsPresent() bool
- func (o *DRDevice) MediaIsReserved() bool
- func (o *DRDevice) MediaIsTransitioning() bool
- func (o *DRDevice) MediaSpaceFree() *DRMSF
- func (o *DRDevice) MediaSpaceOverwritable() *DRMSF
- func (o *DRDevice) MediaSpaceUsed() *DRMSF
- func (o *DRDevice) MediaType() *foundation.NSString
- func (o *DRDevice) OpenTray() bool
- func (o *DRDevice) ReleaseExclusiveAccess()
- func (o *DRDevice) ReleaseMediaReservation()
- func (o *DRDevice) Status() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *DRDevice) TrayIsOpen() bool
- func (o *DRDevice) WritesCD() bool
- func (o *DRDevice) WritesDVD() bool
- type DRErase
- func (o *DRErase) Device() *DRDevice
- func (o *DRErase) EraseType() *foundation.NSString
- func (o *DRErase) InitWithDevice(device *DRDevice) objc.ID
- func (o *DRErase) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *DRErase) SetEraseType(type_ *foundation.NSString)
- func (o *DRErase) SetProperties(properties *foundation.NSDictionary[objc.ID, objc.ID])
- func (o *DRErase) Start()
- func (o *DRErase) Status() *foundation.NSDictionary[objc.ID, objc.ID]
- type DRFSObject
- func (o *DRFSObject) BaseName() *foundation.NSString
- func (o *DRFSObject) EffectiveFilesystemMask() uint
- func (o *DRFSObject) ExplicitFilesystemMask() uint
- func (o *DRFSObject) IsVirtual() bool
- func (o *DRFSObject) MangledNameForFilesystem(filesystem *foundation.NSString) *foundation.NSString
- func (o *DRFSObject) MangledNames() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *DRFSObject) Parent() *DRFolder
- func (o *DRFSObject) PropertiesForFilesystemMergeWithOtherFilesystems(filesystem *foundation.NSString, merge bool) *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *DRFSObject) PropertyForKeyInFilesystemMergeWithOtherFilesystems(key *foundation.NSString, filesystem *foundation.NSString, merge bool) objc.ID
- func (o *DRFSObject) SetBaseName(baseName *foundation.NSString)
- func (o *DRFSObject) SetExplicitFilesystemMask(mask uint)
- func (o *DRFSObject) SetPropertiesInFilesystem(properties *foundation.NSDictionary[objc.ID, objc.ID], ...)
- func (o *DRFSObject) SetPropertyForKeyInFilesystem(property objc.ID, key *foundation.NSString, filesystem *foundation.NSString)
- func (o *DRFSObject) SetSpecificNameForFilesystem(name *foundation.NSString, filesystem *foundation.NSString)
- func (o *DRFSObject) SetSpecificNames(specificNames *foundation.NSDictionary[objc.ID, objc.ID])
- func (o *DRFSObject) SourcePath() *foundation.NSString
- func (o *DRFSObject) SpecificNameForFilesystem(filesystem *foundation.NSString) *foundation.NSString
- func (o *DRFSObject) SpecificNames() *foundation.NSDictionary[objc.ID, objc.ID]
- type DRFile
- func DRFileFileWithPath(path *foundation.NSString) *DRFile
- func DRFileFinderAliasPointingToInFilesystem(original *DRFSObject, filesystem *foundation.NSString) *DRFile
- func DRFileFromID(id objc.ID) *DRFile
- func DRFileHardLinkPointingToInFilesystem(original *DRFile, filesystem *foundation.NSString) *DRFile
- func DRFileSymLinkPointingToInFilesystem(original *DRFSObject, filesystem *foundation.NSString) *DRFile
- func DRFileVirtualFileWithNameData(name *foundation.NSString, data *foundation.NSData) *DRFile
- func DRFileVirtualFileWithNameDataProducer(name *foundation.NSString, producer objc.ID) *DRFile
- func (o *DRFile) InitWithLinkTypePointingToInFilesystem(linkType *foundation.NSString, original *DRFSObject, ...) objc.ID
- func (o *DRFile) InitWithNameData(name *foundation.NSString, data *foundation.NSData) objc.ID
- func (o *DRFile) InitWithNameDataProducer(name *foundation.NSString, producer objc.ID) objc.ID
- func (o *DRFile) InitWithPath(path *foundation.NSString) objc.ID
- type DRFileDataProduction
- type DRFileForkSizeInfo
- type DRFileProductionInfo
- type DRFolder
- func (o *DRFolder) AddChild(child *DRFSObject)
- func (o *DRFolder) Children() *foundation.NSArray[objc.ID]
- func (o *DRFolder) Count() uint
- func (o *DRFolder) InitWithName(name *foundation.NSString) objc.ID
- func (o *DRFolder) InitWithPath(path *foundation.NSString) objc.ID
- func (o *DRFolder) MakeVirtual()
- func (o *DRFolder) RemoveChild(child *DRFSObject)
- type DRMSF
- func (o *DRMSF) DescriptionWithFormat(format *foundation.NSString) *foundation.NSString
- func (o *DRMSF) Frames() uint
- func (o *DRMSF) InitWithFrames(frames uint) objc.ID
- func (o *DRMSF) InitWithString(string_ *foundation.NSString) objc.ID
- func (o *DRMSF) IsEqualToMSF(otherDRMSF *DRMSF) bool
- func (o *DRMSF) Minutes() uint
- func (o *DRMSF) MsfByAdding(msf *DRMSF) *DRMSF
- func (o *DRMSF) MsfBySubtracting(msf *DRMSF) *DRMSF
- func (o *DRMSF) Seconds() uint
- func (o *DRMSF) Sectors() uint
- type DRMSFFormatter
- type DRNotificationCenter
- type DRRefConCallbacks
- type DRTrack
- func (o *DRTrack) EstimateLength() uint64
- func (o *DRTrack) InitWithProducer(producer objc.ID) objc.ID
- func (o *DRTrack) Length() *DRMSF
- func (o *DRTrack) PreGap() *DRMSF
- func (o *DRTrack) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *DRTrack) SetPreGap(preGap *DRMSF)
- func (o *DRTrack) SetProperties(properties *foundation.NSDictionary[objc.ID, objc.ID])
- func (o *DRTrack) TestProductionSpeedForInterval(interval float64) float32
- func (o *DRTrack) TestProductionSpeedForLength(length uint32) float32
- type DRTrackDataProduction
- type DRTrackProductionInfo
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type Filesec_property_t
- 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 ¶
const ( DRCDTextEncodingASCII = 1 DRCDTextEncodingISOLatin1Modified = 5 )
const ( DRCDTextGenreCodeAdultContemporary = 2 DRCDTextGenreCodeAlternativeRock = 3 DRCDTextGenreCodeChildrens = 4 DRCDTextGenreCodeClassical = 5 DRCDTextGenreCodeContemporaryChristian = 6 DRCDTextGenreCodeCountry = 7 DRCDTextGenreCodeDance = 8 DRCDTextGenreCodeEasyListening = 9 DRCDTextGenreCodeErotic = 10 DRCDTextGenreCodeFolk = 11 DRCDTextGenreCodeGospel = 12 DRCDTextGenreCodeHipHop = 13 DRCDTextGenreCodeJazz = 14 DRCDTextGenreCodeLatin = 15 DRCDTextGenreCodeMusical = 16 DRCDTextGenreCodeNewAge = 17 DRCDTextGenreCodeOpera = 18 DRCDTextGenreCodeOperetta = 19 DRCDTextGenreCodePop = 20 DRCDTextGenreCodeRap = 21 DRCDTextGenreCodeReggae = 22 DRCDTextGenreCodeRhythmAndBlues = 24 DRCDTextGenreCodeRock = 23 DRCDTextGenreCodeSoundEffects = 25 DRCDTextGenreCodeSoundtrack = 26 DRCDTextGenreCodeSpokenWord = 27 DRCDTextGenreCodeUnknown = 1 DRCDTextGenreCodeWorldMusic = 28 )
const ( DRFileForkData = 0 DRFileForkResource = 1 )
const ( DRFilesystemInclusionMaskHFSPlus = 8 DRFilesystemInclusionMaskISO9660 = 1 DRFilesystemInclusionMaskJoliet = 2 DRFilesystemInclusionMaskUDF = 4 )
const ( KDRBlockSizeAudio = 2352 KDRBlockSizeDVDData = 2048 KDRBlockSizeMode1Data = 2048 KDRBlockSizeMode2Data = 2332 KDRBlockSizeMode2Form1Data = 2048 KDRBlockSizeMode2Form2Data = 2324 )
const ( KDRBlockTypeAudio = 0 KDRBlockTypeDVDData = 8 KDRBlockTypeMode1Data = 8 KDRBlockTypeMode2Data = 13 KDRBlockTypeMode2Form1Data = 10 KDRBlockTypeMode2Form2Data = 12 )
const ( KDRCDTextEncodingASCII = 1536 KDRCDTextEncodingISOLatin1Modified = 513 )
const ( KDRCDTextGenreCodeAdultContemporary = 2 KDRCDTextGenreCodeAlternativeRock = 3 KDRCDTextGenreCodeChildrens = 4 KDRCDTextGenreCodeClassical = 5 KDRCDTextGenreCodeContemporaryChristian = 6 KDRCDTextGenreCodeCountry = 7 KDRCDTextGenreCodeDance = 8 KDRCDTextGenreCodeEasyListening = 9 KDRCDTextGenreCodeErotic = 10 KDRCDTextGenreCodeFolk = 11 KDRCDTextGenreCodeGospel = 12 KDRCDTextGenreCodeHipHop = 13 KDRCDTextGenreCodeJazz = 14 KDRCDTextGenreCodeLatin = 15 KDRCDTextGenreCodeMusical = 16 KDRCDTextGenreCodeNewAge = 17 KDRCDTextGenreCodeOpera = 18 KDRCDTextGenreCodeOperetta = 19 KDRCDTextGenreCodePop = 20 KDRCDTextGenreCodeRap = 21 KDRCDTextGenreCodeReggae = 22 KDRCDTextGenreCodeRhythmAndBlues = 24 KDRCDTextGenreCodeRock = 23 KDRCDTextGenreCodeSoundEffects = 25 KDRCDTextGenreCodeSoundtrack = 26 KDRCDTextGenreCodeSpokenWord = 27 KDRCDTextGenreCodeUnknown = 1 KDRCDTextGenreCodeWorldMusic = 28 )
const ( KDRDataFormAudio = 0 KDRDataFormDVDData = 16 KDRDataFormMode1Data = 16 KDRDataFormMode2Data = 32 KDRDataFormMode2Form1Data = 32 KDRDataFormMode2Form2Data = 32 )
const ( KDRFileForkData = 0 KDRFileForkResource = 1 )
const ( KDRFileForkSizeActual = 0 KDRFileForkSizeEstimate = 1 )
const ( KDRFileMessageForkSize = 1718839674 KDRFileMessagePostBurn = 1886352244 KDRFileMessagePreBurn = 1886545184 KDRFileMessageProduceData = 1886547812 KDRFileMessageRelease = 1652122912 KDRFileMessageVerificationStarting = 1987208825 )
const ( KDRFilesystemMaskDefault = 4294967295 KDRFilesystemMaskHFSPlus = 8 KDRFilesystemMaskISO9660 = 1 KDRFilesystemMaskJoliet = 2 KDRFilesystemMaskUDF = 4 )
const ( KDRAudioFileNotSupportedErr = 2147614828 KDRBadLayoutErr = 2147614821 KDRBurnMediaWriteFailureErr = 2147614830 KDRBurnNotAllowedErr = 2147614817 KDRBurnPowerCalibrationErr = 2147614829 KDRBurnUnderrunErr = 2147614816 KDRDataProductionErr = 2147614818 KDRDeviceAccessErr = 2147614752 KDRDeviceBurnStrategyNotAvailableErr = 2147615232 KDRDeviceBusyErr = 2147614753 KDRDeviceCantWriteCDTextErr = 2147615233 KDRDeviceCantWriteISRCErr = 2147615235 KDRDeviceCantWriteIndexPointsErr = 2147615234 KDRDeviceCantWriteSCMSErr = 2147615236 KDRDeviceCommunicationErr = 2147614754 KDRDeviceInvalidErr = 2147614755 KDRDeviceNotReadyErr = 2147614756 KDRDeviceNotSupportedErr = 2147614757 KDRDevicePreGapLengthNotValidErr = 2147615237 KDRDoubleLayerL0AlreadySpecifiedErr = 2147614827 KDRDoubleLayerL0DataZoneBlocksParamErr = 2147614826 KDRFileLocationConflictErr = 2147614977 KDRFileModifiedDuringBurnErr = 2147614976 KDRFilesystemsNotSupportedErr = 2147614979 KDRFirstErr = 2147614720 KDRFunctionNotSupportedErr = 2147614823 KDRInternalErr = 2147614720 KDRInvalidIndexPointsErr = 2147614825 KDRMediaBusyErr = 2147614784 KDRMediaInvalidErr = 2147614790 KDRMediaNotBlankErr = 2147614788 KDRMediaNotErasableErr = 2147614789 KDRMediaNotPresentErr = 2147614785 KDRMediaNotSupportedErr = 2147614787 KDRMediaNotWritableErr = 2147614786 KDRSpeedTestAlreadyRunningErr = 2147614824 KDRTooManyNameConflictsErr = 2147614978 KDRTooManyTracksForDVDErr = 2147614820 KDRTrackReusedErr = 2147614831 KDRUserCanceledErr = 2147614822 KDRVerificationFailedErr = 2147614819 )
const ( KDRFlagNoMoreData = 1 KDRFlagSubchannelDataRequested = 2 )
const ( KDRLinkTypeFinderAlias = 3 KDRLinkTypeHardLink = 1 KDRLinkTypeSymbolicLink = 2 )
const ( KDRSessionFormatAudio = 0 KDRSessionFormatCDI = 16 KDRSessionFormatCDXA = 32 KDRSessionFormatDVDData = 0 KDRSessionFormatMode1Data = 0 )
const ( KDRTrackMessageEstimateLength = 1702065257 KDRTrackMessagePostBurn = 1886352244 KDRTrackMessagePreBurn = 1886545184 KDRTrackMessageProduceData = 1886547812 KDRTrackMessageProducePreGap = 1886548082 KDRTrackMessageVerificationDone = 1986293614 KDRTrackMessageVerificationStarting = 1987277938 KDRTrackMessageVerifyData = 1987208825 KDRTrackMessageVerifyPreGap = 1987211378 )
const ( KDRTrackMode1Data = 4 KDRTrackMode2Data = 4 KDRTrackMode2Form1Data = 4 KDRTrackMode2Form2Data = 4 KDRTrackModeAudio = 0 KDRTrackModeDVDData = 5 )
const (
DRFlagSubchannelDataRequested = 2
)
Variables ¶
This section is empty.
Functions ¶
func DRAbstractFile ¶
func DRAbstractFile() uintptr
@const DRAbstractFile @discussion DRFile pointing to the abstract file for ISO and Joliet volumes. The file must be in the root directory.
func DRAccessDate ¶
func DRAccessDate() uintptr
@const DRAccessDate @discussion NSDate containing the item's last-accessed date.
func DRAllFilesystems ¶
func DRAllFilesystems() uintptr
@const DRAllFilesystems @discussion The key for accessing the name or properties for the file in all filesystems together. When this key is used to refer to a name, it refers to the base name (which has no naming restrictions).
func DRApplicationIdentifier ¶
func DRApplicationIdentifier() uintptr
@const DRApplicationIdentifier @discussion NSString indicating the application identifier for ISO, Joliet and UDF volumes.
func DRAttributeModificationDate ¶
func DRAttributeModificationDate() uintptr
@const DRAttributeModificationDate @discussion NSDate containing the item's attribute modification date.
func DRAudioFourChannelKey ¶
func DRAudioFourChannelKey() uintptr
@const DRAudioFourChannelKey @discussion For CD-DA audio tracks only. This key points to a BOOL value indicating whether the track data has four channels, as opposed to the two channels of normal stereo. If this key is not present, the engine will use a default value of NO and standard two-channel stereo is assumed. Note that while four-channel is technically allowed in the Red Book, it never caught on and is probably being replaced by SACD, so you probably shouldn't attempt to use it. On the media, this key corresponds to bit 3 of the control field in sub-channel Q.
func DRAudioPreEmphasisKey ¶
func DRAudioPreEmphasisKey() uintptr
@const DRAudioPreEmphasisKey @discussion For CD-DA audio tracks only. This key points to a BOOL value indicating whether the track includes pre-emphasis of 50/15us. If this key is not present, the engine will use a default value of NO. On the media, this key corresponds to bit 0 of the control field in sub-channel Q.
func DRAudioTrackCreate ¶
func DRAudioTrackCreate(audioFile *carboncore.FSRef) unsafe.Pointer
func DRBackupDate ¶
func DRBackupDate() uintptr
@const DRBackupDate @discussion NSDate containing the item's backup date.
func DRBibliographicFile ¶
func DRBibliographicFile() uintptr
@const DRBibliographicFile @discussion DRFile pointing to the bibliographic file for ISO and Joliet volumes. The file must be in the root directory.
func DRBlockSize ¶
func DRBlockSize() uintptr
@const DRBlockSize @discussion NSNumber indicating the block size of the track. Currently always 2048. Do not change.
func DRBlockSizeKey ¶
func DRBlockSizeKey() uintptr
@const DRBlockSizeKey @discussion NSNumber containing the size in bytes of each track block. See the Mt. Fuji (INF-8090i) specification for CD/DVD devices for possible values for this property.
func DRBlockTypeKey ¶
func DRBlockTypeKey() uintptr
@const DRBlockTypeKey @discussion NSNumber containing the type of each track block. See the Mt. Fuji (INF-8090i) specification for CD/DVD devices for possible values for this property.
func DRBurnAbort ¶
func DRBurnAppendableKey ¶
func DRBurnAppendableKey() uintptr
@const DRBurnAppendableKey @discussion The burn property whose value is a BOOL indicating if the disc will still be appendable after the burn. If this key is not present, the burn will default to a value of <i>NO</i> and the disc will be marked as not appendable.
func DRBurnCompletionActionEject ¶
func DRBurnCompletionActionEject() uintptr
@const DRBurnCompletionActionEject @discussion An NSString value for @link DRBurnCompletionActionKey DRBurnCompletionActionKey @/link indicating that the burn object should eject the disc from the drive when the burn completes.
func DRBurnCompletionActionKey ¶
func DRBurnCompletionActionKey() uintptr
@const DRBurnCompletionActionKey @discussion The burn property whose value is an NSString containing one of the completion actions possible for the disc handling. If this key is not present, the burn will default to a value of @link DRBurnCompletionActionEject DRBurnCompletionActionEject @/link and the disc will be ejected.
func DRBurnCompletionActionMount ¶
func DRBurnCompletionActionMount() uintptr
@const DRBurnCompletionActionMount @discussion An NSString value for @link DRBurnCompletionActionKey DRBurnCompletionActionKey @/link indicating that the burn object should mount the disc on the desktop when the burn completes.
func DRBurnDoubleLayerL0DataZoneBlocksKey ¶
func DRBurnDoubleLayerL0DataZoneBlocksKey() uintptr
@const DRBurnDoubleLayerL0DataZoneBlocksKey @discussion The burn property key whose value is an NSNumber containing the number of blocks desired for the layer 0 data zone on a double layer writable disc. The size of the layer 0 data zone dictates where the transition point is from layer 0 to layer 1. If this key is present, the data zone size will be set prior to the start of the burn using the value for this key. If it is not present, the default layer 0 data zone will be used (half the available blocks on an empty disc). The transition point can be specified two ways. If the value specified in this key is greater than 1.0, then it will designate an absolute block number for the transition point. In this case, the block number should be a multiple of 16 and at least 40000h per specification. If the value is less than 1.0, it will specify the percentage of the burn that should reside on layer 0. A typical value is 0.5, designating half the burn for each layer. A value of 0.0 or 1.0 will not change the layer 0 transition point.
func DRBurnFailureActionEject ¶
func DRBurnFailureActionEject() uintptr
@const DRBurnFailureActionEject @discussion An NSString value for @link DRBurnFailureActionKey DRBurnFailureActionKey @/link indicating that the burn object should eject the disc from the drive if the burn fails.
func DRBurnFailureActionKey ¶
func DRBurnFailureActionKey() uintptr
@const DRBurnFailureActionKey @discussion The burn property whose value is an NSString containing a one of the failure actions possible for the disc handling. If this key is not present, the burn will default to a value of @link DRBurnFailureActionEject DRBurnFailureActionEject @/link and the disc will be ejected.
func DRBurnFailureActionNone ¶
func DRBurnFailureActionNone() uintptr
@const DRBurnFailureActionNone @discussion An NSString value for @link DRBurnFailureActionKey DRBurnFailureActionKey @/link indicating that the burn object should do nothing with the disc if the burn fails.
func DRBurnGetTypeID ¶
func DRBurnGetTypeID() uint
func DRBurnLayoutForImageFile ¶
func DRBurnLayoutForImageFile(path *foundation.NSString) objc.ID
@method layoutForImageFile: @abstract Creates a layout capable of burning an image to disc. @discussion The layout created by this method may be any type of object. No assumptions should be made as to what sort of object may be returned based on the input image type. @param path The path to the image file. This file must be one that can be read by DiscRecording. The supported image types include: .dmg, .iso, .cue, and .toc. For .cue and .toc files the corresponding data files (.bin, .img, etc) must also be present and correctly referenced in the .cue/.toc file. @result An autoreleased layout object
func DRBurnOverwriteDiscKey ¶
func DRBurnOverwriteDiscKey() uintptr
@const DRBurnOverwriteDiscKey @discussion The burn property whose value is a BOOL indicating if the disc will be overwritten from block zero for the burn. If this key is not present, the burn will default to a value of <i>NO</i> and the disc will be appended.
func DRBurnRequestedSpeedKey ¶
func DRBurnRequestedSpeedKey() uintptr
@const DRBurnRequestedSpeedKey @discussion The burn property whose value is an NSNumber containing the speed at which the burn should run, expressed as a float value of kilobytes per second. If this key is not present, the speed will default to @link //apple_ref/occ/data/DRDeviceBurnSpeedMax DRDeviceBurnSpeedMax @/link.
func DRBurnStatusChangedNotification ¶
func DRBurnStatusChangedNotification() uintptr
@const DRBurnStatusChangedNotification @discussion Posted by a @link //apple_ref/occ/cl/DRNotificationCenter DRNotificationCenter @/link when the status of the burn operation has changed. The object associated with this notification is the DRBurn object sending it and the userInfo contains the same dictionary as returned by @link //apple_ref/occ/instm/DRBurn/status status @/link which details the current state of the burn.
func DRBurnStrategyBDDAO ¶
func DRBurnStrategyBDDAO() uintptr
@const DRBurnStrategyBDDAO @discussion An NSString value for @link DRBurnStrategyKey DRBurnStrategyKey @/link representing the DAO (disc-at-once) burn strategy for BD (Blu-ray). This strategy applies <b>only</b> to BDs.
func DRBurnStrategyCDSAO ¶
func DRBurnStrategyCDSAO() uintptr
@const DRBurnStrategyCDSAO @discussion An NSString value for @link DRBurnStrategyKey DRBurnStrategyKey @/link representing the SAO (session-at-once) burn strategy for CD.
func DRBurnStrategyCDTAO ¶
func DRBurnStrategyCDTAO() uintptr
@const DRBurnStrategyCDTAO @discussion An NSString value for @link DRBurnStrategyKey DRBurnStrategyKey @/link representing the TAO (track-at-once) burn strategy for CD.
func DRBurnStrategyDVDDAO ¶
func DRBurnStrategyDVDDAO() uintptr
@const DRBurnStrategyDVDDAO @discussion An NSString value for @link DRBurnStrategyKey DRBurnStrategyKey @/link representing the DAO (disc-at-once) burn strategy for DVD. This strategy applies <b>only</b> to DVDs; it is invalid when burning to CD media.
func DRBurnStrategyIsRequiredKey ¶
func DRBurnStrategyIsRequiredKey() uintptr
@const DRBurnStrategyIsRequiredKey @discussion The burn property whose value is a BOOL indicating whether the burn strategy/strategies listed for @link DRBurnStrategyKey DRBurnStrategyKey @/link are the only strategies allowed. If this key is not present, the burn will default to a value of <i>NO</i>. If this value is set to <i>YES</i>, and the device does not support the type(s) of burn requested, the burn will fail with @link //apple_ref/c/econst/kDRDeviceBurnStrategyNotAvailableErr kDRDeviceBurnStrategyNotAvailableErr @/link. If this value is set to <i>NO</i>, and the device does not support the type(s) of burn requested, the engine will choose an alternate burn strategy automatically - one that will provide an equivalent disc.
func DRBurnStrategyKey ¶
func DRBurnStrategyKey() uintptr
@const DRBurnStrategyKey @discussion The burn property whose value is an NSString, or array of NSStrings, indicating the burn strategy or strategies that are suggested. If this key is not present, the burn engine picks an appropriate burn strategy automatically. Most clients will not need to specify a specific burn strategy. When more than one strategy is suggested, the burn engine will attempt to use the first strategy in the list which is available. A burn strategy will never be used if it cannot write the required data: for example, TAO cannot be used to write CD-Text. The presence of this key by itself is just a suggestion, and if the burn engine cannot fulfill the request it will burn using whatever strategy is available. To make the suggestion into a requirement, add @link DRBurnStrategyIsRequiredKey DRBurnStrategyIsRequiredKey @/link with a value of <i>YES</i>.
func DRBurnTestingKey ¶
func DRBurnTestingKey() uintptr
@const DRBurnTestingKey @discussion The burn property whose value is a BOOL indicating if the burn will run as a test burn. When this is set and the burn object is sent @link writeLayout: writeLayout: @/link, the entire burn process proceeds as if data would be written to the disc, but the laser is not turned on to full power, so the physical disc is not modified. If this key is not present or the selected burning device does not support test burning, the burn will default to a value of <i>NO</i> and a normal burn will occur.
func DRBurnUnderrunProtectionKey ¶
func DRBurnUnderrunProtectionKey() uintptr
@const DRBurnUnderrunProtectionKey @discussion The burn property whose value is a BOOL indicating if burn underrun protection will be on or off for devices which support it. For those devices which support it, burn underrun protection is enabled by default. If the device supports burn underrun protection and this key is not present, the burn will default to a value of <i>YES</i> and burn underrun protection will be enabled.
func DRBurnVerifyDiscKey ¶
func DRBurnVerifyDiscKey() uintptr
@const DRBurnVerifyDiscKey @discussion The burn property whose value is a BOOL indicating if the disc will be verified after being burned. If this key is not present, the burn will default to a value of <i>YES</i> and the disc will be verified.
func DRCDTextArrangerKey ¶
func DRCDTextArrangerKey() uintptr
@const DRCDTextArrangerKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSString, containing the track/disc arranger.
func DRCDTextBlockArrayOfCDTextBlocksFromPacks ¶
func DRCDTextBlockArrayOfCDTextBlocksFromPacks(packs *foundation.NSData) *foundation.NSArray[objc.ID]
@method arrayOfCDTextBlocksFromPacks: @abstract Parses raw CD-Text data from a disc into DRCDTextBlock objects. @discussion This method can be used to parse any data blob containing CD-Text PACKs, such as the result of +[DRDevice readCDText], or the data returned by the IOKit ioctl DKIOCCDREADTOC with format=5. The NSData should be sized to fit the exact number of PACKs. Each PACK occupies 18 bytes, and the 4-byte header from a READ TOC command may optionally be included. @param packs NSData containing raw CD-Text PACKs. @result An autoreleased array of DRCDTextBlock objects describing the information in the raw PACKs, or nil if the data could not be parsed.
func DRCDTextBlockCreate ¶
func DRCDTextBlockFlatten ¶
func DRCDTextBlockGetTypeID ¶
func DRCDTextBlockGetTypeID() uint
func DRCDTextBlockGetValue ¶
func DRCDTextBlockSetValue ¶
func DRCDTextCharacterCodeKey ¶
func DRCDTextCharacterCodeKey() uintptr
@const DRCDTextCharacterCodeKey @discussion Required property key for a CD-Text block. The value for this property is an NSNumber, containing the Red Book character set value for the text of the block. This value is <b>not</b> a CFStringEncoding or NSStringEncoding, and should not be used as such. This property should remain constant once the block is created. If this property is changed after the block is created, the results are undefined.
func DRCDTextClosedKey ¶
func DRCDTextClosedKey() uintptr
@const DRCDTextClosedKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSString, containing disc information. The format of this data is arbitrary and is up to the content provider. This information is private and players should not display it to the user of the disc.
func DRCDTextComposerKey ¶
func DRCDTextComposerKey() uintptr
@const DRCDTextComposerKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSString, containing the track/disc composer.
func DRCDTextCopyrightAssertedForNamesKey ¶
func DRCDTextCopyrightAssertedForNamesKey() uintptr
@const DRCDTextCopyrightAssertedForNamesKey @discussion Optional property key for a CD-Text block. The value for this property is an NSNumber, containing a BOOL value indicating whether copyright is asserted on the names in the block. (@link DRCDTextPerformerKey DRCDTextPerformerKey @/link, @link DRCDTextSongwriterKey DRCDTextSongwriterKey @/link, @link DRCDTextComposerKey DRCDTextComposerKey @/link, @link DRCDTextArrangerKey DRCDTextArrangerKey @/link) If this value is not specified, no copyright is asserted for these items.
func DRCDTextCopyrightAssertedForSpecialMessagesKey ¶
func DRCDTextCopyrightAssertedForSpecialMessagesKey() uintptr
@const DRCDTextCopyrightAssertedForSpecialMessagesKey @discussion Optional property key for a CD-Text block. The value for this property is an NSNumber, containing a BOOL value indicating whether copyright is asserted on the messages in the block (@link DRCDTextSpecialMessageKey DRCDTextSpecialMessageKey @/link). If this value is not specified, no copyright is asserted for these items.
func DRCDTextCopyrightAssertedForTitlesKey ¶
func DRCDTextCopyrightAssertedForTitlesKey() uintptr
@const DRCDTextCopyrightAssertedForTitlesKey @discussion Optional property key for a CD-Text block. The value for this property is an NSNumber, containing a BOOL value indicating whether copyright is asserted on the titles of the disc and tracks. (@link DRCDTextTitleKey DRCDTextTitleKey @/link) If this value is not specified, no copyright is asserted for these items.
func DRCDTextDiscIdentKey ¶
func DRCDTextDiscIdentKey() uintptr
@const DRCDTextDiscIdentKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSString, containing disc ID information, such as the catalog number and name of the record company, point of sale code, year of sales, etc. Each item shall be separated by a slash ("/"). This key is only valid for the disc (array index 0) and is ignored when set in the dictionaries for tracks.
func DRCDTextGenreCodeKey ¶
func DRCDTextGenreCodeKey() uintptr
@const DRCDTextGenreCodeKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSNumber, containing the numeric code for the disc genre as enumerated above. This key is only valid for the disc (array index 0) and is ignored when set in the dictionaries for tracks.
func DRCDTextGenreKey ¶
func DRCDTextGenreKey() uintptr
@const DRCDTextGenreKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSString, containing the description of the disc genre. This key is only valid for the disc (array index 0) and is ignored when set in the dictionaries for tracks.
func DRCDTextKey ¶
func DRCDTextKey() uintptr
@const DRCDTextKey @discussion This key points to a @link //apple_ref/occ/cl/DRCDTextBlock DRCDTextBlock @/link, or array of @link //apple_ref/occ/cl/DRCDTextBlock DRCDTextBlocks @/link containing the CD-Text information for the disc. If this key is not present, the burn will not write CD-Text. Before using this key, you should to make sure that the device supports CD-Text by checking the value of @link //apple_ref/occ/data/DRDeviceCanWriteCDTextKey DRDeviceCanWriteCDTextKey @/link in the device's write capabilities dictionary. If this value is set to <i>YES</i>, and the device does not support writing CD-Text, the burn will fail with @link //apple_ref/c/econst/kDRDeviceCantWriteCDTextErr kDRDeviceCantWriteCDTextErr @/link.
func DRCDTextLanguageKey ¶
func DRCDTextLanguageKey() uintptr
@const DRCDTextLanguageKey @discussion Required property key for a CD-Text block. The value for this property is an NSNumber, containing the numeric code for the language. This value is the Red Book language code value for the text of the block. The language may be changed after the block is created.
func DRCDTextMCNISRCKey ¶
func DRCDTextMCNISRCKey() uintptr
@const DRCDTextMCNISRCKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSData, containing either 13 bytes of MCN (for the disc) or 12 bytes of ISRC (for tracks). This information can also be specified in the burn and track properties. CD-Text simply provides an alternative, possibly redundant way to encode this information. If the MCN or ISRC was specified in the properties for the burn or track, this value should be the same. See the descriptions of @link //apple_ref/occ/data/DRMediaCatalogNumberKey DRMediaCatalogNumberKey @/link and @link //apple_ref/occ/data/DRTrackISRCKey DRTrackISRCKey @/link for more details on the precise format of the data.
func DRCDTextNSStringEncodingKey ¶
func DRCDTextNSStringEncodingKey() uintptr
@const DRCDTextNSStringEncodingKey @discussion Required property key for a CD-Text block. The value for this property is an NSNumber, containing the NSStringEncoding for the text of the block. This property should remain constant once the block is created. If this property is changed after the block is created, the results are undefined.
func DRCDTextPerformerKey ¶
func DRCDTextPerformerKey() uintptr
@const DRCDTextPerformerKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSString, containing the track/disc performer.
func DRCDTextSizeKey ¶
func DRCDTextSizeKey() uintptr
@const DRCDTextSizeKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSData, containing information about the number of packs and languages associated with each block. This key is provided for output purposes only, when reading CD-Text from an existing disc. It is ignored when specified in a burn.
func DRCDTextSongwriterKey ¶
func DRCDTextSongwriterKey() uintptr
@const DRCDTextSongwriterKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSString, containing the track/disc songwriter.
func DRCDTextSpecialMessageKey ¶
func DRCDTextSpecialMessageKey() uintptr
@const DRCDTextSpecialMessageKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSString, containing a text message which may be displayed to the user by some players.
func DRCDTextTOC2Key ¶
func DRCDTextTOC2Key() uintptr
@const DRCDTextTOC2Key @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSData, containing additional table-of-contents information. This key is provided for output purposes only, when reading CD-Text from an existing disc. It is ignored when specified in a burn.
func DRCDTextTOCKey ¶
func DRCDTextTOCKey() uintptr
@const DRCDTextTOCKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSData, containing table-of-contents information. This key is provided for output purposes only, when reading CD-Text from an existing disc. It is ignored when specified in a burn.
func DRCDTextTitleKey ¶
func DRCDTextTitleKey() uintptr
@const DRCDTextTitleKey @discussion One of the keys for the track dictionaries in a CD-Text block. The value for this key is an NSString, containing the track/disc title.
func DRContentModificationDate ¶
func DRContentModificationDate() uintptr
@const DRContentModificationDate @discussion NSDate containing the item's content modification date.
func DRCopyDeviceArray ¶
func DRCopyLocalizedStringForAdditionalSense ¶
@function DRCopyLocalizedStringForAdditionalSense @abstract Maps the Additional Sense Code (ASC) and Additional Sense Key Qualifier (ASCQ) to a localized string. @discussion This function takes an ASC/ASCQ pair and finds the correct localized string corresponding to that pair. The function attempts to find the exact pair, followed by one of the range ASC codes. If neither of those can be found, it will determine if the pair is reserved or is a vendor specific pair and will return a string indicating that. If a localized string cannot be found, it will return the ASC and ASCQ codes as a string. @param ASC The Additional Sense Code generated by a device conforming the SCSI standard. @param ASCQ The Additional Sense Code Qualifier generated by a device conforming to the SCSI standard. @result A value of type CFStringRef containing the localized string. This reference is implicitly retained by the caller.
func DRCopyLocalizedStringForDiscRecordingError ¶
@function DRCopyLocalizedStringForDiscRecordingError @abstract Maps an operating system error code to a localized string. @discussion If a localized string cannot be found, this function returns the error code as a string. @param osError The OS error code. @result A value of type CFStringRef which contains the localized string. This reference is implicitly retained by the caller.
func DRCopyLocalizedStringForSenseCode ¶
@function DRCopyLocalizedStringForSenseCode @abstract Maps a SCSI sense code to a localized string. @discussion This function takes a sense code and finds the corresponding localized string. If a localized string cannot be found, it returns the sense code as a string. @param senseCode A sense code generated by a device conforming to the SCSI standard. @result A value of type CFStringRef containing the localized string. This reference is implicitly retained by the caller.
func DRCopyrightFile ¶
func DRCopyrightFile() uintptr
@const DRCopyrightFile @discussion DRFile pointing to the copyright file for ISO and Joliet volumes. The file must be in the root directory.
func DRCreationDate ¶
func DRCreationDate() uintptr
@const DRCreationDate @discussion NSDate containing the item's creation date.
func DRDVDCopyrightInfoKey ¶
func DRDVDCopyrightInfoKey() uintptr
@const DRDVDCopyrightInfoKey @discussion For DVD tracks only. NSData containing the DVD copyright info structure sent through the SEND DVD STRUCTURE command. The contents of this will be sent directly to the drive.
func DRDVDTimestampKey ¶
func DRDVDTimestampKey() uintptr
@const DRDVDTimestampKey @discussion For DVD tracks only. NSData containing the DVD timestamp structure sent through the SEND DVD STRUCTURE command. The contents of this will be sent directly to the drive.
func DRDataFormKey ¶
func DRDataFormKey() uintptr
@const DRDataFormKey @discussion NSNumber containing the data form of each block in the track. See the Mt. Fuji (INF-8090i) specification for CD/DVD devices for possible values for this property.
func DRDataPreparer ¶
func DRDataPreparer() uintptr
@const DRDataPreparer @discussion NSString indicating the data preparer for ISO and Joliet volumes.
func DRDefaultDate ¶
func DRDefaultDate() uintptr
@const DRDefaultDate @discussion NSDate containing the default date to use for any unspecified dates in the filesystem. The current date and time is used if unspecified.
func DRDeviceAppearedNotification ¶
func DRDeviceAppearedNotification() uintptr
@const DRDeviceAppearedNotification @discussion Posted by a @link //apple_ref/occ/cl/DRNotificationCenter DRNotificationCenter @/link when a device is added to the system. This notification is registered for only by name. The object associated with this notification is the the device that has appeared. The userInfo is the same dictionary returned by @link //apple_ref/occ/instm/DRDevice/info info @/link for that device.
func DRDeviceBurnSpeedBD1x ¶
func DRDeviceBurnSpeedBD1x() uintptr
@const DRDeviceBurnSpeedBD1x 4496.0 KB/sec.
func DRDeviceBurnSpeedCD1x ¶
func DRDeviceBurnSpeedCD1x() uintptr
@const DRDeviceBurnSpeedCD1x 176.4 KB/sec.
func DRDeviceBurnSpeedDVD1x ¶
func DRDeviceBurnSpeedDVD1x() uintptr
@const DRDeviceBurnSpeedDVD1x 1385.0 KB/sec.
func DRDeviceBurnSpeedHDDVD1x ¶
func DRDeviceBurnSpeedHDDVD1x() uintptr
@const DRDeviceBurnSpeedHDDVD1x 4568.0 KB/sec.
func DRDeviceBurnSpeedMax ¶
func DRDeviceBurnSpeedMax() uintptr
@const DRDeviceBurnSpeedMax @discussion A value representing the maximum speed at which a device can burn. The actual speed will vary from device to device.
func DRDeviceBurnSpeedsKey ¶
func DRDeviceBurnSpeedsKey() uintptr
@const DRDeviceBurnSpeedsKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/status status @/link method. NSArray containing the possible burn speeds available to use. This key may not be present if no media is inserted.
func DRDeviceCanTestWriteCDKey ¶
func DRDeviceCanTestWriteCDKey() uintptr
@const DRDeviceCanTestWriteCDKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can perform a test burn to CD media.
func DRDeviceCanTestWriteDVDKey ¶
func DRDeviceCanTestWriteDVDKey() uintptr
@const DRDeviceCanTestWriteDVDKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can perform a test burn to DVD media.
func DRDeviceCanUnderrunProtectCDKey ¶
func DRDeviceCanUnderrunProtectCDKey() uintptr
@const DRDeviceCanUnderrunProtectCDKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device supports burn underrun protection when writing to CD media.
func DRDeviceCanUnderrunProtectDVDKey ¶
func DRDeviceCanUnderrunProtectDVDKey() uintptr
@const DRDeviceCanUnderrunProtectDVDKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device supports burn underrun protection when writing to DVD media.
func DRDeviceCanWriteBDKey ¶
func DRDeviceCanWriteBDKey() uintptr
@const DRDeviceCanWriteBDKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to some type of BD (Blu-ray) based media.
func DRDeviceCanWriteBDREKey ¶
func DRDeviceCanWriteBDREKey() uintptr
@const DRDeviceCanWriteBDREKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to BD-RE media.
func DRDeviceCanWriteBDRKey ¶
func DRDeviceCanWriteBDRKey() uintptr
@const DRDeviceCanWriteBDRKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to BD-R media.
func DRDeviceCanWriteCDKey ¶
func DRDeviceCanWriteCDKey() uintptr
@const DRDeviceCanWriteCDKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to some type of CD based media.
func DRDeviceCanWriteCDRKey ¶
func DRDeviceCanWriteCDRKey() uintptr
@const DRDeviceCanWriteCDRKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to CD-R media.
func DRDeviceCanWriteCDRWKey ¶
func DRDeviceCanWriteCDRWKey() uintptr
@const DRDeviceCanWriteCDRWKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to CD-RW media.
func DRDeviceCanWriteCDRawKey ¶
func DRDeviceCanWriteCDRawKey() uintptr
@const DRDeviceCanWriteCDRawKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device supports a raw mode burn strategy for CD. Raw mode is sometimes incorrectly referred to as DAO (disc-at-once).
func DRDeviceCanWriteCDSAOKey ¶
func DRDeviceCanWriteCDSAOKey() uintptr
@const DRDeviceCanWriteCDSAOKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device supports a SAO (session-at-once) burn strategy for CD.
func DRDeviceCanWriteCDTAOKey ¶
func DRDeviceCanWriteCDTAOKey() uintptr
@const DRDeviceCanWriteCDTAOKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device supports a TAO (track-at-once) burn strategy for CD.
func DRDeviceCanWriteCDTextKey ¶
func DRDeviceCanWriteCDTextKey() uintptr
@const DRDeviceCanWriteCDTextKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write CD-Text information to media.
func DRDeviceCanWriteDVDDAOKey ¶
func DRDeviceCanWriteDVDDAOKey() uintptr
@const DRDeviceCanWriteDVDDAOKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device supports a DAO (disc-at-once) burn strategy on DVD media.
func DRDeviceCanWriteDVDKey ¶
func DRDeviceCanWriteDVDKey() uintptr
@const DRDeviceCanWriteDVDKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to some type of DVD based media.
func DRDeviceCanWriteDVDPlusRDoubleLayerKey ¶
func DRDeviceCanWriteDVDPlusRDoubleLayerKey() uintptr
@const DRDeviceCanWriteDVDPlusRDoubleLayerKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to DVD+R DL media.
func DRDeviceCanWriteDVDPlusRKey ¶
func DRDeviceCanWriteDVDPlusRKey() uintptr
@const DRDeviceCanWriteDVDPlusRKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to DVD+R media.
func DRDeviceCanWriteDVDPlusRWDoubleLayerKey ¶
func DRDeviceCanWriteDVDPlusRWDoubleLayerKey() uintptr
@const DRDeviceCanWriteDVDPlusRWDoubleLayerKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to DVD+RW DL media.
func DRDeviceCanWriteDVDPlusRWKey ¶
func DRDeviceCanWriteDVDPlusRWKey() uintptr
@const DRDeviceCanWriteDVDPlusRWKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to DVD+RW media.
func DRDeviceCanWriteDVDRAMKey ¶
func DRDeviceCanWriteDVDRAMKey() uintptr
@const DRDeviceCanWriteDVDRAMKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to DVD-RAM media.
func DRDeviceCanWriteDVDRDualLayerKey ¶
func DRDeviceCanWriteDVDRDualLayerKey() uintptr
@const DRDeviceCanWriteDVDRDualLayerKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to DVD-R DL media.
func DRDeviceCanWriteDVDRKey ¶
func DRDeviceCanWriteDVDRKey() uintptr
@const DRDeviceCanWriteDVDRKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to DVD-R media.
func DRDeviceCanWriteDVDRWDualLayerKey ¶
func DRDeviceCanWriteDVDRWDualLayerKey() uintptr
@const DRDeviceCanWriteDVDRWDualLayerKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to DVD-RW DL media.
func DRDeviceCanWriteDVDRWKey ¶
func DRDeviceCanWriteDVDRWKey() uintptr
@const DRDeviceCanWriteDVDRWKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to DVD-RW media.
func DRDeviceCanWriteHDDVDKey ¶
func DRDeviceCanWriteHDDVDKey() uintptr
@const DRDeviceCanWriteHDDVDKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to some type of HDDVD based media.
func DRDeviceCanWriteHDDVDRAMKey ¶
func DRDeviceCanWriteHDDVDRAMKey() uintptr
@const DRDeviceCanWriteHDDVDRAMKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to HD DVD-RAM media.
func DRDeviceCanWriteHDDVDRDualLayerKey ¶
func DRDeviceCanWriteHDDVDRDualLayerKey() uintptr
@const DRDeviceCanWriteHDDVDRDualLayerKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to HD DVD-R DL media.
func DRDeviceCanWriteHDDVDRKey ¶
func DRDeviceCanWriteHDDVDRKey() uintptr
@const DRDeviceCanWriteHDDVDRKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to HD DVD-R media.
func DRDeviceCanWriteHDDVDRWDualLayerKey ¶
func DRDeviceCanWriteHDDVDRWDualLayerKey() uintptr
@const DRDeviceCanWriteHDDVDRWDualLayerKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to HD DVD-RW DL media.
func DRDeviceCanWriteHDDVDRWKey ¶
func DRDeviceCanWriteHDDVDRWKey() uintptr
@const DRDeviceCanWriteHDDVDRWKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to HD DVD-RW media.
func DRDeviceCanWriteISRCKey ¶
func DRDeviceCanWriteISRCKey() uintptr
@const DRDeviceCanWriteISRCKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write ISRC to CD media.
func DRDeviceCanWriteIndexPointsKey ¶
func DRDeviceCanWriteIndexPointsKey() uintptr
@const DRDeviceCanWriteIndexPointsKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write index points to CD media.
func DRDeviceCanWriteKey ¶
func DRDeviceCanWriteKey() uintptr
@const DRDeviceCanWriteKey @discussion One of the keys in the @link DRDeviceWriteCapabilitiesKey DRDeviceWriteCapabilitiesKey @/link dictionary. NSNumber containing a boolean value indicating whether the device can write to some type of media.
func DRDeviceCloseTray ¶
func DRDeviceCurrentWriteSpeedKey ¶
func DRDeviceCurrentWriteSpeedKey() uintptr
@const DRDeviceCurrentWriteSpeedKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/status status @/link method. NSNumber containing the current burning speed of this device.
func DRDeviceDevices ¶
func DRDeviceDevices() *foundation.NSArray[objc.ID]
@method devices @abstract Obtains a static list of devices connected to the computer. @discussion Returns all CD/DVD devices connected to the computer at the time this method is called. Since devices can come and go at any time, the output of this method is simply a snapshot of the set of devices connected. @result An NSArray of DRDevices.
func DRDeviceDisappearedNotification ¶
func DRDeviceDisappearedNotification() uintptr
@const DRDeviceDisappearedNotification @discussion Posted by a @link //apple_ref/occ/cl/DRNotificationCenter DRNotificationCenter @/link when a device is removed from the system. The object associated with this notification is the the device that has disappeared. The userInfo is the same dictionary returned by @link //apple_ref/occ/instm/DRDevice/info info @/link for that device.
func DRDeviceEjectMedia ¶
func DRDeviceFirmwareRevisionKey ¶
func DRDeviceFirmwareRevisionKey() uintptr
@const DRDeviceFirmwareRevisionKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSString containing the firmeware revision extracted from the device.
func DRDeviceGetTypeID ¶
func DRDeviceGetTypeID() uint
func DRDeviceIORegistryEntryPathKey ¶
func DRDeviceIORegistryEntryPathKey() uintptr
@const DRDeviceIORegistryEntryPathKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSString containing the path of the device in the IO Registry.
func DRDeviceIsBusyKey ¶
func DRDeviceIsBusyKey() uintptr
@const DRDeviceIsBusyKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/status status @/link method. NSNumber containing a boolean value indicating whether the device is busy or not.
func DRDeviceIsTrayOpenKey ¶
func DRDeviceIsTrayOpenKey() uintptr
@const DRDeviceIsTrayOpenKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/status status @/link method. NSNumber containing a boolean value indicating whether the device's tray is open or not.
func DRDeviceIsValid ¶
func DRDeviceKPSForXFactor ¶
func DRDeviceLoadingMechanismCanEjectKey ¶
func DRDeviceLoadingMechanismCanEjectKey() uintptr
@const DRDeviceLoadingMechanismCanEjectKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSNumber describing if the loading mechanism of the drive can eject.
func DRDeviceLoadingMechanismCanInjectKey ¶
func DRDeviceLoadingMechanismCanInjectKey() uintptr
@const DRDeviceLoadingMechanismCanInjectKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSNumber describing if the loading mechanism of the drive can inject.
func DRDeviceLoadingMechanismCanOpenKey ¶
func DRDeviceLoadingMechanismCanOpenKey() uintptr
@const DRDeviceLoadingMechanismCanOpenKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSNumber describing if the loading mechanism of the drive can open.
func DRDeviceMaximumWriteSpeedKey ¶
func DRDeviceMaximumWriteSpeedKey() uintptr
@const DRDeviceMaximumWriteSpeedKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/status status @/link method. NSNumber containing the maximum burning speed of this device.
func DRDeviceMediaBSDNameKey ¶
func DRDeviceMediaBSDNameKey() uintptr
@const DRDeviceMediaBSDNameKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSString containing the BSD /dev node name assigned to the media in the device.
func DRDeviceMediaBlocksFreeKey ¶
func DRDeviceMediaBlocksFreeKey() uintptr
@const DRDeviceMediaBlocksFreeKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing the amount of space available (in blocks) on the media to be written to. If the media already contains data and this value will be less than the normal maximum size of the disc. This value will normally only be used if the intent is to append data onto an open disc.
func DRDeviceMediaBlocksOverwritableKey ¶
func DRDeviceMediaBlocksOverwritableKey() uintptr
@const DRDeviceMediaBlocksOverwritableKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing the total amount of writable space available (in blocks) on the media to be written to - if that media can be overwritten. Media that can be overwitten is designated through the @link DRDeviceMediaIsOverwritableKey DRDeviceMediaIsOverwritableKey @/link. The overwritable space is the amount of space on the disc that would be available if any data currently on the disc is first erased.
func DRDeviceMediaBlocksUsedKey ¶
func DRDeviceMediaBlocksUsedKey() uintptr
@const DRDeviceMediaBlocksUsedKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing the amount of space currently used (in blocks) for exising data.
func DRDeviceMediaClassBD ¶
func DRDeviceMediaClassBD() uintptr
@const DRDeviceMediaClassBD @discussion One possible value of the @link DRDeviceMediaClassKey DRDeviceMediaClassKey @/link. Indicates the media is some type of BD (Blu-ray) based media.
func DRDeviceMediaClassCD ¶
func DRDeviceMediaClassCD() uintptr
@const DRDeviceMediaClassCD @discussion One possible value of the @link DRDeviceMediaClassKey DRDeviceMediaClassKey @/link. Indicates the media is some type of CD based media.
func DRDeviceMediaClassDVD ¶
func DRDeviceMediaClassDVD() uintptr
@const DRDeviceMediaClassDVD @discussion One possible value of the @link DRDeviceMediaClassKey DRDeviceMediaClassKey @/link. Indicates the media is some type of DVD based media.
func DRDeviceMediaClassHDDVD ¶
func DRDeviceMediaClassHDDVD() uintptr
@const DRDeviceMediaClassHDDVD @discussion One possible value of the @link DRDeviceMediaClassKey DRDeviceMediaClassKey @/link. Indicates the media is some type of HD DVD based media.
func DRDeviceMediaClassKey ¶
func DRDeviceMediaClassKey() uintptr
@const DRDeviceMediaClassKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSString containing the class of media present in the drive.
func DRDeviceMediaClassUnknown ¶
func DRDeviceMediaClassUnknown() uintptr
@const DRDeviceMediaClassUnknown @discussion One possible value of the @link DRDeviceMediaClassKey DRDeviceMediaClassKey @/link. Indicates the media class is unknown.
func DRDeviceMediaDoubleLayerL0DataZoneBlocksKey ¶
func DRDeviceMediaDoubleLayerL0DataZoneBlocksKey() uintptr
@const DRDeviceMediaDoubleLayerL0DataZoneBlocksKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing the amount of space available (in blocks) on layer 0 of a double layer piece of media.
func DRDeviceMediaFreeSpaceKey ¶
func DRDeviceMediaFreeSpaceKey() uintptr
@const DRDeviceMediaFreeSpaceKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. MSF value of the amount of space available on the media to be written to. If the media already contains data and this value will be less than the normal maximum size of the disc. This value will normally only be used if the intent is to append data onto an open disc.
func DRDeviceMediaInfoKey ¶
func DRDeviceMediaInfoKey() uintptr
@const DRDeviceMediaInfoKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/status status @/link method. NSDictionary of information describing the media currently in the device. This key may not be present if no media is inserted.
func DRDeviceMediaIsAppendableKey ¶
func DRDeviceMediaIsAppendableKey() uintptr
@const DRDeviceMediaIsAppendableKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing a boolean value indicating that data can be appended to the exisiting data (if any).
func DRDeviceMediaIsBlankKey ¶
func DRDeviceMediaIsBlankKey() uintptr
@const DRDeviceMediaIsBlankKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing a boolean value indicating whether data has previously been written to the media.
func DRDeviceMediaIsErasableKey ¶
func DRDeviceMediaIsErasableKey() uintptr
@const DRDeviceMediaIsErasableKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing a boolean value indicating whether this media can be erased.
func DRDeviceMediaIsOverwritableKey ¶
func DRDeviceMediaIsOverwritableKey() uintptr
@const DRDeviceMediaIsOverwritableKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing a boolean value indicating that the data on the disc (if any) can be overwritten. Rewritable media can always be erased, and then rewritten in its entirety, so it is always considered overwritable. Write-once media, if its blank, can also be written in its entirety and is also considered overwritable. Write-once media, that has been partially written, can never again enter a state where it is entirely writable and will have lost its overwritable designation.
func DRDeviceMediaIsReservedKey ¶
func DRDeviceMediaIsReservedKey() uintptr
@const DRDeviceMediaIsReservedKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing a boolean value indicating whether the media is reserved for exclusive use by the current process.
func DRDeviceMediaOverwritableSpaceKey ¶
func DRDeviceMediaOverwritableSpaceKey() uintptr
@const DRDeviceMediaOverwritableSpaceKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. MSF value of the amount of writable space available on the media to be written to - if that media can be overwritten. Media that can be overwitten is designated through the @link DRDeviceMediaIsOverwritableKey DRDeviceMediaIsOverwritableKey @/link. The overwritable space is the amount of space on the disc that would be available if any data currently on the disc is first erased.
func DRDeviceMediaSessionCountKey ¶
func DRDeviceMediaSessionCountKey() uintptr
@const DRDeviceMediaSessionCountKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing the current number of sessions present on the media.
func DRDeviceMediaStateInTransition ¶
func DRDeviceMediaStateInTransition() uintptr
@const DRDeviceMediaStateInTransition @discussion One of the possible values for the @link DRDeviceMediaStateKey DRDeviceMediaStateKey @/link. The media is transitioning from one state to another (i.e., being spun up/down).
func DRDeviceMediaStateKey ¶
func DRDeviceMediaStateKey() uintptr
@const DRDeviceMediaStateKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/status status @/link method. NSString describing the state of the media.
func DRDeviceMediaStateMediaPresent ¶
func DRDeviceMediaStateMediaPresent() uintptr
@const DRDeviceMediaStateMediaPresent @discussion One of the possible values for the @link DRDeviceMediaStateKey DRDeviceMediaStateKey @/link. Device contains media of some type.
func DRDeviceMediaStateNone ¶
func DRDeviceMediaStateNone() uintptr
@const DRDeviceMediaStateNone @discussion One of the possible values for the @link DRDeviceMediaStateKey DRDeviceMediaStateKey @/link. No media is present in the device.
func DRDeviceMediaTrackCountKey ¶
func DRDeviceMediaTrackCountKey() uintptr
@const DRDeviceMediaTrackCountKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSNumber containing the number of tracks present on the media.
func DRDeviceMediaTypeBDR ¶
func DRDeviceMediaTypeBDR() uintptr
@const DRDeviceMediaTypeBDR @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a BD-R.
func DRDeviceMediaTypeBDRE ¶
func DRDeviceMediaTypeBDRE() uintptr
@const DRDeviceMediaTypeBDRE @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a BD-RE.
func DRDeviceMediaTypeBDROM ¶
func DRDeviceMediaTypeBDROM() uintptr
@const DRDeviceMediaTypeBDROM @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a BD-ROM.
func DRDeviceMediaTypeCDR ¶
func DRDeviceMediaTypeCDR() uintptr
@const DRDeviceMediaTypeCDR @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a CD-R.
func DRDeviceMediaTypeCDROM ¶
func DRDeviceMediaTypeCDROM() uintptr
@const DRDeviceMediaTypeCDROM @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a CD-ROM.
func DRDeviceMediaTypeCDRW ¶
func DRDeviceMediaTypeCDRW() uintptr
@const DRDeviceMediaTypeCDRW @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a CD-RW.
func DRDeviceMediaTypeDVDPlusR ¶
func DRDeviceMediaTypeDVDPlusR() uintptr
@const DRDeviceMediaTypeDVDPlusR @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD+R.
func DRDeviceMediaTypeDVDPlusRDoubleLayer ¶
func DRDeviceMediaTypeDVDPlusRDoubleLayer() uintptr
@const DRDeviceMediaTypeDVDPlusRDoubleLayer @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD+R Double Layer.
func DRDeviceMediaTypeDVDPlusRW ¶
func DRDeviceMediaTypeDVDPlusRW() uintptr
@const DRDeviceMediaTypeDVDPlusRW @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD+RW.
func DRDeviceMediaTypeDVDPlusRWDoubleLayer ¶
func DRDeviceMediaTypeDVDPlusRWDoubleLayer() uintptr
@const DRDeviceMediaTypeDVDPlusRWDoubleLayer @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD+RW Double Layer.
func DRDeviceMediaTypeDVDR ¶
func DRDeviceMediaTypeDVDR() uintptr
@const DRDeviceMediaTypeDVDR @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD-R.
func DRDeviceMediaTypeDVDRAM ¶
func DRDeviceMediaTypeDVDRAM() uintptr
@const DRDeviceMediaTypeDVDRAM @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD-RAM.
func DRDeviceMediaTypeDVDRDualLayer ¶
func DRDeviceMediaTypeDVDRDualLayer() uintptr
@const DRDeviceMediaTypeDVDRDualLayer @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD-R DL.
func DRDeviceMediaTypeDVDROM ¶
func DRDeviceMediaTypeDVDROM() uintptr
@const DRDeviceMediaTypeDVDROM @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD-ROM.
func DRDeviceMediaTypeDVDRW ¶
func DRDeviceMediaTypeDVDRW() uintptr
@const DRDeviceMediaTypeDVDRW @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD-RW.
func DRDeviceMediaTypeDVDRWDualLayer ¶
func DRDeviceMediaTypeDVDRWDualLayer() uintptr
@const DRDeviceMediaTypeDVDRWDualLayer @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a DVD-RW DL.
func DRDeviceMediaTypeHDDVDR ¶
func DRDeviceMediaTypeHDDVDR() uintptr
@const DRDeviceMediaTypeHDDVDR @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a HD DVD-R.
func DRDeviceMediaTypeHDDVDRAM ¶
func DRDeviceMediaTypeHDDVDRAM() uintptr
@const DRDeviceMediaTypeHDDVDRAM @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a HD DVD-RAM.
func DRDeviceMediaTypeHDDVDRDualLayer ¶
func DRDeviceMediaTypeHDDVDRDualLayer() uintptr
@const DRDeviceMediaTypeHDDVDRDualLayer @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a HD DVD-R DL.
func DRDeviceMediaTypeHDDVDROM ¶
func DRDeviceMediaTypeHDDVDROM() uintptr
@const DRDeviceMediaTypeHDDVDROM @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a HD DVD-ROM.
func DRDeviceMediaTypeHDDVDRW ¶
func DRDeviceMediaTypeHDDVDRW() uintptr
@const DRDeviceMediaTypeHDDVDRW @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a HD DVD-RW.
func DRDeviceMediaTypeHDDVDRWDualLayer ¶
func DRDeviceMediaTypeHDDVDRWDualLayer() uintptr
@const DRDeviceMediaTypeHDDVDRWDualLayer @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. Media is a HD DVD-RW DL.
func DRDeviceMediaTypeKey ¶
func DRDeviceMediaTypeKey() uintptr
@const DRDeviceMediaTypeKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. NSString containing the type of media inserted in the device.
func DRDeviceMediaTypeUnknown ¶
func DRDeviceMediaTypeUnknown() uintptr
@const DRDeviceMediaTypeUnknown @discussion One of the possible values of the @link DRDeviceMediaTypeKey DRDeviceMediaTypeKey @/link. The type of the media cannot be determined.
func DRDeviceMediaUsedSpaceKey ¶
func DRDeviceMediaUsedSpaceKey() uintptr
@const DRDeviceMediaUsedSpaceKey @discussion One of the keys in the @link DRDeviceMediaInfoKey DRDeviceMediaInfoKey @/link dictionary. MSF value of the amount of space currently used for exising data.
func DRDeviceOpenTray ¶
func DRDevicePhysicalInterconnectATAPI ¶
func DRDevicePhysicalInterconnectATAPI() uintptr
@const DRDevicePhysicalInterconnectATAPI @discussion One of the possible values of the @link DRDevicePhysicalInterconnectKey DRDevicePhysicalInterconnectKey @/link. Device is connected on an ATAPI interface.
func DRDevicePhysicalInterconnectFibreChannel ¶
func DRDevicePhysicalInterconnectFibreChannel() uintptr
@const DRDevicePhysicalInterconnectFibreChannel @discussion One of the possible values of the @link DRDevicePhysicalInterconnectKey DRDevicePhysicalInterconnectKey @/link. Device is connected through a Fibre Channel interface.
func DRDevicePhysicalInterconnectFireWire ¶
func DRDevicePhysicalInterconnectFireWire() uintptr
@const DRDevicePhysicalInterconnectFireWire @discussion One of the possible values of the @link DRDevicePhysicalInterconnectKey DRDevicePhysicalInterconnectKey @/link. Device is connected through a Firewire interface.
func DRDevicePhysicalInterconnectKey ¶
func DRDevicePhysicalInterconnectKey() uintptr
@const DRDevicePhysicalInterconnectKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSString describing the connection of the device to the computer.
func DRDevicePhysicalInterconnectLocationExternal ¶
func DRDevicePhysicalInterconnectLocationExternal() uintptr
@const DRDevicePhysicalInterconnectLocationExternal @discussion One of the possible values of the @link DRDevicePhysicalInterconnectLocationKey DRDevicePhysicalInterconnectLocationKey @/link. Device is connected to the machine externally.
func DRDevicePhysicalInterconnectLocationInternal ¶
func DRDevicePhysicalInterconnectLocationInternal() uintptr
@const DRDevicePhysicalInterconnectLocationInternal @discussion One of the possible values of the @link DRDevicePhysicalInterconnectLocationKey DRDevicePhysicalInterconnectLocationKey @/link. Device is connected to the machine internally.
func DRDevicePhysicalInterconnectLocationKey ¶
func DRDevicePhysicalInterconnectLocationKey() uintptr
@const DRDevicePhysicalInterconnectLocationKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSString describing the location of the device (e.g. internal/external).
func DRDevicePhysicalInterconnectLocationUnknown ¶
func DRDevicePhysicalInterconnectLocationUnknown() uintptr
@const DRDevicePhysicalInterconnectLocationUnknown @discussion One of the possible values of the @link DRDevicePhysicalInterconnectLocationKey DRDevicePhysicalInterconnectLocationKey @/link. It's not known how the device is connected.
func DRDevicePhysicalInterconnectSCSI ¶
func DRDevicePhysicalInterconnectSCSI() uintptr
@const DRDevicePhysicalInterconnectSCSI @discussion One of the possible values of the @link DRDevicePhysicalInterconnectKey DRDevicePhysicalInterconnectKey @/link. Device is connected on a SCSI interface.
func DRDevicePhysicalInterconnectUSB ¶
func DRDevicePhysicalInterconnectUSB() uintptr
@const DRDevicePhysicalInterconnectUSB @discussion One of the possible values of the @link DRDevicePhysicalInterconnectKey DRDevicePhysicalInterconnectKey @/link. Device is connected through a USB interface.
func DRDeviceProductNameKey ¶
func DRDeviceProductNameKey() uintptr
@const DRDeviceProductNameKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSString containing the product name extracted from the device.
func DRDeviceStatusChangedNotification ¶
func DRDeviceStatusChangedNotification() uintptr
@const DRDeviceStatusChangedNotification @discussion Posted by a @link //apple_ref/occ/cl/DRNotificationCenter DRNotificationCenter @/link when the media in a device changes state. This can include being ejected, inserted, becoming busy, etc. The object for this notification is the device who's media is changing state. The userInfo for this notification is the same dictionary returned by @link //apple_ref/occ/instm/DRDevice/status status @/link for that device.
func DRDeviceSupportLevelAppleShipping ¶
func DRDeviceSupportLevelAppleShipping() uintptr
@const DRDeviceSupportLevelAppleShipping @discussion One of the values for @link DRDeviceSupportLevelKey DRDeviceSupportLevelKey @/link. This value indicates this device is shipping in some Apple machine.
func DRDeviceSupportLevelAppleSupported ¶
func DRDeviceSupportLevelAppleSupported() uintptr
@const DRDeviceSupportLevelAppleSupported @discussion One of the values for @link DRDeviceSupportLevelKey DRDeviceSupportLevelKey @/link. This value indicates this device has been tested by Apple for support.
func DRDeviceSupportLevelKey ¶
func DRDeviceSupportLevelKey() uintptr
@const DRDeviceSupportLevelKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSString describing the support level the device enjoys from the engine.
func DRDeviceSupportLevelNone ¶
func DRDeviceSupportLevelNone() uintptr
@const DRDeviceSupportLevelNone @discussion One of the values for @link DRDeviceSupportLevelKey DRDeviceSupportLevelKey @/link. This value indicates this device is not supported.
func DRDeviceSupportLevelUnsupported ¶
func DRDeviceSupportLevelUnsupported() uintptr
@const DRDeviceSupportLevelUnsupported @discussion One of the values for @link DRDeviceSupportLevelKey DRDeviceSupportLevelKey @/link. This value indicates the device is unsupported, but the engine will try to use it anyway.
func DRDeviceSupportLevelVendorSupported ¶
func DRDeviceSupportLevelVendorSupported() uintptr
@const DRDeviceSupportLevelVendorSupported @discussion One of the values for @link DRDeviceSupportLevelKey DRDeviceSupportLevelKey @/link. This value indicates this device has been tested by a third party for support.
func DRDeviceTrackInfoKey ¶
func DRDeviceTrackInfoKey() uintptr
@const DRDeviceTrackInfoKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/status status @/link method. NSDictionary containing NSDictionaries describing the tracks. @link //apple_ref/occ/cl/DRTrack DRTracks @/link from the @link DRDeviceTrackRefsKey DRDeviceTrackRefsKey @/link are used as keys into this dictionary.
func DRDeviceTrackRefsKey ¶
func DRDeviceTrackRefsKey() uintptr
@const DRDeviceTrackRefsKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/status status @/link method. NSArray containing a list of @link //apple_ref/occ/cl/DRTrack DRTrack @/link objects describing any tracks that are already on the disc.
func DRDeviceVendorNameKey ¶
func DRDeviceVendorNameKey() uintptr
@const DRDeviceVendorNameKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSString containing the vendor name extracted from the device.
func DRDeviceWriteBufferSizeKey ¶
func DRDeviceWriteBufferSizeKey() uintptr
@const DRDeviceWriteBufferSizeKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSNumber containing the size of the write buffer of the device.
func DRDeviceWriteCapabilitiesKey ¶
func DRDeviceWriteCapabilitiesKey() uintptr
@const DRDeviceWriteCapabilitiesKey @discussion One of the keys in the dictionary returned by the @link //apple_ref/occ/instm/DRDevice/info info @/link method. NSDictionary containing the capabilities of the device for writing different kinds of media.
func DRDeviceXFactorForKPS ¶
func DREffectiveDate ¶
func DREffectiveDate() uintptr
@const DREffectiveDate @discussion NSDate containing the item's effective date.
func DREraseGetTypeID ¶
func DREraseGetTypeID() uint
func DREraseSetProperties ¶
func DREraseStart ¶
func DREraseStatusChangedNotification ¶
func DREraseStatusChangedNotification() uintptr
func DREraseTypeComplete ¶
func DREraseTypeComplete() uintptr
@const DREraseTypeComplete @discussion An NString value for the @link DREraseTypeKey DREraseTypeKey @/link. Configures the erase object to perform a complete erase, erasing every byte on the disk. This operation is slow (on the order of 30 minutes) to complete.
func DREraseTypeKey ¶
func DREraseTypeKey() uintptr
@const DREraseTypeKey @discussion The key for the erase's properties dictionary storing the type of erase to perform
func DREraseTypeQuick ¶
func DREraseTypeQuick() uintptr
func DRErrorStatusAdditionalSenseStringKey ¶
func DRErrorStatusAdditionalSenseStringKey() uintptr
@const DRErrorStatusAdditionalSenseStringKey @discussion An NSString describing the RBC additional sense code and additional sense code qualifier pair returned by the device. If no sense is reported, this key will not be present.
func DRErrorStatusErrorInfoStringKey ¶
func DRErrorStatusErrorInfoStringKey() uintptr
@const DRErrorStatusErrorInfoStringKey @discussion An NSString describing extended error information in a user appropriate manner.
func DRErrorStatusErrorKey ¶
func DRErrorStatusErrorKey() uintptr
@const DRErrorStatusErrorKey @discussion An NSNumber containing the OS error code for the error.
func DRErrorStatusErrorStringKey ¶
func DRErrorStatusErrorStringKey() uintptr
@const DRErrorStatusErrorStringKey @discussion An NSString describing the error in a user appropriate manner.
func DRErrorStatusKey ¶
func DRErrorStatusKey() uintptr
@const DRErrorStatusKey @discussion The key in the status dictionary for the error dictionary.
func DRErrorStatusSenseCodeStringKey ¶
func DRErrorStatusSenseCodeStringKey() uintptr
@const DRErrorStatusSenseCodeStringKey @discussion An NSString describing the RBC sense code returned by the device. If no sense is reported, this key will not be present.
func DRErrorStatusSenseKey ¶
func DRErrorStatusSenseKey() uintptr
@const DRErrorStatusSenseKey @discussion An NSData object containing the raw RBC sense information structure reported by the device. If no sense is reported, this key will not be present.
func DRExpirationDate ¶
func DRExpirationDate() uintptr
@const DRExpirationDate @discussion NSDate containing the item's expiration date.
func DRFSObjectGetRealFSRef ¶
func DRFSObjectGetRealFSRef(object unsafe.Pointer, fsRef *carboncore.FSRef)
func DRFSObjectIsVirtual ¶
func DRFSObjectSetBaseName ¶
func DRFileCreateReal ¶
func DRFileCreateReal(fsRef *carboncore.FSRef) unsafe.Pointer
func DRFileCreateVirtualLink ¶
func DRFileGetTypeID ¶
func DRFileGetTypeID() uint
func DRFilesystemTrackCreate ¶
func DRFolderCountChildren ¶
func DRFolderCreateReal ¶
func DRFolderCreateReal(fsRef *carboncore.FSRef) unsafe.Pointer
func DRFolderGetTypeID ¶
func DRFolderGetTypeID() uint
func DRFreeBlocksKey ¶
func DRFreeBlocksKey() uintptr
@const DRFreeBlocksKey @discussion NSNumber containing the length, in blocks, which is still available in a writable track.
func DRGetVersion ¶
func DRHFSPlus ¶
func DRHFSPlus() uintptr
@const DRHFSPlus @discussion The key for accessing the HFS+ name/properties for the file. HFS+ names can be up to 255 decomposed unicode characters long.
func DRHFSPlusCatalogNodeID ¶
func DRHFSPlusCatalogNodeID() uintptr
@const DRHFSPlusCatalogNodeID @discussion NSNumber containing item's catalog node ID (HFS+ only). Currently, this value if set is only a suggestion. The burn engine will attempt to use this node ID, but may use another value if it needs to resolve conflicts. Default behavior is to allocate node IDs incrementally from @link //apple_ref/c/econst/kHFSFirstUserCatalogNodeID kHFSFirstUserCatalogNodeID @/link.
func DRHFSPlusTextEncodingHint ¶
func DRHFSPlusTextEncodingHint() uintptr
@const DRHFSPlusTextEncodingHint @discussion NSNumber containing the item's text encoding hint (HFS+ only). This value is used by the MacOS to help when converting the natively UTF-16 filename into an 8-bit-per-character representation (such as MacRoman, Shift-JIS, or UTF8). If not set, default behavior is to call @link //apple_ref/c/func/CFStringGetMostCompatibleMacStringEncoding CFStringGetMostCompatibleMacStringEncoding @/link(@link //apple_ref/c/func/CFStringGetSmallestEncoding CFStringGetSmallestEncoding @/link()).
func DRISO9660 ¶
func DRISO9660() uintptr
@const DRISO9660 @discussion The key for accessing the ISO-9660 properties for the file. This key is used to refer specifically to the properties for the file. This key cannot be used to refer to the name of the file; it is ambiguous, since the name may be in either level 1 or level 2 format.
func DRISO9660LevelOne ¶
func DRISO9660LevelOne() uintptr
@const DRISO9660LevelOne @discussion The key for accessing the ISO-9660 level 1 name for the file. This key is used to refer specifically to the name generated for ISO-9660 if the ISO level is set to 1. When used for a property, it is equivalent in use to the @link DRISO9660 DRISO9660 @/link key and acts as a synonym for that key. ISO9660 level 1 names are in the form typically known as 8.3 - eight characters of name and three characters of extension (if it's a file; directories can't have extensions). Character set is limited to A-Z, 0-9, and _.
func DRISO9660LevelTwo ¶
func DRISO9660LevelTwo() uintptr
@const DRISO9660LevelTwo @discussion The key for accessing the ISO-9660 level 2 name for the file. This key is used to refer specifically to the name generated for ISO-9660 if the ISO level is set to 2. When used for a property, it is equivalent in use to the @link DRISO9660 DRISO9660 @/link key and acts as a synonym for that key. ISO9660 level 2 names can be 32 chars long, are limited to a subset of the 7-bit ASCII chars (capital letters, numbers, space, punctuation), and are only allowed one "." character.
func DRISO9660VersionNumber ¶
func DRISO9660VersionNumber() uintptr
@const DRISO9660VersionNumber @discussion NSNumber containing the ISO9660 version number for the object. Default value is 1.
func DRISOLevel ¶
func DRISOLevel() uintptr
@const DRISOLevel @discussion NSNumber containing the ISO level of the ISO-9660 filesystem on the track. Currently should be 1 or 2.
func DRISOMacExtensions ¶
func DRISOMacExtensions() uintptr
@const DRISOMacExtensions @discussion NSBoolean indicating whether the track should have Mac extensions.
func DRISORockRidgeExtensions ¶
func DRISORockRidgeExtensions() uintptr
@const DRISORockRidgeExtensions @discussion NSBoolean indicating whether the track should have RockRidge (POSIX) extensions.
func DRIndexPointsKey ¶
func DRIndexPointsKey() uintptr
@const DRIndexPointsKey @discussion For CD tracks only. This key points to an NSArray of NSNumbers, indicating the index points inside the track. Each index point is specified as a number of blocks (frames) relative to the start of the track. There are 75 blocks in one second of CD audio. No more than 98 index points may be specified for a track. Not all drives are capable of writing index points, and not all consumer CD players report or use them. If this key is present in any track and the drive cannot write index points, the burn will fail with @link //apple_ref/c/econst/kDRDeviceCantWriteIndexPointsErr kDRDeviceCantWriteIndexPointsErr @/link.
func DRInvisible ¶
func DRInvisible() uintptr
@const DRInvisible @discussion NSBoolean indicating whether the item is invisibile or not.
func DRJoliet ¶
func DRJoliet() uintptr
@const DRJoliet @discussion The key for accessing the Joliet name/properties for the file. Joliet names can be 64 precomposed unicode characters long, but are only allowed one "." character and many punctuation characters are illegal.
func DRLinkTypeFinderAlias ¶
func DRLinkTypeFinderAlias() uintptr
@const DRLinkTypeFinderAlias @discussion A Finder alias.
func DRLinkTypeHardLink ¶
func DRLinkTypeHardLink() uintptr
@const DRLinkTypeHardLink @discussion A hard link.
func DRLinkTypeSymbolicLink ¶
func DRLinkTypeSymbolicLink() uintptr
@const DRLinkTypeSymbolicLink @discussion A symbolic link.
func DRMacExtendedFinderFlags ¶
func DRMacExtendedFinderFlags() uintptr
@const DRMacExtendedFinderFlags @discussion NSNumber containing the item's extended Finder flags (MacOS only).
func DRMacFileCreator ¶
func DRMacFileCreator() uintptr
@const DRMacFileCreator @discussion NSData containing the OSType for the file creator (MacOS only).
func DRMacFileType ¶
func DRMacFileType() uintptr
@const DRMacFileType @discussion NSData containing the OSType for the file type (MacOS only).
func DRMacFinderFlags ¶
func DRMacFinderFlags() uintptr
@const DRMacFinderFlags @discussion NSNumber containing the item's Finder flags (MacOS only). The invisible bit is ignored - use DRInvisible instead.
func DRMacFinderHideExtension ¶
func DRMacFinderHideExtension() uintptr
@const DRMacFinderHideExtension @discussion A BOOL indicating whether the extension should be hidden in the Finder or not. The default is false and only applies to files.
func DRMacIconLocation ¶
func DRMacIconLocation() uintptr
@const DRMacIconLocation @discussion NSData containing a Point (not NSPoint) for the item's icon location in its parent folder (MacOS only).
func DRMacScrollPosition ¶
func DRMacScrollPosition() uintptr
@const DRMacScrollPosition @discussion NSData containing a Point (not NSPoint) for the folder's scroll position (MacOS only).
func DRMacWindowBounds ¶
func DRMacWindowBounds() uintptr
@const DRMacWindowBounds @discussion NSData containing a Rect (not NSRect) for the window bounds for a folder (MacOS only).
func DRMacWindowView ¶
func DRMacWindowView() uintptr
@const DRMacWindowView @discussion NSNumber containing the folder's window view type (MacOS only).
func DRMaxBurnSpeedKey ¶
func DRMaxBurnSpeedKey() uintptr
@const DRMaxBurnSpeedKey @discussion NSNumber containing the maximum burn speed at which data can be produced. The speed is represented in KB/s (1 KB = 1000 bytes). This key can only be used to limit the speed at which the burn runs.
func DRMediaCatalogNumberKey ¶
func DRMediaCatalogNumberKey() uintptr
@const DRMediaCatalogNumberKey @discussion The burn property whose value is an NSData containing exactly 13 bytes of data, which will be written to the disc as the Media Catalog Number. If this key is not present, it will default to all zeroes, indicating that a MCN is not supplied. This value is the UPC/EAN product number, and should conform to the specifications of the UCC and EAN. See <a href="http://www.ean-int.org/">http://www.ean-int.org/</a> and <a href="http://www.uc-council.org/">http://www.uc-council.org/</a> for more details on the UPC/EAN standard.
func DRNextWritableAddressKey ¶
func DRNextWritableAddressKey() uintptr
@const DRNextWritableAddressKey @discussion NSNumber containing the LBA of the next writable address in the track. This key is not present in closed tracks.
func DRNotificationCenterGetTypeID ¶
func DRNotificationCenterGetTypeID() uint
func DRPosixFileMode ¶
func DRPosixFileMode() uintptr
@const DRPosixFileMode @discussion NSNumber containing the item's POSIX file mode.
func DRPosixGID ¶
func DRPosixGID() uintptr
@const DRPosixGID @discussion NSNumber containing the item's POSIX GID.
func DRPosixUID ¶
func DRPosixUID() uintptr
@const DRPosixUID @discussion NSNumber containing the item's POSIX UID.
func DRPreGapIsRequiredKey ¶
func DRPreGapIsRequiredKey() uintptr
@const DRPreGapIsRequiredKey @discussion For CD tracks only. NSNumber indicating whether the pregap listed for the track is required. If this key is not present, the track will behave as though the key were <i>NO</i>. If this key's value is set to <i>YES</i> and the device does not support the exact pregap length, the burn will fail with a return value of @link //apple_ref/c/econst/kDRDevicePregapLengthNotAvailableErr kDRDevicePregapLengthNotAvailableErr @/link. If this key's value is set to <i>YES</i> and the device does not support any of the suggested pregap length, the engine will choose an alternate pregap length.
func DRPreGapLengthKey ¶
func DRPreGapLengthKey() uintptr
@const DRPreGapLengthKey @discussion For CD tracks only. NSNumber containing the length of silence or data at the beginning of the track. This defaults to 2 seconds of silence. If this key is present, the track producer will be asked for the pregap data first. If the producer implements the proper selector, then it's the responsibility of the producer to provide data for the pregap, otherwise that length of silence will be produced by Disc Recording.
func DRPublisher ¶
func DRPublisher() uintptr
@const DRPublisher @discussion NSString indicating the publisher for ISO and Joliet volumes.
func DRRecordingDate ¶
func DRRecordingDate() uintptr
@const DRRecordingDate @discussion NSDate containing the item's recording date.
func DRSCMSCopyrightFree ¶
func DRSCMSCopyrightFree() uintptr
@const DRSCMSCopyrightFree @discussion One possible value for the @link DRSerialCopyManagementStateKey DRSerialCopyManagementStateKey @/link. Indicates that the track has no copying restrictions. Copies of this track should also be copyright free.
func DRSCMSCopyrightProtectedCopy ¶
func DRSCMSCopyrightProtectedCopy() uintptr
@const DRSCMSCopyrightProtectedCopy @discussion One possible value for the @link DRSerialCopyManagementStateKey DRSerialCopyManagementStateKey @/link. Indicates that the track is a first-generation copy of an original that was subject to copy protection. No further digital copying should be allowed.
func DRSCMSCopyrightProtectedOriginal ¶
func DRSCMSCopyrightProtectedOriginal() uintptr
@const DRSCMSCopyrightProtectedOriginal @discussion One possible value for the @link DRSerialCopyManagementStateKey DRSerialCopyManagementStateKey @/link. Indicates that the track is an original subject to copyright protection. Digital copying of this track should be allowed, but copies should be marked with SCMS.
func DRSerialCopyManagementStateKey ¶
func DRSerialCopyManagementStateKey() uintptr
@const DRSerialCopyManagementStateKey @discussion For CD tracks only. This key points to an NSString value indicating the SCMS state of the track. If this key is not present, no SCMS data is written. Not all drives are capable of writing SCMS. If this key is present in any track and the drive cannot write SCMS, the burn will fail with @link //apple_ref/c/econst/kDRDeviceCantWriteSCMSErr kDRDeviceCantWriteSCMSErr @/link.
func DRSessionFormatKey ¶
func DRSessionFormatKey() uintptr
@const DRSessionFormatKey @discussion NSNumber containing the session format of the track. See the Mt. Fuji (INF-8090i) specification for CD/DVD devices for possible values for this property.
func DRSessionNumberKey ¶
func DRSessionNumberKey() uintptr
@const DRSessionNumberKey @discussion NSNumber containing the physical session number of a track.
func DRSetRefCon ¶
func DRSetRefCon(ref unsafe.Pointer, refCon unsafe.Pointer, callbacks *DRRefConCallbacks)
func DRStatusCurrentSessionKey ¶
func DRStatusCurrentSessionKey() uintptr
@const DRStatusCurrentSessionKey @discussion A key for the burn status dictionary. NSNumber indicating the current session being burned.
func DRStatusCurrentSpeedKey ¶
func DRStatusCurrentSpeedKey() uintptr
@const DRStatusCurrentSpeedKey @discussion A key for the burn status dictionary. NSNumber indicating the current burn speed.
func DRStatusCurrentTrackKey ¶
func DRStatusCurrentTrackKey() uintptr
@const DRStatusCurrentTrackKey @discussion A key for the status dictionaries. NSNumber indicating the current track being burned.
func DRStatusEraseTypeKey ¶
func DRStatusEraseTypeKey() uintptr
@const DRStatusEraseTypeKey @discussion A key for the erase status dictionary. NSString indicating the type of erase operation.
func DRStatusPercentCompleteKey ¶
func DRStatusPercentCompleteKey() uintptr
@const DRStatusPercentCompleteKey @discussion A key for the status dictionaries. NSNumber containing the percent complete of the operation expressed as a floating point number from 0 to 1.
func DRStatusProgressCurrentKPS ¶
func DRStatusProgressCurrentKPS() uintptr
@const DRStatusProgressCurrentKPS @abstract The current burn speed in kilobytes per second. @discussion This is an optional key within the @link DRStatusProgressInfoKey DRStatusProgressInfoKey @/link dictionary. The value of this key, if present, is a NSNumber object containing the write speed of the burn.
func DRStatusProgressCurrentXFactor ¶
func DRStatusProgressCurrentXFactor() uintptr
@const DRStatusProgressCurrentXFactor @abstract The current burn speed in a media appropriate x-factor @discussion This is an optional key within the @link DRStatusProgressInfoKey DRStatusProgressInfoKey @/link dictionary. The value of this key, if present, is a NSNumber object containing the appropriate x-factor for the media.
func DRStatusProgressInfoKey ¶
func DRStatusProgressInfoKey() uintptr
@const DRStatusProgressInfoKey @abstract A dictionary of extended progress information. @discussion A key for the status dictionary. The value of this key is a reference to a NSDictionary object containing extended progress information.
func DRStatusStateDone ¶
func DRStatusStateDone() uintptr
@const DRStatusStateDone @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link. Indicates the operation is finished and it succeeded.
func DRStatusStateErasing ¶
func DRStatusStateErasing() uintptr
@const DRStatusStateErasing @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link in the erase status dictionary. Indicates the erase is currently in progress.
func DRStatusStateFailed ¶
func DRStatusStateFailed() uintptr
@const DRStatusStateFailed @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link. Indicates the operation is finished and it failed.
func DRStatusStateFinishing ¶
func DRStatusStateFinishing() uintptr
@const DRStatusStateFinishing @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link in the burn status dictionary. Indicates the burn is finishing up (closing the last session, writing the TOC, etc).
func DRStatusStateKey ¶
func DRStatusStateKey() uintptr
@const DRStatusStateKey @discussion A key for the status dictionaries. NSString indicating the current state of the operation.
func DRStatusStateNone ¶
func DRStatusStateNone() uintptr
@const DRStatusStateNone @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link. Indicates the operation has not yet begun.
func DRStatusStatePreparing ¶
func DRStatusStatePreparing() uintptr
@const DRStatusStatePreparing @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link. Indicates the operation is preparing to begin.
func DRStatusStateSessionClose ¶
func DRStatusStateSessionClose() uintptr
@const DRStatusStateSessionClose @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link in the burn status dictionary. Indicates the burn is closing a session on disc. The exact session being closing is contained in @link DRStatusCurrentSessionKey DRStatusCurrentSessionKey @/link.
func DRStatusStateSessionOpen ¶
func DRStatusStateSessionOpen() uintptr
@const DRStatusStateSessionOpen @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link in the burn status dictionary. Indicates the burn is opening a session on disc. The exact session being opened is contained in @link DRStatusCurrentSessionKey DRStatusCurrentSessionKey @/link.
func DRStatusStateTrackClose ¶
func DRStatusStateTrackClose() uintptr
@const DRStatusStateTrackClose @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link in the burn status dictionary. Indicates the burn is closing a track on disc. The exact track being closed is contained in @link DRStatusCurrentTrackKey DRStatusCurrentTrackKey @/link.
func DRStatusStateTrackOpen ¶
func DRStatusStateTrackOpen() uintptr
@const DRStatusStateTrackOpen @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link in the burn status dictionary. Indicates the burn is opening a track on disc. The exact track being opened is contained in @link DRStatusCurrentTrackKey DRStatusCurrentTrackKey @/link.
func DRStatusStateTrackWrite ¶
func DRStatusStateTrackWrite() uintptr
@const DRStatusStateTrackWrite @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link in the burn status dictionary. Indicates the burn is writing a track on disc. The exact track being written is contained in @link DRStatusCurrentTrackKey DRStatusCurrentTrackKey @/link.
func DRStatusStateVerifying ¶
func DRStatusStateVerifying() uintptr
@const DRStatusStateVerifying @discussion One possible value for @link DRStatusStateKey DRStatusStateKey @/link. Indicates the operation is verifying what it did.
func DRStatusTotalSessionsKey ¶
func DRStatusTotalSessionsKey() uintptr
@const DRStatusTotalSessionsKey @discussion A key for the status dictionaries. NSNumber indicating the total number of sessions being burned.
func DRStatusTotalTracksKey ¶
func DRStatusTotalTracksKey() uintptr
@const DRStatusTotalTracksKey @discussion A key for the status dictionaries. NSNumber indicating the total number of tracks in the current session being burned.
func DRSubchannelDataFormKey ¶
func DRSubchannelDataFormKey() uintptr
@const DRSubchannelDataFormKey @discussion The property whose value is the data mode of the subchannel data sent to the drive. If this key is not present, the track will default to a value of @link DRSubchannelDataFormNone DRSubchannelDataFormNone @/link and no subchannel information will be requested from the producer. Subchannel data is returned from the producer in the same production method that produces normal user data. Normally a producer returns user data in chunks of @link DRBlockSizeKey DRBlockSizeKey @/link size. When subchannel data is also produced, the producer is expected to return user data of DRBlockSizeKey in length with an additonal 96 bytes of subchannel data. Depending on the data form specified in this key, the format of this 96 bytes is either in raw or pack format. When subchannel data is requested from the producer, the @link DRFlagSubchannelDataRequested DRFlagSubchannelDataRequested @/link flag is set in the <i>flags</i> parameter of producePreGapForTrack:intoBuffer:length:atAddress:blockSize:ioFlags: or produceDataForTrack:intoBuffer:length:atAddress:blockSize:ioFlags: and blockSize is increased by 96 bytes.
func DRSubchannelDataFormNone ¶
func DRSubchannelDataFormNone() uintptr
@constant DRSubchannelDataFormNone @discussion A value for @link DRSubchannelDataFormKey DRSubchannelDataFormKey @/link indicating that the subchannel data will not be provided by the producer.
func DRSubchannelDataFormPack ¶
func DRSubchannelDataFormPack() uintptr
@const DRSubchannelDataFormPack @discussion A value for @link DRSubchannelDataFormKey DRSubchannelDataFormKey @/link indicating that the producer will be asked to provide pack format subchannel data for the track. If this form is selected, the drive will perform P and Q parity calculations on each pack and interleave the packs before writing them to disc. This corresponds to a subchannel data form of 0xC0.
func DRSubchannelDataFormRaw ¶
func DRSubchannelDataFormRaw() uintptr
@const DRSubchannelDataFormRaw @discussion A value for @link DRSubchannelDataFormKey DRSubchannelDataFormKey @/link indicating that the producer will be asked to provide raw format subchannel data for the track. If this form is selected, the producer must have performed P and Q parity calculations for each pack and done proper interleaving of the subchannel data. The drive will fill in the P-Q subchannel information and write the R-W subchannel data as is to the disc. This corresponds to a subchannel data form of 0x40.
func DRSuppressMacSpecificFiles ¶
func DRSuppressMacSpecificFiles() uintptr
@const DRSuppressMacSpecificFiles @discussion NSBoolean indicating whether the track should suppress Mac-specific files from non-HFS filesystems.
func DRSynchronousBehaviorKey ¶
func DRSynchronousBehaviorKey() uintptr
@const DRSynchronousBehaviorKey @discussion The burn property whose value is a BOOL indicating if burn operations will behave synchronously. If this key is not present, it will default to a value of <i>NO</i> and burn operations will behave asynchronously. Synchronous operations do not post status notifications, and will not return until they are completed. Status can still be queried at any time, and will remain valid even after the burn operation has finished.
func DRSystemIdentifier ¶
func DRSystemIdentifier() uintptr
@const DRSystemIdentifier @discussion NSString indicating the system identifier for ISO and Joliet volumes.
func DRTrackCreate ¶
func DRTrackEstimateLength ¶
func DRTrackGetTypeID ¶
func DRTrackGetTypeID() uint
func DRTrackISRCKey ¶
func DRTrackISRCKey() uintptr
@const DRTrackISRCKey @discussion For CD-DA audio tracks only. This key points to an NSData containing exactly 12 bytes, which will be written to the disc as the International Standard Recording Code (ISRC). If this key is not present, no ISRC is written. The use of this value should conform to the specifications of the IFPI. See <a href="http://www.ifpi.org/isrc/">http://www.ifpi.org/isrc/</a> for more details on the ISRC standard. Not all drives are capable of the write modes necessary to write the ISRC. If this key is present in any track and the drive cannot write the ISRC, the burn will fail with @link //apple_ref/c/econst/kDRDeviceCantWriteISRCErr kDRDeviceCantWriteISRCErr @/link.
func DRTrackIsEmptyKey ¶
func DRTrackIsEmptyKey() uintptr
@const DRTrackIsEmptyKey @discussion NSNumber containing a BOOL value and indicates whether the track is empty.
func DRTrackLengthKey ¶
func DRTrackLengthKey() uintptr
@const DRTrackLengthKey @discussion NSNumber representing the length of the track
func DRTrackModeKey ¶
func DRTrackModeKey() uintptr
@const DRTrackModeKey @discussion NSNumber containing the track mode of the track. See the Mt. Fuji (INF-8090i) specification for CD/DVD devices for possible values for this property.
func DRTrackNumberKey ¶
func DRTrackNumberKey() uintptr
@const DRTrackNumberKey @discussion NSNumber containing the physical track number of a track.
func DRTrackPacketSizeKey ¶
func DRTrackPacketSizeKey() uintptr
@const DRTrackPacketSizeKey @discussion NSNumber containing the number of blocks per packet for the disc. It will only be present if the disc contains fixed packets. This key will contain 16 for DVD media, and typically contains either 16 or 32 for CD media.
func DRTrackPacketTypeFixed ¶
func DRTrackPacketTypeFixed() uintptr
@const DRTrackPacketTypeFixed @discussion If this is the value of the @link DRTrackPacketTypeKey DRTrackPacketTypeKey @/link then the disc is writen with fixed sized packets. When this value is present the DRPacketSizeKey will also be present.
func DRTrackPacketTypeKey ¶
func DRTrackPacketTypeKey() uintptr
@const DRTrackPacketTypeKey @discussion NSString indicating the kind of packets being written.
func DRTrackPacketTypeVariable ¶
func DRTrackPacketTypeVariable() uintptr
@const DRTrackPacketTypeVariable @discussion If this is the value of the @link DRTrackPacketTypeKey DRTrackPacketTypeKey @/link then the disc is written with sequential variable sized packets. The presence of this value indicates the lack of the DRPacketSizeKey.
func DRTrackSetProperties ¶
func DRTrackSpeedTest ¶
func DRTrackStartAddressKey ¶
func DRTrackStartAddressKey() uintptr
@const DRTrackStartAddressKey @discussion NSNumber containing the LBA of the start address for the track.
func DRTrackTypeClosed ¶
func DRTrackTypeClosed() uintptr
@const DRTrackTypeClosed @discussion If this is the value of the @link DRTrackTypeKey DRTrackTypeKey @/link then the track has been written and is closed.
func DRTrackTypeIncomplete ¶
func DRTrackTypeIncomplete() uintptr
@const DRTrackTypeIncomplete @discussion If this is the value of the @link DRTrackTypeKey DRTrackTypeKey @/link then the track is not invisible or reserved and is available for writing.
func DRTrackTypeInvisible ¶
func DRTrackTypeInvisible() uintptr
@const DRTrackTypeInvisible @discussion If this is the value of the @link DRTrackTypeKey DRTrackTypeKey @/link then the track is invisible and available to writing. If it is packet written and not closed, DRPacketTypeKey will be present, along with DRTrackPacketType and DRTrackPacketSize keys.
func DRTrackTypeKey ¶
func DRTrackTypeKey() uintptr
@const DRTrackTypeKey @discussion NSString indicating the type of track. Possible values are: @link DRTrackTypeInvisible DRTrackTypeInvisible @/link, @link DRTrackTypeIncomplete DRTrackTypeIncomplete @/link, @link DRTrackTypeReserved DRTrackTypeReserved @/link or @link DRTrackTypeClosed DRTrackTypeClosed @/link.
func DRTrackTypeReserved ¶
func DRTrackTypeReserved() uintptr
@const DRTrackTypeReserved @discussion If this is the value of the @link DRTrackTypeKey DRTrackTypeKey @/link then the track is reserved for writing.
func DRUDF ¶
func DRUDF() uintptr
@const DRUDF @discussion The key for accessing the UDF name/properties for the file.
func DRUDFApplicationIdentifierSuffix ¶
func DRUDFApplicationIdentifierSuffix() uintptr
@const DRUDFApplicationIdentifierSuffix @discussion Optional key. NSData object of up to 8 bytes in length, for application use. The presence of this key requires the @link //apple_ref/occ/data/DRApplicationIdentifier DRApplicationIdentifier @/link key.
func DRUDFExtendedFilePermissions ¶
func DRUDFExtendedFilePermissions() uintptr
@const DRUDFExtendedFilePermissions @abstract NSNumber indicating the extended UDF file permissions of this file. @discussion Bit 0: Change attributes for others (low order bit) Bit 1: Delete permissions for others Bit 2: Change attributes for group Bit 3: Delete permissions for group Bit 4: Change attributes for owner Bit 5: Delete permissions for owner Bit 6 & 7: Reserved If this key is not present, @link DRPosixFileMode DRPosixFileMode @/link will be used with the above bits being set to the corresponding write bit for owner, group, and others. If @link DRPosixFileMode DRPosixFileMode @/link is not present, the file mode from the file on disc will be used, again using the write bit for these permissions.
func DRUDFInterchangeLevel ¶
func DRUDFInterchangeLevel() uintptr
@const DRUDFInterchangeLevel @discussion Optional key. NSNumber containing the volume interchange level. See the UDF specs for details.
func DRUDFMaxInterchangeLevel ¶
func DRUDFMaxInterchangeLevel() uintptr
@const DRUDFMaxInterchangeLevel @discussion Optional key. NSNumber containing the maximum volume interchange level number. See the UDF specs for details.
func DRUDFMaxVolumeSequenceNumber ¶
func DRUDFMaxVolumeSequenceNumber() uintptr
@const DRUDFMaxVolumeSequenceNumber @discussion Optional key. NSNumber containing the maximum volume sequence number. See the UDF specs for details.
func DRUDFPrimaryVolumeDescriptorNumber ¶
func DRUDFPrimaryVolumeDescriptorNumber() uintptr
@const DRUDFPrimaryVolumeDescriptorNumber @discussion Optional key. NSNumber containing the primary volume sequence number. See the UDF specs for details.
func DRUDFRealTimeFile ¶
func DRUDFRealTimeFile() uintptr
@const DRUDFRealTimeFile @discussion NSNumber indicating whether the file is a UDF Real-Time file.
func DRUDFVersion102 ¶
func DRUDFVersion102() uintptr
@const DRUDFVersion102 @discussion This value is used in @link DRUDFWriteVersion DRUDFWriteVersion @/link.
func DRUDFVersion150 ¶
func DRUDFVersion150() uintptr
@const DRUDFVersion150 @discussion This value is used in @link DRUDFWriteVersion DRUDFWriteVersion @/link.
func DRUDFVolumeSequenceNumber ¶
func DRUDFVolumeSequenceNumber() uintptr
@const DRUDFVolumeSequenceNumber @discussion Optional key. NSNumber containing the volume sequence number. See the UDF specs for details.
func DRUDFVolumeSetIdentifier ¶
func DRUDFVolumeSetIdentifier() uintptr
@const DRUDFVolumeSetIdentifier @discussion Optional key. The Volume Set Identifier for the UDF volume set. If this key is not present, @link //apple_ref/occ/data/DRVolumeSet DRVolumeSet @/link will be used if present. The Volume Set Identifier is composed of the Volume Set Timestamp, the Implementation Use, and a the string contained in this property.
func DRUDFVolumeSetImplementationUse ¶
func DRUDFVolumeSetImplementationUse() uintptr
@const DRUDFVolumeSetImplementationUse @discussion Optional key. An NSData object (8 bytes in length) for implementation use data. See the UDF specs for details.
func DRUDFVolumeSetTimestamp ¶
func DRUDFVolumeSetTimestamp() uintptr
@const DRUDFVolumeSetTimestamp @discussion Optional key. An NSDate object for the volume set timestamp. See the UDF specs for details.
func DRUDFWriteVersion ¶
func DRUDFWriteVersion() uintptr
@const DRUDFWriteVersion @discussion Optional key. This property key defines the version for the UDF structures written to disk. Values are definde in UDF Version types.
func DRVerificationTypeChecksum ¶
func DRVerificationTypeChecksum() uintptr
@const DRVerificationTypeChecksum @discussion One of the possible values of the @link DRVerificationTypeKey DRVerificationTypeKey @/link. The engine will verify the track data with an internally calculated checksum.
func DRVerificationTypeKey ¶
func DRVerificationTypeKey() uintptr
@const DRVerificationTypeKey @discussion NSString indicating the type of verification to be performed. If this is not present, the track will not be verified.
func DRVerificationTypeNone ¶
func DRVerificationTypeNone() uintptr
@const DRVerificationTypeNone @discussion One of the possible values of the @link DRVerificationTypeKey DRVerificationTypeKey @/link. No verification is desired, so verification will be skipped.
func DRVerificationTypeProduceAgain ¶
func DRVerificationTypeProduceAgain() uintptr
@const DRVerificationTypeProduceAgain @discussion One of the possible values of the @link DRVerificationTypeKey DRVerificationTypeKey @/link. The engine will simply begin another production cycle and start calling @link //apple_ref/occ/intfm/DRTrackDataProduction/produceDataForTrack:intoBuffer:length:atAddress:blockSize:ioFlags: produceDataForTrack:intoBuffer:length:atAddress:blockSize:ioFlags: @/link again.
func DRVerificationTypeReceiveData ¶
func DRVerificationTypeReceiveData() uintptr
@const DRVerificationTypeReceiveData @discussion One of the possible values of the @link DRVerificationTypeKey DRVerificationTypeKey @/link. The engine will begin reading data from the disc and calling @link //apple_ref/occ/intfm/DRTrackDataProduction/verifyDataForTrack:inBuffer:length:atAddress:blockSize:ioFlags: verifyDataForTrack:inBuffer:length:atAddress:blockSize:ioFlags: @/link.
func DRVolumeCheckedDate ¶
func DRVolumeCheckedDate() uintptr
@const DRVolumeCheckedDate @discussion NSDate containing the volume-checked date for HFS+ volumes. DRDefaultDate is used if unspecified.
func DRVolumeCreationDate ¶
func DRVolumeCreationDate() uintptr
@const DRVolumeCreationDate @discussion NSDate containing the volume creation date. DRDefaultDate is used if unspecified.
func DRVolumeEffectiveDate ¶
func DRVolumeEffectiveDate() uintptr
@const DRVolumeEffectiveDate @discussion NSDate containing the date and time at which the volume is effective for ISO and Joliet volumes.
func DRVolumeExpirationDate ¶
func DRVolumeExpirationDate() uintptr
@const DRVolumeExpirationDate @discussion NSDate containing the volume expiration date for ISO and Joliet volumes.
func DRVolumeModificationDate ¶
func DRVolumeModificationDate() uintptr
@const DRVolumeModificationDate @discussion NSDate containing the volume modification date. DRDefaultDate is used if unspecified.
func DRVolumeSet ¶
func DRVolumeSet() uintptr
@const DRVolumeSet @discussion NSString indicating the volume set name for ISO and Joliet volumes.
func KDRAbstractFile ¶
func KDRAbstractFile() uintptr
@constant kDRAbstractFile @abstract (ISO/Joliet) The key for indicating the abstract file. @discussion Value is a @link //apple_ref/c/tdef/DRFileRef DRFileRef @/link (which must be in the root directory).
func KDRAccessDate ¶
func KDRAccessDate() uintptr
@constant kDRAccessDate @abstract The property key for the item's last-accessed date. @discussion Value is a CFDateRef.
func KDRAllFilesystems ¶
func KDRAllFilesystems() uintptr
@constant kDRAllFilesystems @abstract The key for accessing the name or properties for the file in all filesystems together. @discussion When this key is used to refer to a name, it refers to the base name (which has no naming restrictions).
func KDRApplicationIdentifier ¶
func KDRApplicationIdentifier() uintptr
@constant kDRApplicationIdentifier @abstract (ISO/Joliet) The key for indicating the application identifier. @discussion Value is a CFStringRef. Only the first 32 characters (ISO) or 16 characters (Joliet) will be used, after being mapped into a legal character set.
func KDRAttributeModificationDate ¶
func KDRAttributeModificationDate() uintptr
@constant kDRAttributeModificationDate @abstract The property key for the item's attribute modification date. @discussion Value is a CFDateRef.
func KDRAudioFourChannelKey ¶
func KDRAudioFourChannelKey() uintptr
@const kDRAudioFourChannelKey @discussion Optional key. For CD-DA audio tracks only. This track property key corresponds to a CFBoolean value indicating whether the track data has four channels, as opposed to the two channels of normal stereo. If this key is not present, the engine will use a default value of <tt>false</tt> and standard two-channel stereo is assumed. Four-channel audio is supported in the Red Book standard but never caught on. It is probably being replaced by SACD, so you probably shouldn't attempt to use it. On the disc, this key corresponds to bit 3 of the control field in sub-channel Q.
func KDRAudioPreEmphasisKey ¶
func KDRAudioPreEmphasisKey() uintptr
@const kDRAudioPreEmphasisKey @discussion Optional key. For CD-DA audio tracks only. This track property key corresponds to a CFBoolean value indicating whether the track includes pre-emphasis of 50/15 microseconds. If this key is not present, the engine will use a default value of <tt>false</tt>. On the disc, this key corresponds to bit 0 of the control field in sub-channel Q.
func KDRBackupDate ¶
func KDRBackupDate() uintptr
@constant kDRBackupDate @abstract The property key for the item's backup date. @discussion Value is a CFDateRef.
func KDRBibliographicFile ¶
func KDRBibliographicFile() uintptr
@constant kDRBibliographicFile @abstract (ISO/Joliet) The key for indicating the bibliographic file. @discussion Value is a @link //apple_ref/c/tdef/DRFileRef DRFileRef @/link (which must be in the root directory).
func KDRBlockSize ¶
func KDRBlockSize() uintptr
@constant kDRBlockSize @abstract The key for indicating the block size of the track. @discussion Value is a CFNumberRef, currently always 2048. Do not change.
func KDRBlockSizeKey ¶
func KDRBlockSizeKey() uintptr
@const kDRBlockSizeKey @discussion Required key. This key corresponds to a CFNumber object containing the size of each block of the track. Common values are defined in the @link //apple_ref/c/tag/Block%32Sizes Block Sizes @/link enumeration.
func KDRBlockTypeKey ¶
func KDRBlockTypeKey() uintptr
@const kDRBlockTypeKey @discussion Required key. This key corresponds to a CFNumber object containing the type of each block of the track. Common values are defined in the @link //apple_ref/c/tag/Block%32Types Block Types @/link enumeration.
func KDRBufferZone1DataKey ¶
func KDRBufferZone1DataKey() uintptr
@const kDRBufferZone1DataKey @discussion Optional key. This track property key corresponds to a CFData object containing the data to write to Buffer Zone 1 on drives which support it, such as the Pioneer DVR-S201. This data will be sent directly to the drive. If this key is not present, no Buffer Zone 1 data will be sent.
func KDRBurnAppendableKey ¶
func KDRBurnAppendableKey() uintptr
@const kDRBurnAppendableKey @abstract Flag indicating whether or not the disc should remain appendable after the burn. @discussion This burn property key corresponds to a CFBoolean object containing a flag indicating if the disc should still be appendable after the burn. If this key is not present, the burn will default to a value of <tt>false</tt> and the disc will be closed. Most CD formats do not allow unclosed discs, and many types of CD readers will not work with discs that are left appendable. Don't change the value of this key unless you understand the consequences.
func KDRBurnCompletionActionEject ¶
func KDRBurnCompletionActionEject() uintptr
@const kDRBurnCompletionActionEject @abstract A CFString object indicating that the drive should eject the disc when the burn completes.
func KDRBurnCompletionActionKey ¶
func KDRBurnCompletionActionKey() uintptr
@const kDRBurnCompletionActionKey @abstract The action to take upon burn completion, with a default of eject. @discussion This burn property key corresponds to a CFString object containing one of the available completion actions for disc handling. If this key is not present, the burn will default to a value of @link kDRBurnCompletionActionEject kDRBurnCompletionActionEject @/link and the disc will be ejected.
func KDRBurnCompletionActionMount ¶
func KDRBurnCompletionActionMount() uintptr
@const kDRBurnCompletionActionMount @abstract A CFString object indicating that the Disc Recording engine should mount the disc on the desktop when the burn completes.
func KDRBurnDoubleLayerL0DataZoneBlocksKey ¶
func KDRBurnDoubleLayerL0DataZoneBlocksKey() uintptr
@const DRBurnDoubleLayerL0DataZoneBlocksKey @discussion This burn property key corresponds to a CFNumber containing the number of blocks desired for the layer 0 data zone on a double layer writable disc. The size of the layer 0 data zone dictates where the transition point is from layer 0 to layer 1. If this key is present, the data zone size will be set prior to the start of the burn using the value for this key. If it is not present, the default layer 0 data zone will be used (half the available blocks on an empty disc). The transition point can be specified two ways. If the value specified in this key is greater than 1.0, then it will designate an absolute block number for the transition point. In this case, the block number should be a multiple of 16 and at least 40000h per specification. If the value is less than 1.0, it will specify the percentage of the burn that should reside on layer 0. A typical value is 0.5, designating half the burn for each layer. A value of 0.0 or 1.0 will not change the layer 0 transition point.
func KDRBurnFailureActionEject ¶
func KDRBurnFailureActionEject() uintptr
@const kDRBurnFailureActionEject @abstract A CFString object indicating that the drive should eject the disc if the burn fails.
func KDRBurnFailureActionKey ¶
func KDRBurnFailureActionKey() uintptr
@const kDRBurnFailureActionKey @abstract The action to take upon burn failure, with a default of eject. @discussion This burn property key corresponds to a CFString object containing one of the available failure actions for disc handling. If this key is not present, the burn will default to a value of @link kDRBurnFailureActionEject kDRBurnFailureActionEject @/link and the disc will be ejected.
func KDRBurnFailureActionNone ¶
func KDRBurnFailureActionNone() uintptr
@const kDRBurnFailureActionNone @abstract A CFString object indicating that the drive should do nothing with the disc if the burn fails.
func KDRBurnKey ¶
func KDRBurnKey() uintptr
@const kDRBurnKey @discussion This key corresponds to the DRBurn object for which the PreBurn message applies.
func KDRBurnOverwriteDiscKey ¶
func KDRBurnOverwriteDiscKey() uintptr
@const kDRBurnOverwriteDiscKey @abstract Flag indicating whether the disc should be appended to or overwritten. @discussion This burn property key corresponds to a CFBoolean object containing a flag indicating if the disc will be overwritten from block zero for the burn. If this key is not present, the burn will default to a value of <tt>false</tt> and the disc will be appended. Overwriting requires the media either be blank or erasable, and is functionally equivalent to an erase followed by a burn.
func KDRBurnRequestedSpeedKey ¶
func KDRBurnRequestedSpeedKey() uintptr
@const kDRBurnRequestedSpeedKey @abstract The requested speed of the burn. @discussion This burn property key corresponds to a CFNumber object containing the speed at which the burn should run, expressed as a floating point value in kilobytes per second where 1 kilobyte = 1,000 bytes. If this key is not present, the requested maximum burn speed defaults to @link kDRDeviceBurnSpeedMax kDRDeviceBurnSpeedMax @/link. The speed at which the burn will run depends on several factors including the speed of the bus to which the drive is connected, the data rate capacity of the, disc, the sustained rate at which data can be produced, and the limit your application sets in the @link kDRMaxBurnSpeedKey kDRMaxBurnSpeedKey @/link track property keys. For example, a 16x drive connected over USB 1.0 results in a maximum sustainable throughput to the drive of just 2x due to the bandwidth limitation of the bus. Some faster drives have a minimum burn speed. In the case of a drive whose minimum speed is 4x, for example, requesting a 1x burn will result in an actual burn speed of 4x.
func KDRBurnStatusChangedNotification ¶
func KDRBurnStatusChangedNotification() uintptr
@const kDRBurnStatusChangedNotification @discussion The notification sent when a DRBurn object has updated status.
func KDRBurnStrategyBDDAO ¶
func KDRBurnStrategyBDDAO() uintptr
@const kDRBurnStrategyBDDAO @abstract A CFString object representing the disc-at-once (DAO) burn strategy for BD. @discussion This strategy applies only to BDs (Blu-ray).
func KDRBurnStrategyCDSAO ¶
func KDRBurnStrategyCDSAO() uintptr
@const kDRBurnStrategyCDSAO @abstract A CFString object representing the session-at-once (SAO) burn strategy for CD.
func KDRBurnStrategyCDTAO ¶
func KDRBurnStrategyCDTAO() uintptr
@const kDRBurnStrategyCDTAO @abstract A CFString object representing the track-at-once (TAO) burn strategy for CD.
func KDRBurnStrategyDVDDAO ¶
func KDRBurnStrategyDVDDAO() uintptr
@const kDRBurnStrategyDVDDAO @abstract A CFString object representing the disc-at-once (DAO) burn strategy for DVD. @discussion This strategy applies only to DVDs. It is not valid when burning to CD media.
func KDRBurnStrategyIsRequiredKey ¶
func KDRBurnStrategyIsRequiredKey() uintptr
@const kDRBurnStrategyIsRequiredKey @abstract Flag indicating whether to attempt to enforce the specified burn strategies. @discussion This burn property key corresponds to a CFBoolean object indicating whether the burn strategy or strategies listed for the @link kDRBurnStrategyKey kDRBurnStrategyKey @/link key are the only ones allowed. If this key is not present, the burn will behave as though the key were <tt>false</tt>. If this key's value is set to <tt>true</tt> and the device does not support any of the suggested burn strategies, the burn will fail with a return value of @link //apple_ref/c/econst/kDRDeviceBurnStrategyNotAvailableErr kDRDeviceBurnStrategyNotAvailableErr @/link. If this key's value is set to <tt>false</tt> and the device does not support any of the suggested burn strategies, the engine will choose an alternate burn strategy. The burn strategy used will provide an equivalent disc.
func KDRBurnStrategyKey ¶
func KDRBurnStrategyKey() uintptr
@const kDRBurnStrategyKey @abstract One or more suggested burn strategies. @discussion This burn property key corresponds to a CFString object, or to a CFArray object containing CFString objects, indicating the suggested burn strategy or strategies. If this key is not present, the burn engine picks an appropriate burn strategy automatically--so most clients do not need to specify a burn strategy. When more than one strategy is suggested, the burn engine attempts to use the first strategy in the list which is available. A burn strategy will never be used if it cannot write the required data. For example, the track-at-once (TAO) strategy cannot write CD-Text. This presence of this key alone is just a suggestion--if the burn engine cannot fulfill the request it will burn using whatever strategy is available. To convert the suggestion into a requirement, add the @link kDRBurnStrategyIsRequiredKey kDRBurnStrategyIsRequiredKey @/link key with a value of <tt>true</tt>. Before using this key you should ensure that the device supports the strategy or strategies requested. Do this by checking the burn strategy keys in the device's write capabilities dictionary.
func KDRBurnTestingKey ¶
func KDRBurnTestingKey() uintptr
@const kDRBurnTestingKey @abstract Flag indicating whether to perform a test or normal burn. @discussion This burn property key corresponds to a CFBoolean object containing a flag indicating whether the burn will be a test or not. If testing is set and your application calls the DRBurnWriteLayout function, the burn process proceeds as if data would be written to the disc--but the laser is not turned on to full power so the disc is not modified. If this key is not present or the selected burning device does not support test burning, the burn will default to a value of <tt>false</tt> and a normal burn will occur.
func KDRBurnUnderrunProtectionKey ¶
func KDRBurnUnderrunProtectionKey() uintptr
@const kDRBurnUnderrunProtectionKey @abstract Flag indicating whether burn underrun protection will be on or off. @discussion This burn property key corresponds to a CFBoolean object containing a flag indicating whether burn underrun protection will be on or off, for devices which support it. Burn underrun protection is on by default for drives which support it. Clients do need to set this value except to explicitly disable underrun protection. If this key is not present, the burn will default to a value of <tt>true</tt> and burn underrun protection will enabled, if the drive supports it.
func KDRBurnVerifyDiscKey ¶
func KDRBurnVerifyDiscKey() uintptr
@const kDRBurnVerifyDiscKey @abstract Flag indicating whether the disc will be verified after the burn. @discussion This burn property key corresponds to a CFBoolean object containing a flag indicating if the disc will be verified after being burned. If this key is not present, the burn will default to a value of <tt>true</tt> and the disc will be verified. Verification requires each DRTrack object to specify its verification method by way of the kDRVerificationTypeKey key in the track properties dictionary. If none of the DRTrack objects in the burn have specified a verification method, verification will not occur.
func KDRCDTextArrangerKey ¶
func KDRCDTextArrangerKey() uintptr
@const kDRCDTextArrangerKey @discussion A CD-Text block dictionary key whose value, a CFString object, contains the name of the arranger for a track or, if for the disc info block, for the disc as a whole.
func KDRCDTextCFStringEncodingKey ¶
func KDRCDTextCFStringEncodingKey() uintptr
@const kDRCDTextCFStringEncodingKey @discussion This is a required property key for a CD-Text block. Its value is a reference to a CFNumber object containing the CFStringEncoding value for the text of the block. This property should remain constant once a block is created. If you change it after creating a block, the results are undefined.
func KDRCDTextCharacterCodeKey ¶
func KDRCDTextCharacterCodeKey() uintptr
@const kDRCDTextCharacterCodeKey @discussion This is a required property key for a CD-Text block. Its value is a reference to a CFNumber object containing the Red Book character set value for the text of the block. The value is not a CFStringEncoding or an NSStringEncoding data type and should not be used as such. This property should remain constant once a block is created. If you change it after creating a block, the results are undefined.
func KDRCDTextClosedKey ¶
func KDRCDTextClosedKey() uintptr
@const kDRCDTextClosedKey @discussion A CD-Text block dictionary key whose value, a CFString object, contains arbitrary disc information. The text format is arbitrary and is up to the content provider. This information is private and players should not display it to the user of the disc. In compliance with the CD-Text specifications, this string is always encoded using the kDRCDTextEncodingISOLatin1Modified encoding, regardless of the block's encoding.
func KDRCDTextComposerKey ¶
func KDRCDTextComposerKey() uintptr
@const kDRCDTextComposerKey @discussion A CD-Text block dictionary key whose value, a CFString object, contains the name of the composer for a track or, if for the disc info block, for the disc as a whole.
func KDRCDTextCopyrightAssertedForNamesKey ¶
func KDRCDTextCopyrightAssertedForNamesKey() uintptr
@const kDRCDTextCopyrightAssertedForNamesKey @discussion This is an optional property key for a CD-Text block. Its value is a reference to a CFBoolean object that indicates whether copyright is asserted on the names in the block, which include the values associated with the kDRCDTextPerformerKey, kDRCDTextSongwriterKey, kDRCDTextComposerKey, and kDRCDTextArrangerKey keys. If this value is not specified, no copyright is asserted for these items.
func KDRCDTextCopyrightAssertedForSpecialMessagesKey ¶
func KDRCDTextCopyrightAssertedForSpecialMessagesKey() uintptr
@const kDRCDTextCopyrightAssertedForSpecialMessagesKey @discussion This is an optional property key for a CD-Text block. Its value is a reference to a CFBoolean object that indicates whether copyright is asserted on the block text associated with the kDRCDTextSpecialMessageKey key. If this value is not specified, no copyright is asserted for the text.
func KDRCDTextCopyrightAssertedForTitlesKey ¶
func KDRCDTextCopyrightAssertedForTitlesKey() uintptr
@const kDRCDTextCopyrightAssertedForTitlesKey @discussion This is an optional property key for a CD-Text block. Its value is a reference to a CFBoolean object that indicates whether copyright is asserted on the disc or track title associated with the kDRCDTextTitleKey key. If this value is not specified, no copyright is asserted for this text.
func KDRCDTextDiscIdentKey ¶
func KDRCDTextDiscIdentKey() uintptr
@const kDRCDTextDiscIdentKey @discussion A CD-Text block dictionary key whose value, a CFString object, contains disc identifying information such as the catalog number and name of the record company, point of sale code, year, and so on. Each item shall be separated by a slash ("/"). In compliance with the CD-Text specifications, this string is always encoded using the kDRCDTextEncodingISOLatin1Modified encoding, regardless of the block's encoding. This key is valid only for the disc as a whole, namely for array index 0. It is ignored when set in the dictionaries for tracks.
func KDRCDTextGenreCodeKey ¶
func KDRCDTextGenreCodeKey() uintptr
@const kDRCDTextGenreCodeKey @discussion A CD-Text block dictionary key whose value, a CFNumber object, contains the numeric code of the genre for the disc as a whole as listed in the CD-Text Genres enumeration. This key is valid only for the disc as a whole, namely for array index 0. It is ignored when set in the dictionaries for tracks.
func KDRCDTextGenreKey ¶
func KDRCDTextGenreKey() uintptr
@const kDRCDTextGenreKey @discussion A CD-Text block dictionary key whose value, a CFString object, contains the name of the genre for the disc as a whole. In compliance with the CD-Text specifications, this string is always encoded using the kDRCDTextEncodingISOLatin1Modified encoding, regardless of the block's encoding. This key is valid only for the disc as a whole, namely for array index 0. It is ignored when set in the dictionaries for tracks.
func KDRCDTextKey ¶
func KDRCDTextKey() uintptr
@const kDRCDTextKey @discussion This burn property key corresponds to a @link //apple_ref/c/tdef/DRCDTextBlockRef DRCDTextBlockRef @/link object, or to an array of @link //apple_ref/c/tdef/DRCDTextBlockRef DRCDTextBlockRef @/link objects, containing the CD-Text information for the disc. If this key is not present, the burn will not write CD-Text. Before using this key you should ensure that the device supports CD-Text by checking the value of the @link //apple_ref/c/data/kDRDeviceCanWriteCDTextKey kDRDeviceCanWriteCDTextKey @/link key in the device's write capabilities dictionary. If this value is set to <tt>true</tt> and the device does not support writing CD-Text, the burn will fail with a value of @link //apple_ref/c/econst/kDRDeviceCantWriteCDTextErr kDRDeviceCantWriteCDTextErr @/link.
func KDRCDTextLanguageKey ¶
func KDRCDTextLanguageKey() uintptr
@const kDRCDTextLanguageKey @discussion This is a required property key for a CD-Text block. Its value is a reference to a CFString object containing the ISO 639 language code describing the language for the text of the block. CD-Text allows the concept of an unknown language, which is represented here by an empty string. You can change a block's language after creating the block.
func KDRCDTextMCNISRCKey ¶
func KDRCDTextMCNISRCKey() uintptr
@const kDRCDTextMCNISRCKey @discussion A CD-Text block dictionary key whose value, a CFData object, contains either 13 bytes of Media Catalog Number (MCN, for the disc as a whole) or 12 bytes of International Standard Recording Code (ISRC, for tracks). This information can also be specified in the burn and track properties. CD-Text simply provides an alternative, possibly redundant, way to encode this information. If the MCN or ISRC data was specified in the properties for the burn or track, this value should be the same. See the descriptions of kDRMediaCatalogNumberKey and kDRTrackISRCKey for more details on the precise format of the data.
func KDRCDTextPerformerKey ¶
func KDRCDTextPerformerKey() uintptr
@const kDRCDTextPerformerKey @discussion A CD-Text block dictionary key whose value, a CFString object, contains the name of the performer for a track or, if for the disc info block, for the disc as a whole.
func KDRCDTextSizeKey ¶
func KDRCDTextSizeKey() uintptr
@const kDRCDTextSizeKey @discussion A CD-Text block dictionary key whose value, a CFData object, contains information about the number of packs and languages associated with each block. This key is for output use only, when reading CD-Text from a disc. It is ignored when specified in a burn.
func KDRCDTextSongwriterKey ¶
func KDRCDTextSongwriterKey() uintptr
@const kDRCDTextSongwriterKey @discussion A CD-Text block dictionary key whose value, a CFString object, contains the name of the songwriter for a track or, if for the disc info block, for the disc as a whole.
func KDRCDTextSpecialMessageKey ¶
func KDRCDTextSpecialMessageKey() uintptr
@const kDRCDTextSpecialMessageKey @discussion A CD-Text block dictionary key whose value, a CFString object, contains a text message that may be displayed to the user by some players.
func KDRCDTextTOC2Key ¶
func KDRCDTextTOC2Key() uintptr
@const kDRCDTextTOC2Key @discussion A CD-Text block dictionary key whose value, a CFData object, contains additional table-of-contents information. This key is for output use only, when reading CD-Text from a disc. It is ignored when specified in a burn.
func KDRCDTextTOCKey ¶
func KDRCDTextTOCKey() uintptr
@const kDRCDTextTOCKey @discussion A CD-Text block dictionary key whose value, a CFData object, contains table-of-contents information. This key is for output use only, when reading CD-Text from a disc. It is ignored when specified in a burn.
func KDRCDTextTitleKey ¶
func KDRCDTextTitleKey() uintptr
@const kDRCDTextTitleKey @discussion A CD-Text block dictionary key whose value, a CFString object, contains the title for a track or, if for the disc info block, for the disc as a whole.
func KDRContentModificationDate ¶
func KDRContentModificationDate() uintptr
@constant kDRContentModificationDate @abstract The property key for the item's content modification date. @discussion Value is a CFDateRef.
func KDRCopyrightFile ¶
func KDRCopyrightFile() uintptr
@constant kDRCopyrightFile @abstract (ISO/Joliet) The key for indicating the copyright file. @discussion Value is a @link //apple_ref/c/tdef/DRFileRef DRFileRef @/link (which must be in the root directory).
func KDRCreationDate ¶
func KDRCreationDate() uintptr
@constant kDRCreationDate @abstract The property key for the item's creation date. @discussion Value is a CFDateRef.
func KDRDVDCopyrightInfoKey ¶
func KDRDVDCopyrightInfoKey() uintptr
@const kDRDVDCopyrightInfoKey @discussion Optional key. This track property key corresponds to a CFData object containing Multi-Media Command (MMC) copyright data. This data will be sent directly to the drive. If this key is not present, no copyright information will be sent.
func KDRDVDTimestampKey ¶
func KDRDVDTimestampKey() uintptr
@const kDRDVDTimestampKey @discussion Optional key. This track property key corresponds to a CFData object containing Multi-Media Command (MMC) timestamp data. This data will be sent directly to the drive. If this key is not present, no timestamp will be sent.
func KDRDataFormKey ¶
func KDRDataFormKey() uintptr
@const kDRDataFormKey @discussion Required key. This key corresponds to a CFNumber object containing the data format of each block of the track. Common values are defined in the @link //apple_ref/c/tag/Data%32Forms Data Forms @/link enumeration.
func KDRDataPreparer ¶
func KDRDataPreparer() uintptr
@constant kDRDataPreparer @abstract (ISO/Joliet) The key for indicating the data preparer. @discussion Value is a CFStringRef.
func KDRDefaultDate ¶
func KDRDefaultDate() uintptr
@constant kDRDefaultDate @abstract The default date for any unspecified dates in the filesystem. @discussion Value is a CFDateRef. The current date and time is used if unspecified.
func KDRDeviceAppearedNotification ¶
func KDRDeviceAppearedNotification() uintptr
@const kDRDeviceAppearedNotification @discussion Notification sent when a device has become available. Because users can connect and disconnect FireWire, USB, and other devices while a computer is on, you should maintain your own list of attached devices and rely on notifications to keep the list current.
func KDRDeviceBurnSpeedBD1x ¶
func KDRDeviceBurnSpeedBD1x() uintptr
@const kDRDeviceBurnSpeedBD1x @discussion A predefined value for the minimum BD burn speed of 4,496.0 kilobytes per second, where 1 kilobyte = 1,000 bytes.
func KDRDeviceBurnSpeedCD1x ¶
func KDRDeviceBurnSpeedCD1x() uintptr
@const kDRDeviceBurnSpeedCD1x @discussion A predefined value for the minimum CD burn speed of 176.4 kilobytes per second, where 1 kilobyte = 1,000 bytes.
func KDRDeviceBurnSpeedDVD1x ¶
func KDRDeviceBurnSpeedDVD1x() uintptr
@const kDRDeviceBurnSpeedDVD1x @discussion A predefined value for the minimum DVD burn speed of 1,385.0 kilobytes per second, where 1 kilobyte = 1,000 bytes.
func KDRDeviceBurnSpeedHDDVD1x ¶
func KDRDeviceBurnSpeedHDDVD1x() uintptr
@const kDRDeviceBurnSpeedHDDVD1x @discussion A predefined value for the minimum HD DVD burn speed of 4,496.0 kilobytes per second, where 1 kilobyte = 1,000 bytes.
func KDRDeviceBurnSpeedMax ¶
func KDRDeviceBurnSpeedMax() uintptr
@const kDRDeviceBurnSpeedMax @discussion A predefined value used to request the maximum speed at which a device can perform a burn. On receiving a burn request of kDRDeviceBurnSpeedMax, a drive selects the highest usable speed given its capabilities, the bus bandwidth, and the capabilities of the recordable disc.
func KDRDeviceBurnSpeedsKey ¶
func KDRDeviceBurnSpeedsKey() uintptr
@const kDRDeviceBurnSpeedsKey @discussion A key for the dictionary returned by @link DRDeviceCopyStatus DRDeviceCopyStatus @/link. The value of this key is a reference to a CFArray object containing the available burn speeds. This key may not be accessible if there is no disc in the drive.
func KDRDeviceCanTestWriteCDKey ¶
func KDRDeviceCanTestWriteCDKey() uintptr
@const kDRDeviceCanTestWriteCDKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can perform a test write to CD media.
func KDRDeviceCanTestWriteDVDKey ¶
func KDRDeviceCanTestWriteDVDKey() uintptr
@const kDRDeviceCanTestWriteDVDKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can perform a test write to DVD media.
func KDRDeviceCanUnderrunProtectCDKey ¶
func KDRDeviceCanUnderrunProtectCDKey() uintptr
@const kDRDeviceCanUnderrunProtectCDKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device has burn underrun protection when writing to CD media.
func KDRDeviceCanUnderrunProtectDVDKey ¶
func KDRDeviceCanUnderrunProtectDVDKey() uintptr
@const kDRDeviceCanUnderrunProtectDVDKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device has burn underrun protection when writing to DVD media.
func KDRDeviceCanWriteBDKey ¶
func KDRDeviceCanWriteBDKey() uintptr
@const kDRDeviceCanWriteBDKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to some type of BD-based (Blu-ray) media.
func KDRDeviceCanWriteBDREKey ¶
func KDRDeviceCanWriteBDREKey() uintptr
@const kDRDeviceCanWriteBDREKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to BD-RE media.
func KDRDeviceCanWriteBDRKey ¶
func KDRDeviceCanWriteBDRKey() uintptr
@const kDRDeviceCanWriteBDRKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to BD-R media.
func KDRDeviceCanWriteCDKey ¶
func KDRDeviceCanWriteCDKey() uintptr
@const kDRDeviceCanWriteCDKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to some type of CD-based media.
func KDRDeviceCanWriteCDRKey ¶
func KDRDeviceCanWriteCDRKey() uintptr
@const kDRDeviceCanWriteCDRKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to CD-R media.
func KDRDeviceCanWriteCDRWKey ¶
func KDRDeviceCanWriteCDRWKey() uintptr
@const kDRDeviceCanWriteCDRWKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to CD-RW media.
func KDRDeviceCanWriteCDRawKey ¶
func KDRDeviceCanWriteCDRawKey() uintptr
@const kDRDeviceCanWriteCDRawKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device supports a raw mode burn strategy for CD. A raw mode burn writes client-defined lead-in, program area, and lead-out data to CD media in a single pass. It supports options such as single-pass writing of a multisession disc. The Multi-Media Command Set (MMC) standard name for this strategy is "raw" but it is often called disc-at-once (DAO).
func KDRDeviceCanWriteCDSAOKey ¶
func KDRDeviceCanWriteCDSAOKey() uintptr
@const kDRDeviceCanWriteCDSAOKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device supports a session-at-once (SAO) burn strategy for CD.
func KDRDeviceCanWriteCDTAOKey ¶
func KDRDeviceCanWriteCDTAOKey() uintptr
@const kDRDeviceCanWriteCDTAOKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device supports a track-at-once (TAO) burn strategy for CD.
func KDRDeviceCanWriteCDTextKey ¶
func KDRDeviceCanWriteCDTextKey() uintptr
@const kDRDeviceCanWriteCDTextKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write CD-Text information.
func KDRDeviceCanWriteDVDDAOKey ¶
func KDRDeviceCanWriteDVDDAOKey() uintptr
@const kDRDeviceCanWriteDVDDAOKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device supports a disc-at-once (DAO) burn strategy on DVD media. This burn strategy does not apply to CD media.
func KDRDeviceCanWriteDVDKey ¶
func KDRDeviceCanWriteDVDKey() uintptr
@const kDRDeviceCanWriteDVDKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to some type of DVD-based media.
func KDRDeviceCanWriteDVDPlusRDoubleLayerKey ¶
func KDRDeviceCanWriteDVDPlusRDoubleLayerKey() uintptr
@const kDRDeviceCanWriteDVDPlusRDoubleLayerKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD+R double layer media.
func KDRDeviceCanWriteDVDPlusRKey ¶
func KDRDeviceCanWriteDVDPlusRKey() uintptr
@const kDRDeviceCanWriteDVDPlusRKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD+R media.
func KDRDeviceCanWriteDVDPlusRWDoubleLayerKey ¶
func KDRDeviceCanWriteDVDPlusRWDoubleLayerKey() uintptr
@const kDRDeviceCanWriteDVDPlusRWDoubleLayerKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD+RW double layer media.
func KDRDeviceCanWriteDVDPlusRWKey ¶
func KDRDeviceCanWriteDVDPlusRWKey() uintptr
@const kDRDeviceCanWriteDVDPlusRWKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD+RW media.
func KDRDeviceCanWriteDVDRAMKey ¶
func KDRDeviceCanWriteDVDRAMKey() uintptr
@const kDRDeviceCanWriteDVDRAMKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-RAM media.
func KDRDeviceCanWriteDVDRDualLayerKey ¶
func KDRDeviceCanWriteDVDRDualLayerKey() uintptr
@const kDRDeviceCanWriteDVDRDualLayerKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-R DL media.
func KDRDeviceCanWriteDVDRKey ¶
func KDRDeviceCanWriteDVDRKey() uintptr
@const kDRDeviceCanWriteDVDRKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-R media.
func KDRDeviceCanWriteDVDRWDualLayerKey ¶
func KDRDeviceCanWriteDVDRWDualLayerKey() uintptr
@const kDRDeviceCanWriteDVDRWDualLayerKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-RW DL media.
func KDRDeviceCanWriteDVDRWKey ¶
func KDRDeviceCanWriteDVDRWKey() uintptr
@const kDRDeviceCanWriteDVDRWKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-RW media.
func KDRDeviceCanWriteHDDVDKey ¶
func KDRDeviceCanWriteHDDVDKey() uintptr
@const kDRDeviceCanWriteHDDVDKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to some type of HD DVD-based media.
func KDRDeviceCanWriteHDDVDRAMKey ¶
func KDRDeviceCanWriteHDDVDRAMKey() uintptr
@const kDRDeviceCanWriteHDDVDRAMKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to HD DVD-RAM media.
func KDRDeviceCanWriteHDDVDRDualLayerKey ¶
func KDRDeviceCanWriteHDDVDRDualLayerKey() uintptr
@const kDRDeviceCanWriteHDDVDRDualLayerKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to HD DVD-R DL media.
func KDRDeviceCanWriteHDDVDRKey ¶
func KDRDeviceCanWriteHDDVDRKey() uintptr
@const kDRDeviceCanWriteHDDVDRKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to HD DVD-R media.
func KDRDeviceCanWriteHDDVDRWDualLayerKey ¶
func KDRDeviceCanWriteHDDVDRWDualLayerKey() uintptr
func KDRDeviceCanWriteHDDVDRWKey ¶
func KDRDeviceCanWriteHDDVDRWKey() uintptr
func KDRDeviceCanWriteISRCKey ¶
func KDRDeviceCanWriteISRCKey() uintptr
@const kDRDeviceCanWriteISRCKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write International Standard Recording Code (ISRC) to CD media.
func KDRDeviceCanWriteIndexPointsKey ¶
func KDRDeviceCanWriteIndexPointsKey() uintptr
@const kDRDeviceCanWriteIndexPointsKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write index points to CD media.
func KDRDeviceCanWriteKey ¶
func KDRDeviceCanWriteKey() uintptr
@const kDRDeviceCanWriteKey @discussion A key for the @link kDRDeviceWriteCapabilitiesKey kDRDeviceWriteCapabilitiesKey @/link dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to any type of media.
func KDRDeviceCurrentWriteSpeedKey ¶
func KDRDeviceCurrentWriteSpeedKey() uintptr
@const kDRDeviceCurrentWriteSpeedKey @discussion A key for the dictionary returned by @link DRDeviceCopyStatus DRDeviceCopyStatus @/link. The value of this key is a reference to a CFNumber object containing the current write speed in KB/s, where 1KB = 1000 bytes.
func KDRDeviceDisappearedNotification ¶
func KDRDeviceDisappearedNotification() uintptr
@const kDRDeviceDisappearedNotification @discussion Notification sent when a device is no longer available. Because users can connect and disconnect FireWire, USB, and other devices while a computer is on, you should maintain your own list of attached devices and rely on notifications to keep the list current.
func KDRDeviceFirmwareRevisionKey ¶
func KDRDeviceFirmwareRevisionKey() uintptr
@const kDRDeviceFirmwareRevisionKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFString object containing the firmware revision extracted from the device.
func KDRDeviceIORegistryEntryPathKey ¶
func KDRDeviceIORegistryEntryPathKey() uintptr
@const kDRDeviceIORegistryEntryPathKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFString object containing a copy of the path to the device entry in the IORegistry.
func KDRDeviceIsBusyKey ¶
func KDRDeviceIsBusyKey() uintptr
@const kDRDeviceIsBusyKey @discussion A key for the dictionary returned by @link DRDeviceCopyStatus DRDeviceCopyStatus @/link. The value of this key is a reference to a CFBoolean object indicating if the device is busy.
func KDRDeviceIsTrayOpenKey ¶
func KDRDeviceIsTrayOpenKey() uintptr
@const kDRDeviceIsTrayOpenKey @discussion A key for the dictionary returned by @link DRDeviceCopyStatus DRDeviceCopyStatus @/link. The value of this key is a reference to a CFBoolean object indicating if the device's tray is open.
func KDRDeviceLoadingMechanismCanEjectKey ¶
func KDRDeviceLoadingMechanismCanEjectKey() uintptr
@const kDRDeviceLoadingMechanismCanEjectKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFBoolean object that indicates if the loading mechanism of the drive can eject.
func KDRDeviceLoadingMechanismCanInjectKey ¶
func KDRDeviceLoadingMechanismCanInjectKey() uintptr
@const kDRDeviceLoadingMechanismCanInjectKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFBoolean object that indicates if the loading mechanism of the drive can inject.
func KDRDeviceLoadingMechanismCanOpenKey ¶
func KDRDeviceLoadingMechanismCanOpenKey() uintptr
@const kDRDeviceLoadingMechanismCanOpenKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFBoolean object that indicates if the loading mechanism of the drive can open.
func KDRDeviceMaximumWriteSpeedKey ¶
func KDRDeviceMaximumWriteSpeedKey() uintptr
@const kDRDeviceMaximumWriteSpeedKey @discussion A key for the dictionary returned by @link DRDeviceCopyStatus DRDeviceCopyStatus @/link. The value of this key is a reference to a CFNumber object containing the maximum write speed in KB/s, where 1KB = 1000 bytes.
func KDRDeviceMediaBSDNameKey ¶
func KDRDeviceMediaBSDNameKey() uintptr
@const kDRDeviceMediaBSDNameKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFString object containing the BSD name assigned to the device.
func KDRDeviceMediaBlocksFreeKey ¶
func KDRDeviceMediaBlocksFreeKey() uintptr
@const kDRDeviceMediaBlocksFreeKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFNumber object containing the number of free blocks on the disc.
func KDRDeviceMediaBlocksOverwritableKey ¶
func KDRDeviceMediaBlocksOverwritableKey() uintptr
@const kDRDeviceMediaBlocksOverwritableKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFNumber object containing the number of writable blocks on the disc.
func KDRDeviceMediaBlocksUsedKey ¶
func KDRDeviceMediaBlocksUsedKey() uintptr
@const kDRDeviceMediaBlocksUsedKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFNumber object containing the number of blocks used by data on the disc.
func KDRDeviceMediaClassBD ¶
func KDRDeviceMediaClassBD() uintptr
@const kDRDeviceMediaClassBD @discussion One value for the @link kDRDeviceMediaClassKey kDRDeviceMediaClassKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is BD-based (Blu-ray).
func KDRDeviceMediaClassCD ¶
func KDRDeviceMediaClassCD() uintptr
@const kDRDeviceMediaClassCD @discussion One value for the @link kDRDeviceMediaClassKey kDRDeviceMediaClassKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is CD-based.
func KDRDeviceMediaClassDVD ¶
func KDRDeviceMediaClassDVD() uintptr
@const kDRDeviceMediaClassDVD @discussion One value for the @link kDRDeviceMediaClassKey kDRDeviceMediaClassKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is DVD-based.
func KDRDeviceMediaClassHDDVD ¶
func KDRDeviceMediaClassHDDVD() uintptr
@const kDRDeviceMediaClassHDDVD @discussion One value for the @link kDRDeviceMediaClassKey kDRDeviceMediaClassKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is HD DVD-based.
func KDRDeviceMediaClassKey ¶
func KDRDeviceMediaClassKey() uintptr
@const kDRDeviceMediaClassKey @discussion A key for the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFString object indicating the class of media present in the drive.
func KDRDeviceMediaClassUnknown ¶
func KDRDeviceMediaClassUnknown() uintptr
@const kDRDeviceMediaClassUnknown @discussion One value for the @link kDRDeviceMediaClassKey kDRDeviceMediaClassKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the media class is unknown.
func KDRDeviceMediaDoubleLayerL0DataZoneBlocksKey ¶
func KDRDeviceMediaDoubleLayerL0DataZoneBlocksKey() uintptr
@const kDRDeviceMediaDoubleLayerL0DataZoneBlocksKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFNumber object containing the number of blocks on layer 0 of a double layer burnable disc.
func KDRDeviceMediaInfoKey ¶
func KDRDeviceMediaInfoKey() uintptr
@constant kDRDeviceMediaInfoKey @discussion A key for the dictionary returned by @link DRDeviceCopyStatus DRDeviceCopyStatus @/link. The value of this key is a reference to a CFDictionary object containing information about the media in the drive.
func KDRDeviceMediaIsAppendableKey ¶
func KDRDeviceMediaIsAppendableKey() uintptr
@const kDRDeviceMediaIsAppendableKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFBoolean object indicating whether the disc is appendable -- in other words, whether new sessions can be written.
func KDRDeviceMediaIsBlankKey ¶
func KDRDeviceMediaIsBlankKey() uintptr
@const kDRDeviceMediaIsBlankKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFBoolean object indicating whether the media is blank and has no data on it.
func KDRDeviceMediaIsErasableKey ¶
func KDRDeviceMediaIsErasableKey() uintptr
@const kDRDeviceMediaIsErasableKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFBoolean object indicating whether the disc can be erased.
func KDRDeviceMediaIsOverwritableKey ¶
func KDRDeviceMediaIsOverwritableKey() uintptr
@const kDRDeviceMediaIsOverwritableKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFBoolean object indicating whether the disc is writable -- in other words, whether it can be fully (re)written.
func KDRDeviceMediaIsReservedKey ¶
func KDRDeviceMediaIsReservedKey() uintptr
@const kDRDeviceMediaIsReservedKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFBoolean object indicating whether the disc is reserved for exclusive use by the current process.
func KDRDeviceMediaSessionCountKey ¶
func KDRDeviceMediaSessionCountKey() uintptr
@const kDRDeviceMediaSessionCountKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFNumber object containing the number of sessions on the disc.
func KDRDeviceMediaStateInTransition ¶
func KDRDeviceMediaStateInTransition() uintptr
@const kDRDeviceMediaStateInTransition @discussion One value for the @link kDRDeviceMediaStateKey kDRDeviceMediaStateKey @/link dictionary key. This value indicates that the media is in transition, typically spinning up after being inserted or spinning down in preparation for ejecting.
func KDRDeviceMediaStateKey ¶
func KDRDeviceMediaStateKey() uintptr
@const kDRDeviceMediaStateKey @discussion A key for the dictionary returned by @link DRDeviceCopyStatus DRDeviceCopyStatus @/link. The value of this key is a reference to a CFString object containing information about the state of the media.
func KDRDeviceMediaStateMediaPresent ¶
func KDRDeviceMediaStateMediaPresent() uintptr
@const kDRDeviceMediaStateMediaPresent @discussion One value for the @link kDRDeviceMediaStateKey kDRDeviceMediaStateKey @/link dictionary key. This value indicates that some kind of media is present in the drive. Check the value of the kDRDeviceMediaInfoKey dictionary key for specific media information.
func KDRDeviceMediaStateNone ¶
func KDRDeviceMediaStateNone() uintptr
@const kDRDeviceMediaStateNone @discussion One value for the @link kDRDeviceMediaStateKey kDRDeviceMediaStateKey @/link dictionary key. This value indicates that there is no disc present in the drive.
func KDRDeviceMediaTrackCountKey ¶
func KDRDeviceMediaTrackCountKey() uintptr
@const kDRDeviceMediaTrackCountKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFNumber object containing the total number of tracks on the disc in all sessions.
func KDRDeviceMediaTypeBDR ¶
func KDRDeviceMediaTypeBDR() uintptr
@const kDRDeviceMediaTypeBDR @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a BD-R.
func KDRDeviceMediaTypeBDRE ¶
func KDRDeviceMediaTypeBDRE() uintptr
@const kDRDeviceMediaTypeBDR @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a BD-RE.
func KDRDeviceMediaTypeBDROM ¶
func KDRDeviceMediaTypeBDROM() uintptr
@const kDRDeviceMediaTypeBDROM @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a BD-ROM.
func KDRDeviceMediaTypeCDR ¶
func KDRDeviceMediaTypeCDR() uintptr
@const kDRDeviceMediaTypeCDR @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a CD-R.
func KDRDeviceMediaTypeCDROM ¶
func KDRDeviceMediaTypeCDROM() uintptr
@const kDRDeviceMediaTypeCDROM @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a CD-ROM.
func KDRDeviceMediaTypeCDRW ¶
func KDRDeviceMediaTypeCDRW() uintptr
@const kDRDeviceMediaTypeCDRW @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a CD-RW.
func KDRDeviceMediaTypeDVDPlusR ¶
func KDRDeviceMediaTypeDVDPlusR() uintptr
@const kDRDeviceMediaTypeDVDPlusR @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a DVD+R.
func KDRDeviceMediaTypeDVDPlusRDoubleLayer ¶
func KDRDeviceMediaTypeDVDPlusRDoubleLayer() uintptr
@const kDRDeviceMediaTypeDVDPlusRDoubleLayer @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the media info dictionary. This value indicates that the disc is a DVD+R Double Layer.
func KDRDeviceMediaTypeDVDPlusRW ¶
func KDRDeviceMediaTypeDVDPlusRW() uintptr
@const kDRDeviceMediaTypeDVDPlusRW @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a DVD+RW.
func KDRDeviceMediaTypeDVDPlusRWDoubleLayer ¶
func KDRDeviceMediaTypeDVDPlusRWDoubleLayer() uintptr
@const kDRDeviceMediaTypeDVDPlusRWDoubleLayer @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the media info dictionary. This value indicates that the disc is a DVD+RW Double Layer.
func KDRDeviceMediaTypeDVDR ¶
func KDRDeviceMediaTypeDVDR() uintptr
@const kDRDeviceMediaTypeDVDR @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a DVD-R.
func KDRDeviceMediaTypeDVDRAM ¶
func KDRDeviceMediaTypeDVDRAM() uintptr
@const kDRDeviceMediaTypeDVDRAM @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a DVD-RAM.
func KDRDeviceMediaTypeDVDRDualLayer ¶
func KDRDeviceMediaTypeDVDRDualLayer() uintptr
@const kDRDeviceMediaTypeDVDRDualLayer @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a DVD-R DL.
func KDRDeviceMediaTypeDVDROM ¶
func KDRDeviceMediaTypeDVDROM() uintptr
@const kDRDeviceMediaTypeDVDROM @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a DVD-ROM.
func KDRDeviceMediaTypeDVDRW ¶
func KDRDeviceMediaTypeDVDRW() uintptr
@const kDRDeviceMediaTypeDVDRW @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a DVD-RW.
func KDRDeviceMediaTypeDVDRWDualLayer ¶
func KDRDeviceMediaTypeDVDRWDualLayer() uintptr
@const kDRDeviceMediaTypeDVDRWDualLayer @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a DVD-RW DL.
func KDRDeviceMediaTypeHDDVDR ¶
func KDRDeviceMediaTypeHDDVDR() uintptr
@const kDRDeviceMediaTypeHDDVDR @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a HD DVD-R.
func KDRDeviceMediaTypeHDDVDRAM ¶
func KDRDeviceMediaTypeHDDVDRAM() uintptr
@const kDRDeviceMediaTypeHDDVDRAM @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a HD DVD-RAM.
func KDRDeviceMediaTypeHDDVDRDualLayer ¶
func KDRDeviceMediaTypeHDDVDRDualLayer() uintptr
@const kDRDeviceMediaTypeHDDVDRDualLayer @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a HD DVD-R DL.
func KDRDeviceMediaTypeHDDVDROM ¶
func KDRDeviceMediaTypeHDDVDROM() uintptr
@const kDRDeviceMediaTypeHDDVDROM @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a HD DVD-ROM.
func KDRDeviceMediaTypeHDDVDRW ¶
func KDRDeviceMediaTypeHDDVDRW() uintptr
@const kDRDeviceMediaTypeHDDVDRW @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a HD DVD-RW.
func KDRDeviceMediaTypeHDDVDRWDualLayer ¶
func KDRDeviceMediaTypeHDDVDRWDualLayer() uintptr
@const kDRDeviceMediaTypeHDDVDRWDualLayer @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc is a HD DVD-RW DL.
func KDRDeviceMediaTypeKey ¶
func KDRDeviceMediaTypeKey() uintptr
@const kDRDeviceMediaTypeKey @discussion A key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. The value of this key is a reference to a CFString object indicating the type of media present in the drive.
func KDRDeviceMediaTypeUnknown ¶
func KDRDeviceMediaTypeUnknown() uintptr
@const kDRDeviceMediaTypeUnknown @discussion One value for the @link kDRDeviceMediaTypeKey kDRDeviceMediaTypeKey @/link dictionary key in the @link kDRDeviceMediaInfoKey kDRDeviceMediaInfoKey @/link dictionary. This value indicates that the disc type is unknown.
func KDRDevicePhysicalInterconnectATAPI ¶
func KDRDevicePhysicalInterconnectATAPI() uintptr
@const kDRDevicePhysicalInterconnectATAPI @discussion One value for the @link kDRDevicePhysicalInterconnectKey kDRDevicePhysicalInterconnectKey @/link dictionary key. This value indicates that the device is connected by an ATAPI interface.
func KDRDevicePhysicalInterconnectFibreChannel ¶
func KDRDevicePhysicalInterconnectFibreChannel() uintptr
@const kDRDevicePhysicalInterconnectFibreChannel @discussion One value for the @link kDRDevicePhysicalInterconnectKey kDRDevicePhysicalInterconnectKey @/link dictionary key. This value indicates that the device is connected by a Fibre Channel interface.
func KDRDevicePhysicalInterconnectFireWire ¶
func KDRDevicePhysicalInterconnectFireWire() uintptr
@const kDRDevicePhysicalInterconnectFireWire @discussion One value for the @link kDRDevicePhysicalInterconnectKey kDRDevicePhysicalInterconnectKey @/link dictionary key. This value indicates that the device is connected by a FireWire interface.
func KDRDevicePhysicalInterconnectKey ¶
func KDRDevicePhysicalInterconnectKey() uintptr
@const kDRDevicePhysicalInterconnectKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFString object containing the type of the bus the device is on.
func KDRDevicePhysicalInterconnectLocationExternal ¶
func KDRDevicePhysicalInterconnectLocationExternal() uintptr
@const kDRDevicePhysicalInterconnectLocationExternal @discussion One value for the @link kDRDevicePhysicalInterconnectLocationKey kDRDevicePhysicalInterconnectLocationKey @/link dictionary key. This value indicates that the device is on an external bus.
func KDRDevicePhysicalInterconnectLocationInternal ¶
func KDRDevicePhysicalInterconnectLocationInternal() uintptr
@const kDRDevicePhysicalInterconnectLocationInternal @discussion One value for the @link kDRDevicePhysicalInterconnectLocationKey kDRDevicePhysicalInterconnectLocationKey @/link dictionary key. This value indicates that the device is on an internal bus.
func KDRDevicePhysicalInterconnectLocationKey ¶
func KDRDevicePhysicalInterconnectLocationKey() uintptr
@const kDRDevicePhysicalInterconnectLocationKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFString object containing the physical interconnect location.
func KDRDevicePhysicalInterconnectLocationUnknown ¶
func KDRDevicePhysicalInterconnectLocationUnknown() uintptr
@const kDRDevicePhysicalInterconnectLocationUnknown @discussion One value for the @link kDRDevicePhysicalInterconnectLocationKey kDRDevicePhysicalInterconnectLocationKey @/link dictionary key. This value indicates that the software cannot determine whether the device is on an internal or external bus.
func KDRDevicePhysicalInterconnectSCSI ¶
func KDRDevicePhysicalInterconnectSCSI() uintptr
@const kDRDevicePhysicalInterconnectSCSI @discussion One value for the @link kDRDevicePhysicalInterconnectKey kDRDevicePhysicalInterconnectKey @/link dictionary key. This value indicates that the device is connected by a SCSI interface.
func KDRDevicePhysicalInterconnectUSB ¶
func KDRDevicePhysicalInterconnectUSB() uintptr
@const kDRDevicePhysicalInterconnectUSB @discussion One value for the @link kDRDevicePhysicalInterconnectKey kDRDevicePhysicalInterconnectKey @/link dictionary key. This value indicates that the device is connected by a USB interface.
func KDRDeviceProductNameKey ¶
func KDRDeviceProductNameKey() uintptr
@const kDRDeviceProductNameKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFString object containing the product name extracted from the device.
func KDRDeviceStatusChangedNotification ¶
func KDRDeviceStatusChangedNotification() uintptr
@const kDRDeviceStatusChangedNotification @discussion Notification sent when a device's status changes, usually because a disc has been inserted or removed. The value of the info parameter for your notification callback is equivalent to the dictionary object reference returned from a call to @link DRDeviceCopyStatus DRDeviceCopyStatus @/link.
func KDRDeviceSupportLevelAppleShipping ¶
func KDRDeviceSupportLevelAppleShipping() uintptr
@const kDRDeviceSupportLevelAppleShipping @discussion One value for the @link kDRDeviceSupportLevelKey kDRDeviceSupportLevelKey @/link dictionary key. This value indicates that Apple has provided support for the device and it has shipped in a machine made by Apple.
func KDRDeviceSupportLevelAppleSupported ¶
func KDRDeviceSupportLevelAppleSupported() uintptr
@const kDRDeviceSupportLevelAppleSupported @discussion One value for the @link kDRDeviceSupportLevelKey kDRDeviceSupportLevelKey @/link dictionary key. This value indicates that Apple has provided support for the device.
func KDRDeviceSupportLevelKey ¶
func KDRDeviceSupportLevelKey() uintptr
@const kDRDeviceSupportLevelKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFString object indicating how well the engine supports the device.
func KDRDeviceSupportLevelNone ¶
func KDRDeviceSupportLevelNone() uintptr
@const kDRDeviceSupportLevelNone @discussion One value for the @link kDRDeviceSupportLevelKey kDRDeviceSupportLevelKey @/link dictionary key. This value indicates the engine does not support the device and it cannot be used.
func KDRDeviceSupportLevelUnsupported ¶
func KDRDeviceSupportLevelUnsupported() uintptr
@const kDRDeviceSupportLevelUnsupported @discussion One value for the @link kDRDeviceSupportLevelKey kDRDeviceSupportLevelKey @/link dictionary key. This value indicates the device is unsupported but the Disc Recording engine will try to use it anyway.
func KDRDeviceSupportLevelVendorSupported ¶
func KDRDeviceSupportLevelVendorSupported() uintptr
@const kDRDeviceSupportLevelVendorSupported @discussion One value for the @link kDRDeviceSupportLevelKey kDRDeviceSupportLevelKey @/link dictionary key. This value indicates the device vendor has provided support for the device.
func KDRDeviceTrackInfoKey ¶
func KDRDeviceTrackInfoKey() uintptr
@constant kDRDeviceTrackInfoKey @discussion A key for the dictionary returned by @link DRDeviceCopyStatus DRDeviceCopyStatus @/link. The value of this key is a reference to a CFDictionary object containing dictionaries describing on-disc tracks. DRTrackRef dictionaries from the kDRDeviceTrackRefsKey constant are used as keys into this dictionary.
func KDRDeviceTrackRefsKey ¶
func KDRDeviceTrackRefsKey() uintptr
@constant kDRDeviceTrackRefsKey @discussion A key for the dictionary returned by @link DRDeviceCopyStatus DRDeviceCopyStatus @/link. The value of this key is a reference to a CFArray object containing a list of DRTrack objects describing any tracks that are already on the disc.
func KDRDeviceVendorNameKey ¶
func KDRDeviceVendorNameKey() uintptr
@const kDRDeviceVendorNameKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFString object containing the vendor name extracted from the device.
func KDRDeviceWriteBufferSizeKey ¶
func KDRDeviceWriteBufferSizeKey() uintptr
@const kDRDeviceWriteBufferSizeKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFNumber object containing the size of the write buffer of the device.
func KDRDeviceWriteCapabilitiesKey ¶
func KDRDeviceWriteCapabilitiesKey() uintptr
@const kDRDeviceWriteCapabilitiesKey @discussion A key for the dictionary object returned by @link DRDeviceCopyInfo DRDeviceCopyInfo @/link. The value of this key is a reference to a CFString object describing the capabilities the drive has for writing to different media.
func KDREffectiveDate ¶
func KDREffectiveDate() uintptr
@constant kDREffectiveDate @abstract The property key for the item's effective date, the date at which the contents become valid. @discussion Value is a CFDateRef.
func KDREraseStatusChangedNotification ¶
func KDREraseStatusChangedNotification() uintptr
@const kDREraseStatusChangedNotification @discussion The notification sent when a DRErase object has updated status.
func KDREraseTypeComplete ¶
func KDREraseTypeComplete() uintptr
@const kDREraseTypeComplete @discussion A CFString object indicating the erase operation should erase every byte on the disc. This operation is slow, taking on the order of 30 minutes.
func KDREraseTypeKey ¶
func KDREraseTypeKey() uintptr
@const kDREraseTypeKey @discussion This key points to a CFString object describing the type of erase to be performed. If this key is not present, a @link kDREraseTypeQuick kDREraseTypeQuick @/link erase type is assumed.
func KDREraseTypeQuick ¶
func KDREraseTypeQuick() uintptr
@const kDREraseTypeQuick @discussion A CFString object indicating the erase operation should do the minimal amount of work to make the disc appear blank. This operation typically takes only a minute or two.
func KDRErrorStatusAdditionalSenseStringKey ¶
func KDRErrorStatusAdditionalSenseStringKey() uintptr
@const kDRErrorStatusAdditionalSenseStringKey @discussion A key for the DRErrorStatus dictionary. The value of this key is a CFString object containing the localized string describing the additonal sense from the sense data for the failure. This value is optional and will not be present if the kDRErrorStatusSenseKey key is not present or if a suitable string does not exist to describe the failure.
func KDRErrorStatusErrorInfoStringKey ¶
func KDRErrorStatusErrorInfoStringKey() uintptr
@const kDRErrorStatusErrorInfoStringKey @discussion A key for the DRErrorStatus dictionary. The value of this key is a CFString object containing a string providing additional information for the error. This value is optional and may not be present if a suitable string does not exist to describe the failure.
func KDRErrorStatusErrorKey ¶
func KDRErrorStatusErrorKey() uintptr
@const kDRErrorStatusErrorKey @discussion A key for the DRErrorStatus dictionary. The value of this key is a CFNumber object containing the OSStatus value corresponding to the failure.
func KDRErrorStatusErrorStringKey ¶
func KDRErrorStatusErrorStringKey() uintptr
@const kDRErrorStatusErrorStringKey @discussion A key for the DRErrorStatus dictionary. The value of this key is a CFString object containing the localized string describing the kDRErrorStatusErrorKey key. This value is optional and may not be present if a suitable string does not exist to describe the failure.
func KDRErrorStatusKey ¶
func KDRErrorStatusKey() uintptr
@const kDRErrorStatusKey @discussion A key for the DRErrorStatus dictionary, returned by any of the <tt>DRxxxCopyStatus</tt> calls or <tt>kDRxxxStatusChangedNotifications</tt>, to describe a failure. The value of this key is a CFDictionary object containing error code and device sense information.
func KDRErrorStatusSenseCodeStringKey ¶
func KDRErrorStatusSenseCodeStringKey() uintptr
@const kDRErrorStatusSenseCodeStringKey @discussion A key for the DRErrorStatus dictionary. The value of this key is a CFString object containing the localized string describing the sense key from the sense data for the failure. This value is optional and will not be present if the kDRErrorStatusSenseKey key is not present or if a suitable string does not exist to describe the failure.
func KDRErrorStatusSenseKey ¶
func KDRErrorStatusSenseKey() uintptr
@const kDRErrorStatusSenseKey @discussion A key for the DRErrorStatus dictionary. The value of this key is a CFData object containing the device sense data describing the failure. This value is optional and may not be present if the failure was not device-related, or if the device failed in a way which did not provide meaningful sense data.
func KDRExpirationDate ¶
func KDRExpirationDate() uintptr
@constant kDRExpirationDate @abstract The property key for the item's expiration date, the date at which the contents become no longer valid. @discussion Value is a CFDateRef.
func KDRFreeBlocksKey ¶
func KDRFreeBlocksKey() uintptr
@const kDRFreeBlocksKey @discussion This key corresponds to a CFNumber object containing the length, in blocks, which is still available in a writable track.
func KDRHFSPlus ¶
func KDRHFSPlus() uintptr
@constant kDRHFSPlus @abstract The key for accessing the HFS+ name/properties for the file. @discussion HFS+ names can be up to 255 decomposed unicode characters long.
func KDRHFSPlusCatalogNodeID ¶
func KDRHFSPlusCatalogNodeID() uintptr
@constant kDRHFSPlusCatalogNodeID @abstract The property key for the item's catalog node ID (HFS+ only). @discussion Value is a CFNumber. Currently, this value if set is only a suggestion. The burn engine will attempt to use this node ID, but may use another value if it needs to resolve conflicts. Default behavior is to allocate node IDs incrementally from @link //apple_ref/c/econst/kHFSFirstUserCatalogNodeID kHFSFirstUserCatalogNodeID @/link.
func KDRHFSPlusTextEncodingHint ¶
func KDRHFSPlusTextEncodingHint() uintptr
@constant kDRHFSPlusTextEncodingHint @abstract The property key for the item's text encoding hint (HFS+ only). @discussion Value is a CFNumber. This value is used by the MacOS to help when converting the natively UTF-16 filename into an 8-bit-per-character representation (such as MacRoman, Shift-JIS, or UTF8). If not set, default behavior is to call @link //apple_ref/c/func/CFStringGetMostCompatibleMacStringEncoding CFStringGetMostCompatibleMacStringEncoding @/link(@link //apple_ref/c/func/CFStringGetSmallestEncoding CFStringGetSmallestEncoding @/link()).
func KDRISO9660 ¶
func KDRISO9660() uintptr
@constant kDRISO9660 @abstract The key for accessing the ISO-9660 properties for the file. @discussion This key is used to refer specifically to the properties for the file. This key cannot be used to refer to the name of the file; it is ambiguous, since the name may be in either level 1 or level 2 format.
func KDRISO9660LevelOne ¶
func KDRISO9660LevelOne() uintptr
@constant kDRISO9660LevelOne @abstract The key for accessing the ISO-9660 level 1 name for the file. @discussion This key is used to refer specifically to the name generated for ISO-9660 if the ISO level is set to 1. When used for a property, it is equivalent in use to the @link kDRISO9660 kDRISO9660 @/link key and acts as a synonym for that key. ISO9660 level 1 names are in the form typically known as 8.3 - eight characters of name and three characters of extension (if it's a file; directories can't have extensions). Character set is limited to A-Z, 0-9, and _.
func KDRISO9660LevelTwo ¶
func KDRISO9660LevelTwo() uintptr
@constant kDRISO9660LevelTwo @abstract The key for accessing the ISO-9660 level 2 name for the file. @discussion This key is used to refer specifically to the name generated for ISO-9660 if the ISO level is set to 2. When used for a property, it is equivalent in use to the @link kDRISO9660 kDRISO9660 @/link key and acts as a synonym for that key. ISO9660 level 2 names can be 32 chars long, are limited to a subset of the 7-bit ASCII chars (capital letters, numbers, space, punctuation), and are only allowed one "." character.
func KDRISO9660VersionNumber ¶
func KDRISO9660VersionNumber() uintptr
@constant kDRISO9660VersionNumber @abstract The property key for the ISO9660 version number for the object. @discussion Value is a CFNumber, default value is 1.
func KDRISOLevel ¶
func KDRISOLevel() uintptr
@constant kDRISOLevel @abstract The key for indicating the ISO level of the ISO-9660 filesystem on the track. @discussion Value is a CFNumberRef, currently should be 1 or 2.
func KDRISOMacExtensions ¶
func KDRISOMacExtensions() uintptr
@constant kDRISOMacExtensions @abstract (ISO/Joliet) Whether to add ISO/Joliet Mac extensions when appropriate. @discussion Value is a CFBooleanRef.
func KDRISORockRidgeExtensions ¶
func KDRISORockRidgeExtensions() uintptr
@constant kDRISORockRidgeExtensions @abstract (ISO/Joliet) Whether to add RockRidge (POSIX extensions) when appropriate. @discussion Value is a CFBooleanRef.
func KDRIndexPointsKey ¶
func KDRIndexPointsKey() uintptr
@const kDRIndexPointsKey @discussion Optional key. For CD tracks only. This track property key corresponds to a CFArray object containing CFNumber objects describing index points within the track. Each index point is specified as a number of blocks, equivalent to frames, relative to the start of the track. There are 75 blocks in one second of CD audio. No more than 98 index points may be specified for a track. Not all drives can write index points, and not all consumer CD players report or use them. If this key is present in any track and the drive cannot write index points, the burn will fail with a return value of @link //apple_ref/c/econst/kDRDeviceCantWriteIndexPointsErr kDRDeviceCantWriteIndexPointsErr @/link.
func KDRInvisible ¶
func KDRInvisible() uintptr
@constant kDRInvisible @abstract The property key for the invisibility of the object. @discussion Value is a CFBooleanRef.
func KDRJoliet ¶
func KDRJoliet() uintptr
@constant kDRJoliet @abstract The key for accessing the Joliet name/properties for the file. @discussion Joliet names can be 64 precomposed unicode characters long, but are only allowed one "." character and many punctuation characters are illegal.
func KDRMacExtendedFinderFlags ¶
func KDRMacExtendedFinderFlags() uintptr
@constant kDRMacExtendedFinderFlags @abstract The property key for the item's extended Finder flags (MacOS only). @discussion Value is a CFNumber.
func KDRMacFileCreator ¶
func KDRMacFileCreator() uintptr
@constant kDRMacFileCreator @abstract The property key for a file's creator (MacOS only). @discussion Value is a CFDataRef containing an OSType.
func KDRMacFileType ¶
func KDRMacFileType() uintptr
@constant kDRMacFileType @abstract The property key for a file's type (MacOS only). @discussion Value is a CFDataRef containing an OSType.
func KDRMacFinderFlags ¶
func KDRMacFinderFlags() uintptr
@constant kDRMacFinderFlags @abstract The property key for the item's Finder flags (MacOS only). @discussion Value is a CFNumber. The "invisible" bit is ignored - use @link kDRInvisible kDRInvisible @/link instead.
func KDRMacFinderHideExtension ¶
func KDRMacFinderHideExtension() uintptr
@constant kDRMacFinderHideExtension @abstract The property key for hiding the extension of the object. @discussion A CFBooleanRef indicating whether the extension should be hidden in the Finder or not. The default is false and only applies to files.
func KDRMacIconLocation ¶
func KDRMacIconLocation() uintptr
@constant kDRMacIconLocation @abstract The property key for the item's icon location in its parent folder (MacOS only). @discussion Value is a CFDataRef containing a Point.
func KDRMacScrollPosition ¶
func KDRMacScrollPosition() uintptr
@constant kDRMacScrollPosition @abstract The property key for the folder's scroll position (MacOS only). @discussion Value is a CFDataRef containing a Point.
func KDRMacWindowBounds ¶
func KDRMacWindowBounds() uintptr
@constant kDRMacWindowBounds @abstract The property key for the window bounds for a folder (MacOS only). @discussion Value is a CFDataRef containing a Rect.
func KDRMacWindowView ¶
func KDRMacWindowView() uintptr
@constant kDRMacWindowView @abstract The property key for the folder's window view (MacOS only). @discussion Value is a CFNumber.
func KDRMaxBurnSpeedKey ¶
func KDRMaxBurnSpeedKey() uintptr
@const kDRMaxBurnSpeedKey @discussion Optional key. This track property key corresponds to a CFNumber object containing the maximum sustained rate at which your application will request data from the track callback, in units of kilobytes per second where 1 kilobyte = 1,000 bytes. The value for @link kDRMaxBurnSpeedKey kDRMaxBurnSpeedKey @/link must be greater than the drive's minimum burn speed. It is usually safe to specify the appropriate flavor of 1x (@link kDRDeviceBurnSpeedCD1x kDRDeviceBurnSpeedCD1x @/link or @link kDRDeviceBurnSpeedDVD1x kDRDeviceBurnSpeedDVD1x @/link), but some drives cannot slow all the way down to 1x. Given the capabilities of the drive, the bus, and the recordable disc, the burn speed used when writing a layout will generally be the highest data rate possible that is less than or equal to the value of @link kDRMaxBurnSpeedKey kDRMaxBurnSpeedKey @/link for every track, as well as less than or equal to the value of the @link kDRBurnRequestedSpeedKey kDRBurnRequestedSpeedKey @/link key for the burn object. When this key is not present, the requested maximum sustained data rate defaults to a value of infinity. In this case, the Disc Recording engine assumes that your track callback can produce data at any rate requested.
func KDRMediaCatalogNumberKey ¶
func KDRMediaCatalogNumberKey() uintptr
@const kDRMediaCatalogNumberKey @abstract The Media Catalog Number (MCN) to write to disc. @discussion This burn property key corresponds to a CFData object containing exactly 13 bytes of data to be written to the disc as the Media Catalog Number (MCN). If this key is not present it will default to all zeroes, indicating that an MCN is not supplied. This value is the standard UPC/EAN product number, and should conform to the specifications of the UCC and EAN. See <a href="http://www.ean-int.org">http://www.ean-int.org</a> and <a href="http://www.uc-council.org">http://www.uc-council.org</a> for more information.
func KDRNextWritableAddressKey ¶
func KDRNextWritableAddressKey() uintptr
@const kDRNextWritableAddressKey @discussion This key corresponds to a CFNumber object containing the Logical Block Address (LBA) of the next writable address in the track. This key is not present in closed tracks.
func KDRPosixFileMode ¶
func KDRPosixFileMode() uintptr
@constant kDRPosixFileMode @abstract The posix file mode. @discussion Value is a CFNumber.
func KDRPosixGID ¶
func KDRPosixGID() uintptr
@constant kDRPosixGID @abstract The posix file GID. @discussion Value is a CFNumber.
func KDRPosixUID ¶
func KDRPosixUID() uintptr
@constant kDRPosixUID @abstract The posix file UID. @discussion Value is a CFNumber.
func KDRPreGapIsRequiredKey ¶
func KDRPreGapIsRequiredKey() uintptr
@const kDRPreGapIsRequiredKey @discussion Optional key. This track property key corresponds to a CFBoolean object indicating whether the pregap listed for the track is required. If this key is not present, the track will behave as though the key were <tt>false</tt>. If this key's value is set to <tt>true</tt> and the device does not support the exact pregap length, the burn will fail with a return value of @link //apple_ref/c/econst/kDRDevicePregapLengthNotAvailableErr @/link. If this key's value is set to <tt>false</tt> and the device does not support the suggested pregap length, the engine will choose an alternate pregap length.
func KDRPreGapLengthKey ¶
func KDRPreGapLengthKey() uintptr
@const kDRPreGapLengthKey @discussion Optional key. This track property key corresponds to a CFNumber object containing the length in blocks of empty space, or pregap, to be recorded before the track. If this key is not present the Disc Recording engine will assume a 2 second, or 150 block, pregap.
func KDRPublisher ¶
func KDRPublisher() uintptr
@constant kDRPublisher @abstract (ISO/Joliet) The key for indicating the publisher string. @discussion Value is a CFStringRef.
func KDRRecordingDate ¶
func KDRRecordingDate() uintptr
@constant kDRRecordingDate @abstract The property key for the item's recording date. @discussion Value is a CFDateRef.
func KDRSCMSCopyrightFree ¶
func KDRSCMSCopyrightFree() uintptr
@const kDRSCMSCopyrightFree @discussion One value for the @link kDRSerialCopyManagementStateKey kDRSerialCopyManagementStateKey @/link dictionary key. This value indicates that the track has no copying restrictions. Copies of this track should also be copyright free.
func KDRSCMSCopyrightProtectedCopy ¶
func KDRSCMSCopyrightProtectedCopy() uintptr
@const kDRSCMSCopyrightProtectedCopy @discussion One value for the @link kDRSerialCopyManagementStateKey kDRSerialCopyManagementStateKey @/link dictionary key. This value indicates that the track is a first-generation copy of an original that was subject to copy protection. No further digital copying should be allowed.
func KDRSCMSCopyrightProtectedOriginal ¶
func KDRSCMSCopyrightProtectedOriginal() uintptr
@const kDRSCMSCopyrightProtectedOriginal @discussion One value for the @link kDRSerialCopyManagementStateKey kDRSerialCopyManagementStateKey @/link dictionary key. This value indicates that the track is an original subject to copyright protection. Digital copying of this track should be allowed, but copies should be marked with appropriate Serial Copy Management System (SCMS) data.
func KDRSerialCopyManagementStateKey ¶
func KDRSerialCopyManagementStateKey() uintptr
@const kDRSerialCopyManagementStateKey @discussion Optional key. For CD tracks only. This track property key corresponds to a CFString value indicating the Serial Copy Management System (SCMS) state of the track. If this key is not present, no SCMS data is written. Not all drives are capable of writing SCMS data. If this key is present in any track and the drive cannot write SCMS, the burn will fail with a return value of @link //apple_ref/c/econst/kDRDeviceCantWriteSCMSErr kDRDeviceCantWriteSCMSErr @/link.
func KDRSessionFormatKey ¶
func KDRSessionFormatKey() uintptr
@const kDRSessionFormatKey @discussion Required key. This key corresponds to a CFNumber object containing the session format of the track. Common values are defined in the @link //apple_ref/c/tag/Session%32Mode Session Mode @/link enumeration.
func KDRSessionNumberKey ¶
func KDRSessionNumberKey() uintptr
@const kDRSessionNumberKey @discussion This key corresponds to a CFNumber object containing the physical session number of a track.
func KDRStatusCurrentSessionKey ¶
func KDRStatusCurrentSessionKey() uintptr
@const kDRStatusCurrentSessionKey @abstract The number of the burn session. @discussion A key for the burn status dictionary. The value of this key is a CFNumber object containing the number of the current burn session.
func KDRStatusCurrentSpeedKey ¶
func KDRStatusCurrentSpeedKey() uintptr
@const kDRStatusCurrentSpeedKey @abstract The current burn or erase speed. @discussion A key for the burn status dictionary. The value of this key is a CFNumber object containing the current burn or erase speed.
func KDRStatusCurrentTrackKey ¶
func KDRStatusCurrentTrackKey() uintptr
@const kDRStatusCurrentTrackKey @abstract The number of the track being burned. @discussion A key for the status dictionaries. The value of this key is a CFNumber object containing the number of the track being burned.
func KDRStatusEraseTypeKey ¶
func KDRStatusEraseTypeKey() uintptr
@const kDRStatusEraseTypeKey @abstract The type of erase operation. @discussion A key for the erase status dictionary. The value of this key is a CFString object containing the type of erase operation -- either @link kDREraseTypeQuick kDREraseTypeQuick @/link or @link kDREraseTypeComplete kDREraseTypeComplete @/link.
func KDRStatusPercentCompleteKey ¶
func KDRStatusPercentCompleteKey() uintptr
@const kDRStatusPercentCompleteKey @abstract The burn or erase operation's percentage of completion. @discussion A key for the status dictionaries. The value of this key is a CFNumber object containing the precentage of completion for the burn or erase operation, expressed as a foating point number from 0 to 1.
func KDRStatusProgressCurrentKPS ¶
func KDRStatusProgressCurrentKPS() uintptr
@const kDRStatusProgressCurrentKPS @abstract The current burn speed in kilobytes per second. @discussion This is an optional key within the kDRStatusProgressInfo dictionary. The value of this key, if present, is a CFNumber object containing the write speed of the burn.
func KDRStatusProgressCurrentXFactor ¶
func KDRStatusProgressCurrentXFactor() uintptr
@const kDRStatusProgressCurrentXFactor @abstract The current burn speed in a media appropriate x-factor @discussion This is an optional key within the kDRStatusProgressInfo dictionary. The value of this key, if present, is a CFNumber object containing the appropriate x-factor for the media.
func KDRStatusProgressInfoKey ¶
func KDRStatusProgressInfoKey() uintptr
@const kDRStatusProgressInfoKey @abstract A dictionary of extended progress information. @discussion A key for the status dictionary. The value of this key is a reference to a CFDictionary object containing extended progress information.
func KDRStatusStateDone ¶
func KDRStatusStateDone() uintptr
@const kDRStatusStateDone @abstract The burn or erase operation finished successfully. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link dictionary key. This value indicates the burn or erase operation finished and succeeded.
func KDRStatusStateErasing ¶
func KDRStatusStateErasing() uintptr
@const kDRStatusStateErasing @abstract The disc is being erased. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link key in the erase status dictionary. This value indicates the erase is currently in progress.
func KDRStatusStateFailed ¶
func KDRStatusStateFailed() uintptr
@const kDRStatusStateFailed @abstract The burn or erase operation failed. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link dictionary key. This value indicates the burn or erase operation finished but failed.
func KDRStatusStateFinishing ¶
func KDRStatusStateFinishing() uintptr
@const kDRStatusStateFinishing @abstract The burn session is finishing. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link key in the burn status dictionary. This value indicates the burn is finishing--closing the last session, writing the TOC, and so on.
func KDRStatusStateKey ¶
func KDRStatusStateKey() uintptr
@const kDRStatusStateKey @abstract The state of the burn or erase operation. @discussion A key for the status dictionaries. The value of this key is a CFString object indicating the current state of the burn or erase operation.
func KDRStatusStateNone ¶
func KDRStatusStateNone() uintptr
@const kDRStatusStateNone @abstract The burn or erase operation has not begun. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link dictionary key. This value indicates the burn or erase operation has not yet begun.
func KDRStatusStatePreparing ¶
func KDRStatusStatePreparing() uintptr
@const kDRStatusStatePreparing @abstract The burn or erase operation is preparing to begin. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link dictionary key. This value indicates the burn or erase operation is preparing to begin.
func KDRStatusStateSessionClose ¶
func KDRStatusStateSessionClose() uintptr
@const kDRStatusStateSessionClose @abstract The burn session is closing. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link key in the burn status dictionary. This value indicates the burn engine is closing a session on disc. The number of the session being closed is available as the value for the @link kDRStatusCurrentSessionKey kDRStatusCurrentSessionKey @/link dictionary key.
func KDRStatusStateSessionOpen ¶
func KDRStatusStateSessionOpen() uintptr
@const kDRStatusStateSessionOpen @abstract The burn session is opening. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link key in the burn status dictionary. This value indicates the burn engine is opening a session on disc. The number of the session being opened is available as the value for the @link kDRStatusCurrentSessionKey kDRStatusCurrentSessionKey @/link dictionary key.
func KDRStatusStateTrackClose ¶
func KDRStatusStateTrackClose() uintptr
@const kDRStatusStateTrackClose @abstract The burn session is closing a track. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link key in the burn status dictionary. This value indicates the burn engine is closing a track on disc. The number of the track being closed is available as the value for the @link kDRStatusCurrentTrackKey kDRStatusCurrentTrackKey @/link dictionary key.
func KDRStatusStateTrackOpen ¶
func KDRStatusStateTrackOpen() uintptr
@const kDRStatusStateTrackOpen @abstract The burn session is opening a track. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link key in the burn status dictionary. This value indicates the burn engine is opening a track on disc. The number of the track being opened is available as the value for the @link kDRStatusCurrentTrackKey kDRStatusCurrentTrackKey @/link dictionary key.
func KDRStatusStateTrackWrite ¶
func KDRStatusStateTrackWrite() uintptr
@const kDRStatusStateTrackWrite @abstract The burn session is writing a track. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link key in the burn status dictionary. This value indicates the burn engine is writing a track on disc. The number of the track being written is available as the value for the in @link kDRStatusCurrentTrackKey kDRStatusCurrentTrackKey @/link dictionary key.
func KDRStatusStateVerifying ¶
func KDRStatusStateVerifying() uintptr
@const kDRStatusStateVerifying @abstract The burn or erase operation is being verified. @discussion A value for the @link kDRStatusStateKey kDRStatusStateKey @/link dictionary key. This value indicates the operation is verifying what it did.
func KDRStatusTotalSessionsKey ¶
func KDRStatusTotalSessionsKey() uintptr
@const kDRStatusTotalSessionsKey @abstract The total number of burn sessions. @discussion A key for the status dictionaries. The value of this key is a CFNumber object containing the total number of sessions being burned.
func KDRStatusTotalTracksKey ¶
func KDRStatusTotalTracksKey() uintptr
@const kDRStatusTotalTracksKey @abstract The number of tracks in the current session. @discussion A key for the status dictionaries. The value of this key is a CFNumber object containing the total number of tracks being burned in the current session.
func KDRSubchannelDataFormKey ¶
func KDRSubchannelDataFormKey() uintptr
@const kDRSubchannelDataFormKey @discussion The property whose value is the data mode of the subchannel data sent to the drive. If this key is not present, the track will default to a value of @link DRSubchannelDataFormNone DRSubchannelDataFormNone @/link and no subchannel information will be requested from the producer. Subchannel data is returned from the producer in the same production method that produces normal user data. Normally a producer returns user data in chunks of @link DRBlockSizeKey DRBlockSizeKey @/link size. When subchannel data is also produced, the producer is expected to return user data of DRBlockSizeKey in length with an additonal 96 bytes of subchannel data. Depending on the data form specified in this key, the format of this 96 bytes is either in raw or pack format. When subchannel data is requested from the producer, the @link DRFlagSubchannelDataRequested DRFlagSubchannelDataRequested @/link flag is set in the <i>flags</i> parameter of producePreGapForTrack:intoBuffer:length:atAddress:blockSize:ioFlags: or produceDataForTrack:intoBuffer:length:atAddress:blockSize:ioFlags: and blockSize is increased by 96 bytes.
func KDRSubchannelDataFormNone ¶
func KDRSubchannelDataFormNone() uintptr
@constant kDRSubchannelDataFormNone @discussion A value for @link DRSubchannelDataFormKey DRSubchannelDataFormKey @/link indicating that the subchannel data will not be provided by the producer.
func KDRSubchannelDataFormPack ¶
func KDRSubchannelDataFormPack() uintptr
@const kDRSubchannelDataFormPack @discussion A value for @link DRSubchannelDataFormKey DRSubchannelDataFormKey @/link indicating that the producer will be asked to provide pack format subchannel data for the track. If this form is selected, the drive will perform P and Q parity calculations on each pack and interleave the packs before writing them to disc. This corresponds to a subchannel data form of 0xC0.
func KDRSubchannelDataFormRaw ¶
func KDRSubchannelDataFormRaw() uintptr
@const kDRSubchannelDataFormRaw @discussion A value for @link DRSubchannelDataFormKey DRSubchannelDataFormKey @/link indicating that the producer will be asked to provide raw format subchannel data for the track. If this form is selected, the producer must have performed P and Q parity calculations for each pack and done proper interleaving of the subchannel data. The drive will fill in the P-Q subchannel information and write the R-W subchannel data as is to the disc. This corresponds to a subchannel data form of 0x40.
func KDRSuppressMacSpecificFiles ¶
func KDRSuppressMacSpecificFiles() uintptr
@constant kDRSuppressMacSpecificFiles @abstract Whether to suppress Mac-specific files from non-HFS filesystems. @discussion Value is a CFBooleanRef.
func KDRSynchronousBehaviorKey ¶
func KDRSynchronousBehaviorKey() uintptr
@const kDRSynchronousBehaviorKey @abstract Flag indicating whether to burn synchronously or asynchronously. @discussion This burn property key corresponds to a CFBoolean object containing a flag indicating if burn operations will behave synchronously. If this key is not present, it will default to a value of <tt>false</tt> and burn operations will behave asynchronously. Synchronous operations do not post status notifications and do not return until they are completed. Status can be queried at any time using the @link DRBurnCopyStatus DRBurnCopyStatus @/link function, and will remain valid even after the burn operation has finished.
func KDRSystemIdentifier ¶
func KDRSystemIdentifier() uintptr
@constant kDRSystemIdentifier @abstract (ISO/Joliet) The key for indicating the system identifier. @discussion Value is a CFStringRef. Only the first 32 characters (ISO) or 16 characters (Joliet) will be used, after being mapped into a legal character set. Note, this value will NOT be used if Mac extensions are turned on - with Mac extensions, the system identifier will always be "APPLE COMPUTER, INC., TYPE: 0002" or "APPLE INC., TYPE: 0002"
func KDRTrackISRCKey ¶
func KDRTrackISRCKey() uintptr
@const kDRTrackISRCKey @discussion Optional key. For CD-DA audio tracks only. This track property key corresponds to a CFData object containing exactly 12 bytes, which will be written to the disc as the International Standard Recording Code (ISRC). If this key is not present, no ISRC data is written. The use of this value should conform to the specifications of the IFPI. See <a href="http://www.ifpi.org/isrc">http://www.ifpi.org/isrc</a> for details on the ISRC standard. Not all drives can write ISRC data. If this key is present in any track and the drive cannot write ISRC data, the burn will fail with a return value of @link //apple_ref/c/econst/kDRDeviceCantWriteISRCErr kDRDeviceCantWriteISRCErr @/link.
func KDRTrackIsEmptyKey ¶
func KDRTrackIsEmptyKey() uintptr
@const kDRTrackIsEmptyKey @discussion This key corresponds to a CFBoolean object and indicates whether the track is empty.
func KDRTrackLengthKey ¶
func KDRTrackLengthKey() uintptr
@const kDRTrackLengthKey @discussion Required Key. This key corresponds to a CFNumber object containing the length of the track data in blocks.
func KDRTrackModeKey ¶
func KDRTrackModeKey() uintptr
@const kDRTrackModeKey @discussion Required key. This key corresponds to a CFNumber object containing the track mode of the track. Common values are defined in the @link //apple_ref/c/tag/Track%32Modes Track Modes @/link enumeration.
func KDRTrackNumberKey ¶
func KDRTrackNumberKey() uintptr
@const kDRTrackNumberKey @discussion This key corresponds to a CFNumber object containing the physical track number of a track.
func KDRTrackPacketSizeKey ¶
func KDRTrackPacketSizeKey() uintptr
@const kDRTrackPacketSizeKey @discussion This key corresponds to a CFNumber object that contains the number of blocks per packet for the disc. It will only be present if the disc contains fixed packets. This key will contain '16' for DVD media, and typically contains either '16' or '32' for CD media.
func KDRTrackPacketTypeFixed ¶
func KDRTrackPacketTypeFixed() uintptr
@const kDRTrackPacketTypeFixed @discussion One value for the @link kDRTrackPacketTypeKey kDRTrackPacketTypeKey @/link dictionary key. This value indicates the disc is writen with fixed sized packets. When this value is present the kDRPacketSizeKey dictionary key will also be present.
func KDRTrackPacketTypeKey ¶
func KDRTrackPacketTypeKey() uintptr
@const kDRTrackPacketTypeKey @discussion This key corresponds to a CFString value indicating the kind of packets being written.
func KDRTrackPacketTypeVariable ¶
func KDRTrackPacketTypeVariable() uintptr
@const kDRTrackPacketTypeVariable @discussion One value for the @link kDRTrackPacketTypeKey kDRTrackPacketTypeKey @/link dictionary key. This value indicates the disc is written with sequential, variable-sized packets. When this key is present, the kDRPacketSizeKey dictionary key will not be.
func KDRTrackStartAddressKey ¶
func KDRTrackStartAddressKey() uintptr
@const kDRTrackStartAddressKey @discussion This key corresponds to a CFNumber object containing the Logical Block Address (LBA) of the start address for the track.
func KDRTrackTypeClosed ¶
func KDRTrackTypeClosed() uintptr
@const kDRTrackTypeClosed @discussion One value for the @link kDRTrackTypeKey kDRTrackTypeKey @/link dictionary key. This value indicates the track has been written and is closed.
func KDRTrackTypeIncomplete ¶
func KDRTrackTypeIncomplete() uintptr
@const kDRTrackTypeIncomplete @discussion One value for the @link kDRTrackTypeKey kDRTrackTypeKey @/link dictionary key. This value indicates the track is not invisible or reserved and is available for writing.
func KDRTrackTypeInvisible ¶
func KDRTrackTypeInvisible() uintptr
@const kDRTrackTypeInvisible @discussion One value for the @link kDRTrackTypeKey kDRTrackTypeKey @/link dictionary key. This value indicates the track is invisible and available for writing. If it is packet written and not closed, the kDRTrackPacketType key will be present along with the kDRTrackPacketSize keys.
func KDRTrackTypeKey ¶
func KDRTrackTypeKey() uintptr
@const kDRTrackTypeKey @discussion This key corresponds to a CFString object indicating the type of track. Possible values are @link kDRTrackTypeInvisible kDRTrackTypeInvisible @/link, @link kDRTrackTypeIncomplete kDRTrackTypeIncomplete @/link, @link kDRTrackTypeReserved kDRTrackTypeReserved @/link , or @link kDRTrackTypeClosed kDRTrackTypeClosed @/link.
func KDRTrackTypeReserved ¶
func KDRTrackTypeReserved() uintptr
@const kDRTrackTypeReserved @discussion One value for the @link kDRTrackTypeKey kDRTrackTypeKey @/link dictionary key. This value indicates the track is reserved for writing.
func KDRUDF ¶
func KDRUDF() uintptr
@constant kDRUDF @abstract The key for accessing the UDF name/properties for the file.
func KDRUDFApplicationIdentifierSuffix ¶
func KDRUDFApplicationIdentifierSuffix() uintptr
@const kDRUDFApplicationIdentifierSuffix @discussion Optional key. A CFData object containing at most 8 bytes of data. See the UDF specs for details.
func KDRUDFExtendedFilePermissions ¶
func KDRUDFExtendedFilePermissions() uintptr
@constant kDRUDFExtendedFilePermissions @abstract Optional key. Specifies the extended UDF file permissions of this file. @discussion Value is a CFNumberRef. Bit 0: Change attributes for others (low order bit) Bit 1: Delete permissions for others Bit 2: Change attributes for group Bit 3: Delete permissions for group Bit 4: Change attributes for owner Bit 5: Delete permissions for owner Bit 6 & 7: Reserved If this key is not present, @link kDRPosixFileMode kDRPosixFileMode @/link will be used with the above bits being set to the corresponding write bit for owner, group, and others. If @link kDRPosixFileMode kDRPosixFileMode @/link is not present, the file mode from the file on disc will be used, again using the write bit for these permissions.
func KDRUDFInterchangeLevel ¶
func KDRUDFInterchangeLevel() uintptr
@const kDRUDFInterchangeLevel @discussion Optional key. This property key defines the volume interchange level. See the UDF specs for details.
func KDRUDFMaxInterchangeLevel ¶
func KDRUDFMaxInterchangeLevel() uintptr
@const kDRUDFMaxInterchangeLevel @discussion Optional key. This property key defines the maximum volume interchange level number. See the UDF specs for details.
func KDRUDFMaxVolumeSequenceNumber ¶
func KDRUDFMaxVolumeSequenceNumber() uintptr
@const kDRUDFMaxVolumeSequenceNumber @discussion Optional key. This property key defines the maximum volume sequence number. See the UDF specs for details.
func KDRUDFPrimaryVolumeDescriptorNumber ¶
func KDRUDFPrimaryVolumeDescriptorNumber() uintptr
@const kDRUDFPrimaryVolumeDescriptorNumber @discussion Optional key. This property key defines the primary volume sequence number. See the UDF specs for details.
func KDRUDFRealTimeFile ¶
func KDRUDFRealTimeFile() uintptr
@constant kDRUDFRealTimeFile @abstract Optional key. Specifies whether this file is to be marked as a UDF Real-Time file. @discussion Value is a CFBooleanRef.
func KDRUDFVersion102 ¶
func KDRUDFVersion102() uintptr
@const kDRUDFVersion102 @discussion This value is used in @link kDRUDFWriteVersion kDRUDFWriteVersion @/link.
func KDRUDFVersion150 ¶
func KDRUDFVersion150() uintptr
@const kDRUDFVersion150 @discussion This value is used in @link kDRUDFWriteVersion kDRUDFWriteVersion @/link.
func KDRUDFVolumeSequenceNumber ¶
func KDRUDFVolumeSequenceNumber() uintptr
@const kDRUDFVolumeSequenceNumber @discussion Optional key. This property key defines the volume sequence number. See the UDF specs for details.
func KDRUDFVolumeSetIdentifier ¶
func KDRUDFVolumeSetIdentifier() uintptr
@const kDRUDFVolumeSetIdentifier @discussion Optional key. The Volume Set Identifier for the UDF volume set. If this key is not present, @link kDRVolumeSet kDRVolumeSet @/link will be used if present. The Volume Set Identifier is composed of the Volume Set Timestamp, the Implementation Use, and a the string contained in this property.
func KDRUDFVolumeSetImplementationUse ¶
func KDRUDFVolumeSetImplementationUse() uintptr
@const kDRUDFVolumeSetImplementationUse @discussion Optional key. A CFData object containing at most 8 bytes of data. See the UDF specs for details.
func KDRUDFVolumeSetTimestamp ¶
func KDRUDFVolumeSetTimestamp() uintptr
@const kDRUDFVolumeSetTimestamp @discussion Optional key. See the UDF specs for details.
func KDRUDFWriteVersion ¶
func KDRUDFWriteVersion() uintptr
@const kDRUDFWriteVersion @discussion Optional key. This property key defines the version for the UDF structures written to disk. Values are definde in UDF Version types.
func KDRVerificationTypeChecksum ¶
func KDRVerificationTypeChecksum() uintptr
@const kDRVerificationTypeChecksum @discussion One value for the @link kDRVerificationTypeKey kDRVerificationTypeKey @/link dictionary key. This value indicates the engine will verify the track data with an internally calculated checksum.
func KDRVerificationTypeKey ¶
func KDRVerificationTypeKey() uintptr
@const kDRVerificationTypeKey @discussion Optional key. This track property key corresponds to a CFString object indicating the kind of verification that should be performed. If the key is not present, no verification will take place.
func KDRVerificationTypeNone ¶
func KDRVerificationTypeNone() uintptr
@const kDRVerificationTypeNone @discussion One value for the @link kDRVerificationTypeKey kDRVerificationTypeKey @/link dictionary key. This value indicates the engine will not do any sort of verification on the track data.
func KDRVerificationTypeProduceAgain ¶
func KDRVerificationTypeProduceAgain() uintptr
@const kDRVerificationTypeProduceAgain @discussion One value for the @link kDRVerificationTypeKey kDRVerificationTypeKey @/link dictionary key. This value indicates the engine will start another production cycle and the client simply produces data again from the start. Note that this verification mode currently only works with data CDs and DVDs.
func KDRVerificationTypeReceiveData ¶
func KDRVerificationTypeReceiveData() uintptr
@const kDRVerificationTypeReceiveData @discussion One value for the @link kDRVerificationTypeKey kDRVerificationTypeKey @/link dictionary key. This value indicates the engine will read data from the disc and send it to the client through a series of calls to the callback.
func KDRVolumeCheckedDate ¶
func KDRVolumeCheckedDate() uintptr
@constant kDRVolumeCheckedDate @abstract (HFS+) The key for indicating the volume-checked date. @discussion Value is a CFDateRef. @link kDRDefaultDate kDRDefaultDate @/link is used if unspecified.
func KDRVolumeCreationDate ¶
func KDRVolumeCreationDate() uintptr
@constant kDRVolumeCreationDate @abstract The key for indicating the volume creation date. @discussion Value is a CFDateRef. @link kDRDefaultDate kDRDefaultDate @/link is used if unspecified.
func KDRVolumeEffectiveDate ¶
func KDRVolumeEffectiveDate() uintptr
@constant kDRVolumeEffectiveDate @abstract (ISO/Joliet) The date and time at which the volume is effective. @discussion Value is a CFDateRef. Empty if unspecified.
func KDRVolumeExpirationDate ¶
func KDRVolumeExpirationDate() uintptr
@constant kDRVolumeExpirationDate @abstract (ISO/Joliet) The date and time at which the volume expires. @discussion Value is a CFDateRef. Empty if unspecified.
func KDRVolumeModificationDate ¶
func KDRVolumeModificationDate() uintptr
@constant kDRVolumeModificationDate @abstract The key for indicating the volume modification date. @discussion Value is a CFDateRef. @link kDRDefaultDate kDRDefaultDate @/link is used if unspecified.
func KDRVolumeSet ¶
func KDRVolumeSet() uintptr
@constant kDRVolumeSet @abstract (ISO/Joliet) The key for indicating the volume set name. @discussion Value is a CFStringRef.
func SymbolAvailable ¶
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_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 DRBurn ¶
type DRBurn struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/discrecording/drburn
func DRBurnBurnForDevice ¶
@method burnForDevice: @abstract Creates an autoreleased burn object. @discussion Once a burn is created with this method, the object is ready to write data to the disc. @param device Device to use for the burn @result An autoreleased DRBurn object.
func DRBurnFromID ¶
func (*DRBurn) Abort ¶
func (o *DRBurn) Abort()
@method abort @abstract Stops the burn. @discussion When this method returns the burn might not actually be fully stopped but it has been cancelled and only cleanup is going on. If a burn has not completed writing data to disc, you just made a coaster. Typically this method is only used as a result of the user hitting a cancel/stop button somewhere in the user interface.
func (*DRBurn) Appendable ¶
@method appendable @abstract Indicates if the burn is appendable. @discussion When a burn completes, it can mark the disc so that no more data can be written to it. This creates a closed or non-appendable disc (which is the most compatible with audio CD players). If this method returns <i>NO</i>, then the disc will be marked as closed and no data can be appended to it. A return value of <i>YES</i> indicates further burns can be appended to the disc. @result A BOOL indicating if the burn is appendable.
func (*DRBurn) CompletionAction ¶
func (o *DRBurn) CompletionAction() *foundation.NSString
@method completionAction @abstract Returns the action to be performed at the end of the burn. @result An NSString
func (*DRBurn) Device ¶
@method device @abstract Returns the device being used for the burn. @result The DRDevice the burn will use.
func (*DRBurn) InitWithDevice ¶
@method initWithDevice: @abstract Initializes the burn object. @discussion Once a burn is initialized with this method, the object is ready to write data to the disc. @param device Device to use for the burn @result A DRBurn object.
func (*DRBurn) Properties ¶
func (o *DRBurn) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
@method properties @abstract Returns the properties dictionary of the burn. @result An NSDictionary containing the properties of the burn.
func (*DRBurn) RequestedBurnSpeed ¶
@method requestedBurnSpeed @abstract Returns the speed at which this burn will attempt to write data. @discussion The actual speed also depends on the capabilities of the bus the device is on, the maximum speed of the device itself, and the media used. @result A float indicating the speed the burn should run at in kilobytes per second.
func (*DRBurn) SetAppendable ¶
@method setAppendable: @abstract Sets the burn to be appendable or non-appendable. @discussion When a burn completes, it can mark the disc so that no more data can be written to it. This creates a closed or non-appendable disc (which is the most compatible with audio CD players). @param appendable A BOOL indicating if the burn is appendable. Passing in <i>YES</i> indicates further burns can be appended to the disc, while passing in <i>NO</i>, marks the disc as closed and no data can be appended to it.
func (*DRBurn) SetCompletionAction ¶
func (o *DRBurn) SetCompletionAction(action *foundation.NSString)
@method setCompletionAction: @abstract Sets the action to be performed at the end of the burn. @param action An NSString for the action to perform.
func (*DRBurn) SetProperties ¶
func (o *DRBurn) SetProperties(properties *foundation.NSDictionary[objc.ID, objc.ID])
@method setProperties: @abstract Sets the properties dictionary of the burn. @param properties NSDictionary of the properties to set.
func (*DRBurn) SetRequestedBurnSpeed ¶
@method setRequestedBurnSpeed: @abstract Sets the speed at which the burn will be attempted to be performed at @discussion The actual speed also depends on the capabilities of the bus the device is on, the maximum speed of the device itself, and the media used. @param speed The speed that the burn should run at in kilobytes per second.
func (*DRBurn) SetVerifyDisc ¶
@method setVerifyDisc: @abstract Sets the burn to verify or not verify the disc. @param verify A BOOL indicating if the disc is to be verified. Passing in <i>YES</i> (the default) indicates that the data written to disc will be verified against the source data once the burn complete. Passing in <i>NO</i> indicates that no verification will take place.
func (*DRBurn) Status ¶
func (o *DRBurn) Status() *foundation.NSDictionary[objc.ID, objc.ID]
@method status @abstract Returns a dictionary describing the status of the burn. @discussion The same dictionary is returned through the @link //apple_ref/occ/data/DRBurnStatusChangedNotification DRBurnStatusChangedNotification @/link notification @result An NSDictionary reporting the status of the burn.
func (*DRBurn) VerifyDisc ¶
@method verifyDisc @abstract Indicates if the resulting disc will be verified. @discussion After data is written to disc, the data can be verified. The verification process will read the data on the disc back into memory and compare it to the data originally used to write to disc. The type of verification is determined by a track property on a track-by-track basis. See the @link //apple_ref/occ/cl/DRTrack DRTrack @/link documentation for more information on verification types. @result A BOOL indicating if the disc will be verified.
func (*DRBurn) WriteLayout ¶
@method writeLayout: @abstract Begin the process of burning a disc layout. @discussion This method only begins the burning process. Once the burn has been started, control returns to the caller and it is up to the caller to monitor the progress of the burn (by listening for @link //apple_ref/occ/data/DRBurnStatusChangedNotification DRBurnStatusChangedNotification @/link or polling @link //apple_ref/occ/instm/DRBurn/status status @/link) to know when the burn completes (either successfully or with an error). @param layout The data to be burned to disc. There are three configurations of the object passed in: <ol> <li>For a multi-session burn, layout must be a valid NSArray containing one or more NSArrays, each of which contains one or more valid @link //apple_ref/occ/cl/DRTrack DRTrack @/link objects.</li> <li>For a single-session multi-track burn, layout must be a valid NSArray containing one or more valid @link //apple_ref/occ/cl/DRTrack DRTrack @/link objects.</li> <li>For a single-session single-track burn, layout must be a valid @link //apple_ref/occ/cl/DRTrack DRTrack @/link object.</li> </ol> If none of these configurations are met or the leaf values contained in layout are not valid @link //apple_ref/occ/cl/DRTrack DRTrack @/link objects, an exception is thrown.
type DRCDTextBlock ¶
type DRCDTextBlock struct {
foundation.NSObject
}
@class DRCDTextBlock @abstract Defines a CD-Text block, which holds the CD-Text strings for the entire disc in one language.
Apple documentation: https://developer.apple.com/documentation/discrecording/drcdtextblock
func DRCDTextBlockCdTextBlockWithLanguageEncoding ¶
func DRCDTextBlockCdTextBlockWithLanguageEncoding(lang *foundation.NSString, enc uint) *DRCDTextBlock
@method cdTextBlockWithLanguage:encoding: @abstract Creates a CD-Text block. @param lang ISO 639 language code describing the language in which the strings are provided. CD-Text allows the concept of an unknown language, which can be represented here by an empty string. @param enc Character encoding into which the strings should be converted. @result An autoreleased DRCDTextBlock object.
func DRCDTextBlockFromID ¶
func DRCDTextBlockFromID(id objc.ID) *DRCDTextBlock
func (*DRCDTextBlock) Encoding ¶
func (o *DRCDTextBlock) Encoding() uint
@method encoding @abstract Returns the string encoding associated with the CD-Text block. @result A NSStringEncoding.
func (*DRCDTextBlock) Flatten ¶
func (o *DRCDTextBlock) Flatten() uint
@method flatten @abstract Flattens the CD-Text block to determine whether any information will be truncated. @discussion When burning your CD-Text information to a CD, DiscRecording will automatically truncate some of the information you've specified if it does not fit. The size limit for CD-Text is approximately 3K of strings per block. This limit is only approximate because some of this space is taken up as overhead, and duplicate strings can sometimes be combined. The only way to tell for sure how big your CD-Text block is going to be is to ask DiscRecording to try flattening it. You can use this function to determine whether truncation will be needed. Some clients will want to accept DiscRecording's truncation since it preserves the most important information and provides the simplest user experience. If you do not wish to use DiscRecording's automatic truncation, it is your responsibility to make sure that you specify a CD-Text block that will fit. Following is a simple algorithm to avoid having your CD-Text data truncated: <ol> <li>Call -[myCDTextBlock flatten]. <li>If the result is 0, no truncation is necessary. Stop. <li>Otherwise, truncation will occur -- edit or remove some data. <li>Repeat. </ol> @result The number of bytes that will be truncated from the CD-Text block. If this method returns 0, no truncation will occur.
func (*DRCDTextBlock) InitWithLanguageEncoding ¶
func (o *DRCDTextBlock) InitWithLanguageEncoding(lang *foundation.NSString, enc uint) objc.ID
@method initWithLanguage:encoding: @abstract Initializes an empty CD-Text block. @param lang ISO 639 language code describing the language which this block will hold. CD-Text allows the concept of an unknown language, which can be represented here by an empty string. @param enc Character encoding into which the strings in this block will be converted. @result A DRCDTextBlock object.
func (*DRCDTextBlock) Language ¶
func (o *DRCDTextBlock) Language() *foundation.NSString
@method language @abstract Returns the ISO 639 language code describing the language associated with the CD-Text block. CD-Text allows the concept of an unknown language, which is represented here by an empty string. @result A DRCDTextLanguage.
func (*DRCDTextBlock) ObjectForKeyOfTrack ¶
func (o *DRCDTextBlock) ObjectForKeyOfTrack(key *foundation.NSString, trackIndex uint) objc.ID
@method objectForKey:ofTrack: @abstract Returns a single value from the block. @param key Key to get the value of. @param trackIndex One-based index of the track to query, or 0 to query the disc. @result Autoreleased NSObject for the key, or nil if not present.
func (*DRCDTextBlock) Properties ¶
func (o *DRCDTextBlock) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
@method properties @abstract Returns the properties dictionary of the CD-Text block. @result An NSDictionary containing the properties of the block.
func (*DRCDTextBlock) SetObjectForKeyOfTrack ¶
func (o *DRCDTextBlock) SetObjectForKeyOfTrack(value objc.ID, key *foundation.NSString, trackIndex uint)
@method setObject:forKey:ofTrack: @abstract Changes a single string in the block. @param value Value - an NSString, NSData, or NSNumber as appropriate. @param key Key to assign. @param trackIndex One-based index of the track to modify, or 0 to modify the disc.
func (*DRCDTextBlock) SetProperties ¶
func (o *DRCDTextBlock) SetProperties(properties *foundation.NSDictionary[objc.ID, objc.ID])
@method setProperties: @abstract Sets the properties dictionary of the CD-Text block. @param properties NSDictionary of the properties to set.
func (*DRCDTextBlock) SetTrackDictionaries ¶
func (o *DRCDTextBlock) SetTrackDictionaries(tracks *foundation.NSArray[objc.ID])
@method setTrackDictionaries: @abstract Sets the array of track dictionaries for the block. @param tracks An NSArray of NSDictionaries of NSStrings, containing the CD-Text information. @discussion Each item in the array is a dictionary, which in turn holds key-value encoded information about the track/disc. Array index 0 holds information about the disc, index 1 holds information about track 1, index 2 holds information about track 2, etc. Any incoming strings are automatically modified to conform to the character set specified in the language block. Calling -trackDictionaries immediately after -setTrackDictionaries: will provide the modified values. These may not be the same as the ones you passed in, but instead correspond to what will actually be used.
func (*DRCDTextBlock) TrackDictionaries ¶
func (o *DRCDTextBlock) TrackDictionaries() *foundation.NSArray[objc.ID]
@method trackDictionaries @abstract Returns a copy of the array of track dictionaries for the block. @result An autoreleased NSArray of CFDictionaries of CFStrings, containing the CD-Text information. @discussion Each item in the array is a dictionary, which in turn holds key-value encoded information about the track/disc. Array index 0 holds information about the disc, index 1 holds information about track 1, index 2 holds information about track 2, etc.
type DRDevice ¶
type DRDevice struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/discrecording/drdevice
func DRDeviceDeviceForBSDName ¶
func DRDeviceDeviceForBSDName(bsdName *foundation.NSString) *DRDevice
@method deviceForBSDName: @abstract Obtains a DRDevice for the device corresponding to the bsd /dev node. @discussion If the device is not an authoring device (i.e., CDR, CDRW, DVR-R, etc), returns nil. @param bsdName The bsd /dev node name. @result An autoreleased DRDevice object.
func DRDeviceDeviceForIORegistryEntryPath ¶
func DRDeviceDeviceForIORegistryEntryPath(path *foundation.NSString) *DRDevice
@method deviceForIORegistryEntryPath: @abstract Obtains a DRDevice for the device at the path. @discussion If the device is not an authoring device (i.e., CDR, CDRW, DVR-R, etc), returns nil. @param path The IORegistry path to the device you wish to obtain a DRDEvice for. @result An autoreleased DRDevice object.
func DRDeviceFromID ¶
func (*DRDevice) AcquireExclusiveAccess ¶
@method acquireExclusiveAccess @abstract Attempts to acquire an exclusive access session with the device. @discussion Acquiring exclusive access to the device prevents any process other than the one acquiring access from communicating with the device. So once exclusive access is granted, the device is unusable by any other process. Because of this all volumes mounted from media in the drive must be unmounted before exclusive access can be granted. Exclusive access can be acquired multiple times. Each time this method is called, a call to @link //apple_ref/occ/instm/DRDevice/releaseExclusiveAccess releaseExclusiveAccess @/link> must be made at a later time, otherwise the process will never release its exclusive access. @result Returns <i>YES</i> if the exclusinve access is acquired and <i>NO</i> if not.
func (*DRDevice) AcquireMediaReservation ¶
func (o *DRDevice) AcquireMediaReservation()
@method acquireMediaReservation @abstract Indicate an interest in the blank media reservation. @discussion Blank media participates in a reservation system that allows applications to express their claim on blank media to other applications. Indicating an interest in the reservation isn't enough to assume it's been acquired, as there are likely to be other applications in the system who have also indicated an interest in the blank media reservation. You will receive a @link DRDeviceStatusChangedNotification DRDeviceStatusChangedNotification @/link with a value of <tt>TRUE</tt> for the @link DRDeviceMediaIsReservedKey DRDeviceMediaIsReservedKey @/link when the blank media reservation has been acquired. This function may be called multiple times. Each time it is called, a call to @link //apple_ref/occ/instm/DRDevice/releaseMediaReservation releaseMediaReservation @/link must be made at a later time, otherwise the process will never fully rescind its interest in the blank media reservation.
func (*DRDevice) BsdName ¶
func (o *DRDevice) BsdName() *foundation.NSString
@method bsdName @discussion Returns the bsd /dev node name.
func (*DRDevice) CloseTray ¶
@method closeTray @abstract Commands the device to close its tray. @discussion Does nothing if the device does not have a tray (slotload). @result Returns <i>YES</i> if the tray could be closed and <i>NO</i> if not.
func (*DRDevice) DisplayName ¶
func (o *DRDevice) DisplayName() *foundation.NSString
@method displayName @discussion Returns an NSString suitable for display in the user interface.
func (*DRDevice) EjectMedia ¶
@method ejectMedia @abstract Commands the device to eject the media. @discussion This command first unmounts any volumes associated with the media and then ejects the media from the drive. If the media could not be ejected, most likely this is because a volume associated with the media could not be unmounted. @result Returns <i>YES</i> if the media could be ejected and <i>NO</i> if not.
func (*DRDevice) Info ¶
func (o *DRDevice) Info() *foundation.NSDictionary[objc.ID, objc.ID]
@method info @abstract Returns a dictionary of information describing the device. @discussion The information returned include the types of media the device can write to, how it's connected and its identifying information such as the vendor and product name. @result An NSDictionary containing device information.
func (*DRDevice) IoRegistryEntryPath ¶
func (o *DRDevice) IoRegistryEntryPath() *foundation.NSString
@method ioRegistryEntryPath @discussion Returns the path to the device in the IO Registry.
func (*DRDevice) IsEqualToDevice ¶
@method isEqualToDevice: @abstract Compares the receiver to another device. @param otherDevice Another DRDevice instance to compare to the receiver. @result Returns <i>YES</i> if the receiver is equal to otherDevice.
func (*DRDevice) IsValid ¶
@method isValid @abstract Returns whether or not the device represented by the receiver is still attached to the computer. @discussion Because of the way some physical interconnects work, a device which is unplugged and replugged in does not necessarily look like the same device to the computer and would be invalid in that instance. @result Returns <i>YES</i> if device is valid and <i>NO</i> if not.
func (*DRDevice) MediaIsAppendable ¶
@method mediaIsAppendable @discussion Returns <i>YES</i> if the media in the device can have more data appended to any existing data.
func (*DRDevice) MediaIsBlank ¶
@method mediaIsBlank @discussion Returns <i>YES</i> the media in the device is blank.
func (*DRDevice) MediaIsBusy ¶
@method mediaIsBusy @discussion Returns <i>YES</i> if the media is in use by some process - even the one making this call.
func (*DRDevice) MediaIsErasable ¶
@method mediaIsErasable @discussion Returns <i>YES</i> if the media can be erased (i.e., CD-RW, DVD-RW, etc).
func (*DRDevice) MediaIsOverwritable ¶
@method mediaIsOverwritable @discussion Returns <i>YES</i> if the media in the device can be fully (re)written.
func (*DRDevice) MediaIsPresent ¶
@method mediaIsPresent @discussion Reports the presence of the media.
func (*DRDevice) MediaIsReserved ¶
@method mediaIsReserved @discussion Returns <i>YES</i> if the application calling this method currently holds the reservation on the media.
func (*DRDevice) MediaIsTransitioning ¶
@method mediaIsTransitioning @discussion Returns <i>YES</i> if the media is in transition (spinning up or down for example).
func (*DRDevice) MediaSpaceFree ¶
@method mediaSpaceFree @discussion Returns the amount of free space on the media.
func (*DRDevice) MediaSpaceOverwritable ¶
@method mediaSpaceOverwritable @discussion Returns the amount of writable space on the media.
func (*DRDevice) MediaSpaceUsed ¶
@method mediaSpaceUsed @discussion Returns the amount of used space on the media.
func (*DRDevice) MediaType ¶
func (o *DRDevice) MediaType() *foundation.NSString
@method mediaType @discussion Returns the type of media currently inserted into the device.
func (*DRDevice) OpenTray ¶
@method openTray @abstract Commands the device to open its tray. @discussion Does nothing if the device does not have a tray (slotload). If there is media in the drive this method will do nothing and return false. In this case use @link //apple_ref/occ/instm/DRDevice/ejectMedia ejectMedia @/link to eject the media and open the tray. @result Returns <i>YES</i> if the tray could be opened and <i>NO</i> if not.
func (*DRDevice) ReleaseExclusiveAccess ¶
func (o *DRDevice) ReleaseExclusiveAccess()
@method releaseExclusiveAccess @abstract Releases the latest exclusive access request for the device. @discussion A call to this method must be made for every call to @link //apple_ref/occ/instm/DRDevice/acquireExclusiveAccess acquireExclusiveAccess @/link, otherwise the process will never release its exclusive access.
func (*DRDevice) ReleaseMediaReservation ¶
func (o *DRDevice) ReleaseMediaReservation()
@method releaseMediaReservation @abstract Releases any media reservation that might be in place for the device. @discussion If media is inserted and reserved, then the reservation will be passed on to the next process with a reservation request.
func (*DRDevice) Status ¶
func (o *DRDevice) Status() *foundation.NSDictionary[objc.ID, objc.ID]
@method status @abstract Returns a dictionary of information describing the media in the device. @discussion In addition to information about the media (type, space available/used, etc), the dictionary returned includes those pieces of information about the device itself which are in part determined by the media (i.e., maximum burn speed). @result An NSDictionary containing media information.
func (*DRDevice) TrayIsOpen ¶
@method trayIsOpen @discussion Reports the tray state of the device. @result Returns <i>YES</i> if the device has a tray and it is open.
type DRErase ¶
type DRErase struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/discrecording/drerase
func DREraseEraseForDevice ¶
@method eraseForDevice: @abstract Creates and returns an erase object. @discussion An erase object created with this method is ready to erase media. @param device Device to use for the erase. @result An autoreleased DRErase object.
func DREraseFromID ¶
func (*DRErase) Device ¶
@method device @abstract Returns the device being used for the erase. @result The DRDevice the erase will use.
func (*DRErase) EraseType ¶
func (o *DRErase) EraseType() *foundation.NSString
@method eraseType @abstract Returns the type of erase to be performed. @result An NSString
func (*DRErase) InitWithDevice ¶
@method initWithDevice: @abstract Initializes an erase object. @discussion An erase object created with this method is ready to erase media. @param device Device to use for the erase. @result A DRErase object.
func (*DRErase) Properties ¶
func (o *DRErase) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
@method properties @abstract Returns the properties dictionary of the erase. @result An NSDictionary containing the properties of the erase.
func (*DRErase) SetEraseType ¶
func (o *DRErase) SetEraseType(type_ *foundation.NSString)
@method setEraseType: @abstract Sets the type of erase to perform. @param type The type of erase.
func (*DRErase) SetProperties ¶
func (o *DRErase) SetProperties(properties *foundation.NSDictionary[objc.ID, objc.ID])
@method setProperties: @abstract Sets the properties dictionary of the erase @param properties NSDictionary of the properties to set.
func (*DRErase) Start ¶
func (o *DRErase) Start()
@method start @abstract Begin the process of erasing media. @discussion This method only kicks off the erase. Once the erasure starts, control returns to the caller. The caller can monitor the progress of the erase by listening for a notification or by polling @link //apple_ref/occ/instm/DRErase/status status @/link.
func (*DRErase) Status ¶
func (o *DRErase) Status() *foundation.NSDictionary[objc.ID, objc.ID]
@method status @abstract Returns a dictionary containing the status of the erase. @discussion The same dictionary is returned through the @link //apple_ref/occ/data/DREraseStatusChangedNotification DREraseStatusChangedNotification @/link notification. @result An NSDictionary containing the status of the erase.
type DRFSObject ¶
type DRFSObject struct {
foundation.NSObject
}
@class DRFSObject @abstract Abstract base class for the content creation framework @discussion <h3>About Content Creation</h3> Content creation provides an interface for dynamic filesystem creation, allowing complex filesystem hierarchies to be created and burned on-the-fly without having to generate a complete on-disk representation. DRFSObject is the root object for the objects contained in the Objective C content creation hierarchy. Through DRFSObject, file and folder objects inherit a basic interface to getting and setting filesystem properties, names and masks. The DRFSObject class is an abstract class, there are no methods available to create a DRFSObject directly, you create @link //apple_ref/occ/cl/DRFile DRFile @/link and @link //apple_ref/occ/cl/DRFolder DRFolder @/link objects instead. <h3>Real and Virtual Objects</h3> The interface is designed around folder and file objects which are laid out in a one-parent-many-children hierarchy - this should be a familiar concept for anyone who's ever used a modern filesystem. There are two kinds of objects in this API; "real" objects and "virtual" objects, and the distinction is important. <ul> <li>A <i>real</i> file or folder object corresponds directly to a file or folder on disk. The data for a real file object comes directly from the on-disk file. The hierarchy underneath a real folder object corresponds 1:1 to the hierarchy underneath the folder in the on-disk filesystem.</li> <li>A <i>virtual</i> file or folder object does not have any actual representation on disk. The data for a virtual file object is specified through the API or in a callback function. The hierarchy underneath a virtual folder object is specified through the API.</li> </ul> <h3>Creating a Virtual Hierarchy</h3> In the hierarchy specified through this API, only virtual folders may be assigned children. Real files, virtual files, and real folders are all considered leaf nodes and may not have children. (Real folders may of course contain files and folders, but the files and folders are specified by the on-disk representation and may not be changed through the API unless the real folder is made virtual first.) A hierarchy may be as simple as a single real folder, or it can be as complicated as needed - for example, a virtual folder with a deep hierarchy of children which are a complex mix of real files, virtual files, real folders, and virtual folders. <h3>Converting From Real To Virtual</h3> A real folder can be dynamically converted to a virtual folder, in which case its first level of children is read and converted into a virtual hierarchy. The children thus created will all be real. For example: A real folder named <i>root</i> is converted into a virtual folder. The on-disk folder contains a file named <i>file1</i> and a folder named <i>folder2</i>. After conversion, the result is a virtual folder named <i>root</i> with two children: the real file <i>file1</i> and the real folder <i>folder2</i>. <h3>Base Names and Specific Names</h3> Because the content creation API is able to generate multiple filesystems which require multiple varied naming conventions, a sensible system for naming is required. Thus each file has a <i>base name</i> which corresponds to its default name in any filesystem. Whenever possible, the base name will be used in the generated filesystem without modification. The initial base name for a real object is the name of the corresponding object on disk. The initial base name for a virtual object is specified when the object is created. The base names for both real and virtual objects may be modified using the @link //apple_ref/occ/instm/DRFSObject/setBaseName: setBaseName: @/link method. Inside a particular filesytem, if the base name cannot be used as-is (if, for example, it contains illegal characters, exceeds the length requirements, or otherwise doesn't meet the required format) then an acceptable name that meets the filesystem's criteria will be generated automatically from the base name. The name which is acceptable to a given filesystem is that file's <i>specific name</i> for that filesystem. A specific name may be obtained and modified through this API, or may be left empty to be automatically generated from the base name. When a specific name is set through the API, it will be modified to ensure that the name is legal according to the particular filesystem. Even when a specific name is set or generated through the API, it may not be the actual name used on the disc. If an object's specific name conflicts with the specific name of another of the object's siblings in that filesystem, one or both specific names will be <i>mangled</i> to obtain a unique name before burning, usually by adding a numeric mangle code such as _001 to each name. There are two APIs available for getting the specific name from an object: <ul> <li>@link //apple_ref/occ/instm/DRFSObject/specificNameForFilesystem: specificNameForFilesystem: @/link returns the unmodified specific name, which would be used if there were no conflicts.</li> <ul>@link //apple_ref/occ/instm/DRFSObject/mangledNameForFilesystem: mangledNameForFilesystem: @/link returns a modified specific name, mangled if necessary, which is guaranteed to be unique amongst its siblings in the filesystem.</li> </ul> The filesystem keys are detailed in <b>Filesystem data accessors</b>. Most of the keys are straightforward; however, ISO-9660 is a special case, since there are two possible naming conventions for ISO-9660, level 1 (8.3, limited charset) and level 2 (30 chars, marginally expanded charset). You can't specify DRISO9660 when obtaining a name; instead, you must explicitly specify whether you want the level 1 or level 2 name with DRISO9660LevelOne or DRISO9660LevelTwo. If the object's name does not conflict with any of its siblings, @link //apple_ref/occ/instm/DRFSObject/mangledNameForFilesystem: mangledNameForFilesystem: @/link will return the same value as @link //apple_ref/occ/instm/DRFSObject/specificNameForFilesystem: specificNameForFilesystem: @/link. The converse is not necessarily true -- one object may get the actual specific name, and other files with name collisions will be mangled. @link //apple_ref/occ/instm/DRFSObject/mangledNameForFilesystem: mangledNameForFilesystem: @/link will check each of the object's siblings in the hierarchy and mangle to resolve any filename conflicts, so it can be a much more expensive call than @link //apple_ref/occ/instm/DRFSObject/specificNameForFilesystem: specificNameForFilesystem: @/link, taking at worst O(N^2) time where N is the number of siblings. However, actual performance tends to be much better, closer to O(N), particularly when there are only a few collisions. @link //apple_ref/occ/instm/DRFSObject/mangledNameForFilesystem: mangledNameForFilesystem: @/link has the advantage of allowing you to see (and to show the user) the exact names which would be generated on the disc if the burn were started immediately. Both @link //apple_ref/occ/instm/DRFSObject/specificNameForFilesystem: specificNameForFilesystem: @/link and @link //apple_ref/occ/instm/DRFSObject/mangledNameForFilesystem: mangledNameForFilesystem: @/link will cache information when possible, so that names are only generated and mangled when necessary. Adding or removing children from a folder, or changing the base or specific name on an object, may cause the cached names of the object's children or siblings to be recomputed. <h3>Properties and Other Meta-Data</h3> Properties are generally accessed similarly to names. Each object has overall properties which apply to every filesystem, and it may also have different properties in each filesystem. For example, a file which has no relevance for a MacOS user may be marked invisible in the HFS+ tree, but be visible in the Joliet tree. The properties, like names, are also differentiated by filesystem. There is one properties dictionary for @link DRAllFilesystems DRAllFilesystems @/link, and one properties dictionary for each individual filesystem - @link DRISO9660 DRISO9660 @/link, @link DRJoliet DRJoliet @/link, @link DRHFSPlus DRHFSPlus @/link, etc. The properties for @link DRAllFilesystems DRAllFilesystems @/link are treated as the base value, and then the properties in the specific filesystem dictionary are treated as overrides. When obtaining properties with @link //apple_ref/occ/instm/DRFSObject/propertyForKey:inFilesystem:mergeWithOtherFilesystems: propertyForKey:inFilesystem:mergeWithOtherFilesystems: @/link or @link //apple_ref/occ/instm/DRFSObject/propertiesForFilesystem:mergeWithOtherFilesystems: propertiesForFilesystem:mergeWithOtherFilesystems: @/link, you can specify whether you want to automatically coalesce the properties between the specified filesystem dictionary and the "all filesystems" dictionary. This is useful if you want to obtain the effective value of the property, because it will return the value from the "all filesystems" dictionary if the specific filesystem does not assign an override. <h3>Filesystem Masks</h3> It's possible to suppress generation of particular items in a folder tree. For example, you may want a MacOS application file or bundle to only appear in the HFS+ tree, and want an .EXE file to only appear in the Joliet tree. Filesystem-specific suppression is handled through the @link //apple_ref/c/tag/DRFilesystemInclusionMask%32constants filesystem mask @/link. The filesystem mask is a bitfield which contains a 1 if the object will appear in the corresponding filesystem, and 0 otherwise. This can be used to generate arbitrarily complex trees, where in the most complex case each filesystem may theoretically have its own unique and disjoint tree. (Such discs are discouraged, however, since they may be confusing to the user.) An object can be considered to have two mask values. The first one is the <i>explicit mask</i> which has been set by the client, and may be zero if no mask has been set. The other is the <i>effective mask</i>, which is the actual mask which will be used. If the explicit mask is non-zero, then the object's effective mask is equal to the bitwise AND of the object's explicit mask and its parent's effective mask. If the explicit mask is zero, the object will use the same mask as its parent. (In other words, the effective mask is equal to the parent's effective mask.) If the root of the hierarchy does not have an explicit mask set, the effective mask of the root and all its descendants will be zero. The explicit mask may be cleared by changing it to zero. By doing this, the object's explicit mask becomes zero and its effective mask will be inherited from its parent. If an object's effective mask is zero, it will not be included in the burn. The major exception to this rule is when the root folder's explicit/effective mask is zero - when this happens, DiscRecording will assign a default mask, typically one which will result in the most cross-platform disc possible. If the effective mask of the root is zero at the time of the burn, DiscRecording will automatically pick a default mask, typically one which will result in the most cross-platform disc possible. Some combinations of filesystem mask have special requirements; for example, Joliet is based on ISO-9660, and requires that ISO-9660 be enabled on at least the root object. (You can still have something appear in Joliet but not ISO-9660, however.) Some combinations in the future may be mutually exclusive. You do not have to set an explicit mask for anything but the root if you want all filesystems to have the same data. Since DiscRecording will automatically assign a mask if none is provided, you do not even have to set an explicit mask for the root. <h3>Symbolic Link Translation</h3> During the burn, when a symbolic link is encountered in the on-disk filesystem corresponding to a real file or folder, the semantics of the link will be preserved as closely as possible. If the link contains an absolute path, it will be copied unmodified. If the link contains a relative path, it will be modified to contain an appropriate path. An important detail to recognize is that since naming requirements vary between filesystems, the appropriate path may be different for each filesystem. For example, a relative link to "my long, long directory/this: is an unusual$ filename.with_extension" will be modified to contain something like the following. Note that each component of the path has been modified to conform to the rules of the target filesystem. <ul> <li>ISO-9660 level 1: "MYLONGLO/THISISAN.WIT"</li> <li>ISO-9660 level 2: "MY LONG LONG DIRECTORY/THIS: IS AN UNU.WITH_EXTENSION"</li> <li>Joliet: "my long, long directory/this: is an unusual filename.with_extension"</li> <li>HFS+: "my long, long directory/this: is an unusual$ filename.with_extension"</li> </ul> The burn engine will make an effort to appropriately translate each component of the path. However, it's still possible that the symlink might break in complex cases. (For example, in the case of a relative-path symlink which traverses through an absolute-path symlink, or when there are filename conflicts along a symlink's path which the burn engine has to resolve by mangling.) The burn engine's symlink preservation is usually good enough for most situations in which symlinks are used. And, when the source filesystem is the same as the target filesystem, symlinks will be preserved perfectly. (For example, the HFS+ filesystem generated from an HFS+ source should never have symlink problems.) However, the odds of symlink failure go up when there are complex arrangements of symlinks, or when there are filename collisions which the burn engine resolves by mangling. This is expected behavior. At present, the only way to create a perfect symlink which is guaranteed to have a correct path on <b>all</b> filesystems is to create a virtual symlink using @link //apple_ref/occ/clm/DRFSObject/symLinkPointingTo:inFilesystem: symLinkPointingTo:inFilesystem: @/link.
Apple documentation: https://developer.apple.com/documentation/discrecording/drfsobject
func DRFSObjectFromID ¶
func DRFSObjectFromID(id objc.ID) *DRFSObject
func (*DRFSObject) BaseName ¶
func (o *DRFSObject) BaseName() *foundation.NSString
@method baseName @abstract Returns the base name for the receiver. @discussion The base name is the name from which any necessary filesystem-specific names are automatically generated. Because the content creation API is able to generate multiple filesystems which require multiple varied naming conventions, a sensible system for naming is required. Thus each file has a base name which corresponds to its default name in any filesystem. Whenever possible, the base name will be used in the generated filesystem without modification. If the name cannot be used as-is (if, for example, it contains illegal characters, exceeds the length requirements, doesn't meet the required format, or a name collision is detected) then an acceptable name that meets the filesystem's criteria will be generated automatically from the base name. The default base name for a real file or folder is the actual on-disk name of the item. @result The base name of the object.
func (*DRFSObject) EffectiveFilesystemMask ¶
func (o *DRFSObject) EffectiveFilesystemMask() uint
@method effectiveFilesystemMask @abstract Returns the effective filesystem mask set for the reciever. @discussion The parent filesystem mask is taken into account for the receiver. @result A filesystem mask
func (*DRFSObject) ExplicitFilesystemMask ¶
func (o *DRFSObject) ExplicitFilesystemMask() uint
@method explicitFilesystemMask @abstract Returns the explicit filesystem mask set for the reciever. @discussion The explicit mask is one that has been explicitly set by a client through the @link //apple_ref/occ/instm/DRFSObject/setExplicitFilesystemMask: setExplicitFilesystemMask: @/link method. @result A filesystem mask
func (*DRFSObject) IsVirtual ¶
func (o *DRFSObject) IsVirtual() bool
@method isVirtual @abstract Indicates whether the receiver is real or virtual. @result <i>YES</i> if the receiver is virtual and <i>NO</i> if real.
func (*DRFSObject) MangledNameForFilesystem ¶
func (o *DRFSObject) MangledNameForFilesystem(filesystem *foundation.NSString) *foundation.NSString
@method mangledNameForFilesystem: @abstract Returns a single filesystem-specific name for the receiver, mangled for uniqueness. @discussion The string will be mangled for uniqueness amongst its siblings; if the burn were to happen immediately after this call, this is the name which would be used on the resulting disc. @param filesystem The filesystem to set the name for. @result The name of the file mangled for filesystem constraints.
func (*DRFSObject) MangledNames ¶
func (o *DRFSObject) MangledNames() *foundation.NSDictionary[objc.ID, objc.ID]
@method mangledNames @abstract Returns a dictionary containing all of the filesystem-specific names for the receiver, each one mangled for uniqueness. @discussion The dictionary will return only the names which are indicated by the receiver's effective mask. If the receiver's effective mask is zero, an empty dictionary is returned. @result An NSDictionary containing the filesystem-specific mangled file names.
func (*DRFSObject) Parent ¶
func (o *DRFSObject) Parent() *DRFolder
@method parent @abstract Returns the parent folder (if any) of the receiver in the content hierarchy. @result A @link //apple_ref/occ/cl/DRFolder DRFolder @/link object.
func (*DRFSObject) PropertiesForFilesystemMergeWithOtherFilesystems ¶
func (o *DRFSObject) PropertiesForFilesystemMergeWithOtherFilesystems(filesystem *foundation.NSString, merge bool) *foundation.NSDictionary[objc.ID, objc.ID]
@method propertiesForFilesystem:mergeWithOtherFilesystems: @abstract Returns all the filesystem properties set for the specified filesystem. @discussion Normally you would call this method with merge set to <i>YES</i> since you are interested in the set of properties that will be used when writing the object to disc. But if you have a need to determine what properties are set just for a specific filesystem, then pass in <i>NO</i> for merge. In this case only the specific filesystem is checked. So if filesystem is set to @link DRHFSPlus DRHFSPlus @/link and merge is <i>NO</i> then the properties dictionary contains the values set for the HFS+ filesytem only. If no properties have been directly set for HFS+ yet, then this properties dictionary will be empty. @param filesystem The filesystem to look in. @param merge If <i>YES</i>, also look for properties in the umbrella @link DRAllFilesystems DRAllFilesystems @/link. @result A dictionary of property values.
func (*DRFSObject) PropertyForKeyInFilesystemMergeWithOtherFilesystems ¶
func (o *DRFSObject) PropertyForKeyInFilesystemMergeWithOtherFilesystems(key *foundation.NSString, filesystem *foundation.NSString, merge bool) objc.ID
@method propertyForKey:inFilesystem:mergeWithOtherFilesystems: @abstract Returns a file/folder property specified by key for the specified filesystem. @discussion Normally you would call this method with merge set to <i>YES</i> since you are interested in the property that will be used when writing the object to disc. But if you have a need to determine what property is set just for a specific filesystem, then pass in <i>NO</i> for merge. In this case only the specific filesystem is checked. So if @link DRHFSPlus DRHFSPlus @/link is passed in for filesystem and merge is <i>NO</i> then the property returned is the value set for the HFS+ filesytem only. If that property has not been directly set for HFS+ yet, then the returned value will be nil. @param key The property to return. @param filesystem The filesystem to look in. @param merge If <i>YES</i>, also look for the property in the umbrella @link DRAllFilesystems DRAllFilesystems @/link. @result The value associated with the property.
func (*DRFSObject) SetBaseName ¶
func (o *DRFSObject) SetBaseName(baseName *foundation.NSString)
@method setBaseName: @abstract Sets the base name for the receiver. @discussion The base name is the name from which any necessary filesystem-specific names are automatically generated. Because the content creation API is able to generate multiple filesystems which require multiple varied naming conventions, a sensible system for naming is required. Thus each file has a base name which corresponds to its default name in any filesystem. Whenever possible, the base name will be used in the generated filesystem without modification. If the name cannot be used as-is (if, for example, it contains illegal characters, exceeds the length requirements, doesn't meet the required format, or a name collision is detected) then an acceptable name that meets the filesystem's criteria will be generated automatically from the base name. The default base name for a real file or folder is the actual on-disk name of the item. @param baseName The new base name of the object.
func (*DRFSObject) SetExplicitFilesystemMask ¶
func (o *DRFSObject) SetExplicitFilesystemMask(mask uint)
@method setExplicitFilesystemMask: @abstract Sets the filesystems the receiver will be included on. @discussion The effective mask for an item cannot be more inclusive than the effective mask of it's parent. If the mask set for a child is more inclusive than its parent's mask, those filesystems not allowed by the parent will be stripped from the resulting effective mask of the child. @param mask A filesystem mask
func (*DRFSObject) SetPropertiesInFilesystem ¶
func (o *DRFSObject) SetPropertiesInFilesystem(properties *foundation.NSDictionary[objc.ID, objc.ID], filesystem *foundation.NSString)
@method setProperties:inFilesystem: @abstract Sets the value of all the receiver's properties specified by the keys in properties for the specific filesystem. @discussion The properties are set only in the filesystem dictionary specified by filesystem. @link DRAllFilesystems DRAllFilesystems @/link may be specified as the filesystem in which case he umbrella property affecting all filesystems at once will be set. Setting properties for @link DRAllFilesystems DRAllFilesystems @/link does not preclude setting a filesystem specific property. @param properties The value of the property. @param filesystem The filesystem to set the property in.
func (*DRFSObject) SetPropertyForKeyInFilesystem ¶
func (o *DRFSObject) SetPropertyForKeyInFilesystem(property objc.ID, key *foundation.NSString, filesystem *foundation.NSString)
@method setProperty:forKey:inFilesystem: @abstract Sets the value of the receiver's property specified by key for the specific filesystem. @discussion The property is set only in the filesystem dictionary specified by filesystem. @link DRAllFilesystems DRAllFilesystems @/link may be specified as the filesystem in which case the umbrella property affecting all filesystems at once will be set. Setting a property for @link DRAllFilesystems DRAllFilesystems @/link does not preclude setting a filesystem specific property. @param property The value of the property. @param key The property key. @param filesystem The filesystem to set the property in.
func (*DRFSObject) SetSpecificNameForFilesystem ¶
func (o *DRFSObject) SetSpecificNameForFilesystem(name *foundation.NSString, filesystem *foundation.NSString)
@method setSpecificName:forFilesystem: @abstract Sets the name used for the receiver in a particular filesystem. @discussion Every effort will be made to use the name passed in. However, if a name is illegal, it will be modified to fit the rules for the filesystem's names. Because of this, you should always call @link //apple_ref/occ/instm/DRFSObject/specificNameForFilesystem: specificNameForFilesystem: @/link after to ensure that you are always displaying the most current names to the user. @param name The name to set. @param filesystem The filesystem to set the name for.
func (*DRFSObject) SetSpecificNames ¶
func (o *DRFSObject) SetSpecificNames(specificNames *foundation.NSDictionary[objc.ID, objc.ID])
@method setSpecificNames: @abstract Sets the names used for the receiver in the different filesystems all at once. @discussion Takes an NSDictionary of filesystem keys with corresponding name strings as their values for each specific filesystem name that should be set. Every effort will be made to use the names passed in. However, if a name is illegal, it will be modified to fit the rules for that filesystem's names. Because of this, you should always call @link //apple_ref/occ/instm/DRFSObject/specificNames specificNames @/link after @link //apple_ref/occ/instm/DRFSObject/setSpecificNames: setSpecificNames: @/link to ensure that you are always displaying the most current names to the user. @param specificNames The names to set.
func (*DRFSObject) SourcePath ¶
func (o *DRFSObject) SourcePath() *foundation.NSString
@method sourcePath @abstract Returns the path to a real object. @discussion This method only applies to DRFSObjects pointing to real objects. @result A path
func (*DRFSObject) SpecificNameForFilesystem ¶
func (o *DRFSObject) SpecificNameForFilesystem(filesystem *foundation.NSString) *foundation.NSString
@method specificNameForFilesystem: @abstract Returns a single filesystem-specific name for the receiver. @param filesystem The filesystem to return the name from. @result An NSString containing the name of the file.
func (*DRFSObject) SpecificNames ¶
func (o *DRFSObject) SpecificNames() *foundation.NSDictionary[objc.ID, objc.ID]
@method specificNames @abstract Returns all the filesystem-specific names for the receiver. @param filesystem The filesystem to return the name from. @result An NSDictionary containing the name of the file on all the filesystems.
type DRFile ¶
type DRFile struct {
DRFSObject
}
@class DRFile @abstract Represents a file to be created on the disc. @discussion A file can be either a pointer to an exiting file (residing on a hard drive for example) or can be created at burn time from data passed into the file object as requested. DRFiles can only exist inside of virtual @link //apple_ref/occ/cl/DRFolder DRFolder @/link objects.
Apple documentation: https://developer.apple.com/documentation/discrecording/drfile
func DRFileFileWithPath ¶
func DRFileFileWithPath(path *foundation.NSString) *DRFile
@method fileWithPath: @abstract Creates a real file object @discussion This type of DRFile reads in data from an existing file located at path and burns that data to disc. @param path The path to an existing file. @result An autoreleased DRFile object.
func DRFileFinderAliasPointingToInFilesystem ¶
func DRFileFinderAliasPointingToInFilesystem(original *DRFSObject, filesystem *foundation.NSString) *DRFile
@method finderAliasPointingTo:inFilesystem: @abstract Creates a Finder alias to another file on the output disc. @param original The file to point he hard link to @param filesystem The filesystem this link will exist on. @result An autoreleased DRFile object.
func DRFileFromID ¶
func DRFileHardLinkPointingToInFilesystem ¶
func DRFileHardLinkPointingToInFilesystem(original *DRFile, filesystem *foundation.NSString) *DRFile
@method hardLinkPointingTo:inFilesystem: @abstract Creates a hard link to another file on the output disc. @param original The file to point he hard link to @param filesystem The filesystem this link will exist on. @result An autoreleased DRFile object.
func DRFileSymLinkPointingToInFilesystem ¶
func DRFileSymLinkPointingToInFilesystem(original *DRFSObject, filesystem *foundation.NSString) *DRFile
@method symLinkPointingTo:inFilesystem: @abstract Creates a symbolic link to another file on the output disc. @param original The file to point he hard link to @param filesystem The filesystem this link will exist on. @result An autoreleased DRFile object.
func DRFileVirtualFileWithNameData ¶
func DRFileVirtualFileWithNameData(name *foundation.NSString, data *foundation.NSData) *DRFile
@method virtualFileWithName:data: @abstract Creates a virtual file object @discussion This type of DRFile burns the data passed in to disc, creating a file with the passed in name. @param name The name of the file on disc. @param data The data that will become the contents of the file on the disc. @result An autoreleased DRFile object.
func DRFileVirtualFileWithNameDataProducer ¶
func DRFileVirtualFileWithNameDataProducer(name *foundation.NSString, producer objc.ID) *DRFile
@method virtualFileWithName:dataProducer: @abstract Creates a virtual file object @discussion This type of DRFile burns the data produced to the output disc, creating a file with the passed in name. @param name The name of the file on disc. @param data The data that will become the contents of the file on the disc. @result An autoreleased DRFile object.
func (*DRFile) InitWithLinkTypePointingToInFilesystem ¶
func (o *DRFile) InitWithLinkTypePointingToInFilesystem(linkType *foundation.NSString, original *DRFSObject, filesystem *foundation.NSString) objc.ID
@method initWithLinkType:pointingTo:inFilesystem: @abstract Initializes a file object to point to another file on the output disc. @param linkType The type of link that will be created. @param original The file to point he hard link to @param filesystem The filesystem this link will exist on. @result A DRFile object.
func (*DRFile) InitWithNameData ¶
func (o *DRFile) InitWithNameData(name *foundation.NSString, data *foundation.NSData) objc.ID
@method initWithName:data: @abstract Initializes a virtual file object @discussion This type of DRFile burns the data passed in to the output disc, creating a file with the passed in name. @param name The name of the file on output disc. @param data The data that will become the contents of the file on the output disc. @result A DRFile object.
func (*DRFile) InitWithNameDataProducer ¶
@method initWithName:dataProducer: @abstract Initializes a virtual file object @discussion This type of DRFile burns the data produced to the output disc, creating a file with the passed in name. @param name The name of the file on output disc. @param producer The object supplying the file data to the burn. @result A DRFile object.
func (*DRFile) InitWithPath ¶
func (o *DRFile) InitWithPath(path *foundation.NSString) objc.ID
@method initWithPath: @abstract Initializes a real file object @discussion This type of DRFile reads in data from an existing file located at path and burns that data to disc. @param path The path to an existing file. @result An DRFile object.
type DRFileDataProduction ¶
type DRFileDataProduction interface {
CalculateSizeOfFileForkEstimating(file *DRFile, fork uint, estimate bool) uint64
PrepareFileForBurn(file *DRFile) bool
ProduceFileForkIntoBufferLengthAtAddressBlockSize(file *DRFile, fork uint, buffer string, bufferLength uint32, address uint64, blockSize uint32) uint32
PrepareFileForVerification(file *DRFile) bool
CleanupFileAfterBurn(file *DRFile)
}
DRFileDataProduction wraps the ObjC protocol DRFileDataProduction.
type DRFileForkSizeInfo ¶
@struct DRFileForkSizeInfo @abstract Structure used when requesting fork sizes. @field fork (in) which fork is being requested @field query (in) type of query, estimate or actual @field size (out) returned size
type DRFileProductionInfo ¶
type DRFileProductionInfo struct {
RequestedAddress uint64
Buffer unsafe.Pointer
ReqCount uint
ActCount uint
BlockSize uint
Fork uint
}
@struct DRFileProductionInfo @abstract Structure used by the @link DRFileProc DRFileProc @/link callback during production of a track. @field requestedAddress (out) byte address that the burn engine is requesting @field buffer (out) buffer to produce into @field reqCount (out) number of bytes requested @field actCount (in) number of bytes you actually produced @field blockSize (out) current block size, you must always return multiples of this @field fork (out) which fork is being requested
type DRFolder ¶
type DRFolder struct {
DRFSObject
}
@class DRFolder @abstract Represents a folder to be created on the burned disc. @discussion DRFolders can be either a “real” folder pointing to an existing folder (residing on a hard drive for example) or can be a “virtual” folder which exists only on the resulting burned disc. A DRFolder pointing to an existing folder cannot have it's contents changed - only those files/folders which are children of the actual folder on disk will be included on the resulting disc. Virtual folders are entirely created programatically and any virtual folder structure can exist and be burned to disc. It is possible to convert a real folder to a virtual folder using the @link //apple_ref/occ/intm/DRFolder/makeVirtual makeVirtual @/link method.
Apple documentation: https://developer.apple.com/documentation/discrecording/drfolder
func DRFolderFolderWithPath ¶
func DRFolderFolderWithPath(path *foundation.NSString) *DRFolder
@method folderWithPath: @abstract Creates a real folder object @discussion Creates and initializes a DRFolder object that will use the folder contents of the folder located at path as a source. @param path The path to an existing file. @result An autoreleased DRFolder object.
func DRFolderFromID ¶
func DRFolderVirtualFolderWithName ¶
func DRFolderVirtualFolderWithName(name *foundation.NSString) *DRFolder
@method virtualFolderWithName: @abstract Creates a virtual folder object @discussion Creates and initializes a DRFolder object that will be populated with specified @link //apple_ref/occ/cl/DRFile DRFile @/link and DRFolder objects at runtime. @param name The name of the folder on the output disc. @result An autoreleased DRFolder object.
func (*DRFolder) AddChild ¶
func (o *DRFolder) AddChild(child *DRFSObject)
@method addChild: @abstract Adds an object reference (either a file or folder) as a child of a virtual folder object. @discussion This method only applies to virtual folders. Real folders are considered leaf nodes and cannot have children. @param child The child to add to the folder
func (*DRFolder) Children ¶
func (o *DRFolder) Children() *foundation.NSArray[objc.ID]
@method children @abstract Returns an array containing the children of a virtual folder. @discussion The order of children in the array is arbitrary -- since the various filesystems being generated may have different sorting requirements, there is no one true way to sort the children. The ordering will change only when children are added or removed. You should sort the children according to the needs of your display, and in a consistent manner. This function only applies to virtual folders. Real folders are considered leaf nodes and should not be passed into this call. @result An NSArray of @link //apple_ref/occ/cl/DRFile DRFile @/link and DRFolder objects.
func (*DRFolder) Count ¶
@method count @abstract Returns the number of children of a virtual folder. @discussion This method returns a shallow count of only those children that are immediately contained within the virtual folder. This method only applies to virtual folders. Real folders are considered leaf nodes and should not be messaged with this call. @result A count of the number of children.
func (*DRFolder) InitWithName ¶
func (o *DRFolder) InitWithName(name *foundation.NSString) objc.ID
@method initWithName: @abstract Initializes a virtual file object @discussion Initializes a DRFolder object that will be populated with specified @link //apple_ref/occ/cl/DRFile DRFile @/link and DRFolder objects at runtime. @param name The name of the folder on the output disc. @result A DRFolder object.
func (*DRFolder) InitWithPath ¶
func (o *DRFolder) InitWithPath(path *foundation.NSString) objc.ID
@method initWithPath: @abstract Initializes a real file object @discussion Initializes a DRFolder object that will use the folder contents of the folder located at path as a source. @param path The path to an existing folder. @result A DRFolder object.
func (*DRFolder) MakeVirtual ¶
func (o *DRFolder) MakeVirtual()
@method makeVirtual @abstract Changes the real DRFolder object into a virtual DRFolder object. @discussion The virtual folder created in this way is a snapshot of the on-disk folder at the moment of the call. The newly created virtual folder will contain <b>real</b> folder and file objects corresponding to the on-disk children of the original on-disk folder. If the on-disk folder is modified (eg, if the folder attributes change, or if children are added to or removed from the on-disk tree): <i>during</i> this call, the virtual folder <b>may or may not</b> reflect the changes. If modified <i>after</i> this call, the virtual folder <b>will</b> not reflect the changes.
func (*DRFolder) RemoveChild ¶
func (o *DRFolder) RemoveChild(child *DRFSObject)
@method removeChild: @abstract Removes an object reference (either a file or folder) as a child of a virtual folder object. @discussion This method only applies to virtual folders. Real folders are considered leaf nodes and cannot have children. @param child The child to remove from the folder
type DRMSF ¶
type DRMSF struct {
foundation.NSNumber
}
Apple documentation: https://developer.apple.com/documentation/discrecording/drmsf
func DRMSFFromID ¶
func DRMSFMsf ¶
func DRMSFMsf() *DRMSF
@method msf @abstract Creates an msf object with no length/time. @result An autoreleased DRMSF object.
func DRMSFMsfWithFrames ¶
@method msfWithFrames @abstract Creates an msf object whose length is frames. @result An autoreleased DRMSF object.
func DRMSFMsfWithString ¶
func DRMSFMsfWithString(string_ *foundation.NSString) *DRMSF
@method msfWithString @abstract Creates an msf object initialized to the value represented by string @result An autoreleased DRMSF object.
func (*DRMSF) DescriptionWithFormat ¶
func (o *DRMSF) DescriptionWithFormat(format *foundation.NSString) *foundation.NSString
@method descriptionWithFormat @abstract Returns a textual representation of the receiver. @discussion The format string is very similar to a printf-style format string with %-escaped formatting characters. <ul> <li>%% A "%" character</li> <li>%m Minutes as a decimal number</li> <li>%s Seconds as a decimal number</li> <li>%f Frames as a decimal number</li> </ul> In addition to these formatting characters an optional length specifier can come between then % and the formatting character. This length specifier will force the field in question to be at least that wide. For example a format specifier of "%02m:%02s" will cause a DRMSF object representing 3 minutes 9 seconds to be formatted as "03:09". A formatter is aware of and respects rounding. If a bit of the msf is not zero, but the format does not display that value, the next higher value will be increased by one to reflect that. Extending our example above, an DRMSF with a value of 3 minutes, 9 seconds, 15 frames using a format specfier of "%02m:%02s", will be formatted as "03:10" since the 15 frames rounds up the seconds to the next value @param format The format of the description string. @result NSString containing a textual representation of the object utilizing the specified format.
func (*DRMSF) Frames ¶
@method frames @abstract Returns the number of frames represented by the receiver. @discussion This method differs from @link //apple_ref/occ/instm/DFMSF/sectors sectors @/link in that it returns to the caller the number of frames remaining in the current second. For example an DRMSF value of 5:30:72 will return 72 from a message to @link //apple_ref/occ/instm/DRMSF/frames frames @/link.
func (*DRMSF) InitWithFrames ¶
@method initWithFrames @abstract Initializes an msf object whose length is frames. @result A DRMSF object.
func (*DRMSF) InitWithString ¶
func (o *DRMSF) InitWithString(string_ *foundation.NSString) objc.ID
@method initWithString @abstract Initializes an msf object initialized to the value represented by string @result A DRMSF object.
func (*DRMSF) IsEqualToMSF ¶
@method isEqualToMSF @abstract Compares on emsf to another. @param otherDRMSF The msf to compare to the receiver @result <i>YES</i> if the two object are equal, <i>NO</i> otherwise.
func (*DRMSF) Minutes ¶
@method minutes @abstract Returns the number of minutes represented by the receiver. @discussion If the receiver represents a non integral number of minutes, only the whole minute value is returned. For example an DRMSF value of 5:30:72 will return 5 from a message to @link //apple_ref/occ/instm/DRMSF/minutes minutes @/link.
func (*DRMSF) MsfByAdding ¶
@method msfByAdding @abstract Adds an msf to the receiver. @param msf The msf to add to the receiver @result A new DRMSF object totalling the sum of the reciever and msf
func (*DRMSF) MsfBySubtracting ¶
@method msfBySubtracting @abstract Subtracts an msf to the receiver. @param msf The msf to subtract from the receiver @result A new DRMSF object totalling the difference of the reciever and msf
func (*DRMSF) Seconds ¶
@method seconds @abstract Returns the number of seconds represented by the receiver. @discussion If the receiver represents a non integral number of seconds, only the whole second value is returned. For example an DRMSF value of 5:30:72 will return 30 from a message to @link //apple_ref/occ/instm/DRMSF/seconds seconds @/link.
func (*DRMSF) Sectors ¶
@method sectors @abstract Returns the total number of frames/sectors represented by the receiver. @discussion This method differs from @link //apple_ref/occ/instm/DRMSF/frames frames @/link in that it returns to the caller the total number of frames/sectors represented by the object. For example an DRMSF value of 5:30:72 will return 24822 from a message to @link //apple_ref/occ/instm/DRMSF/sectors sectors @/link.
type DRMSFFormatter ¶
type DRMSFFormatter struct {
foundation.NSFormatter
}
@class DRMSFFormatter @abstract NSFormatter subclass @discussion Instances of DRMSFFormatter format the textual representation of cells that contain MSF objects and convert textual representations of msf values into MSF objects. DRMSFFormatters are typically instantiated in IB using the DiscRecording Interface builder palette.
Apple documentation: https://developer.apple.com/documentation/discrecording/drmsfformatter
func DRMSFFormatterFromID ¶
func DRMSFFormatterFromID(id objc.ID) *DRMSFFormatter
func (*DRMSFFormatter) Format ¶
func (o *DRMSFFormatter) Format() *foundation.NSString
@method format @abstract Returns the format string to the caller
func (*DRMSFFormatter) InitWithFormat ¶
func (o *DRMSFFormatter) InitWithFormat(format *foundation.NSString) objc.ID
@method initWithFormat: @abstract Initializes the formatter with the format string @param format An NString specifying the printf-style format string. @result A DRMSFFormatter
func (*DRMSFFormatter) SetFormat ¶
func (o *DRMSFFormatter) SetFormat(format *foundation.NSString)
@method setFormat: @abstract Sets the format string of the receiver @discussion The format string is very similar to a printf-style format string with %-escaped formatting characters. <ul> <li>%% A "%" character</li> <li>%m Minutes as a decimal number</li> <li>%s Seconds as a decimal number</li> <li>%f Frames as a decimal number</li> </ul> In addition to these formatting characters an optional length specifier can come between then % and the formatting character. This length specifier will force the field in question to be at least that wide. for example a format specifier of "%02m:%02s" will cause a DRMSF object representing 3 minutes 9 seconds to be formatted as "03:09". A formatter is aware of and respects rounding. If a bit of the msf is not zero, but the format does not display that value, the next higher value will be increased by one to reflect that. Extending our example above, an DRMSF with a value of 3 minutes, 9 seconds, 15 frames using a format specfier of "%02m:%02s", will be formatted as "03:10" since the 15 frames rounds up the seconds to the next value @param format An NString specifying the printf-style format string.
type DRNotificationCenter ¶
type DRNotificationCenter struct {
foundation.NSObject
}
@class DRNotificationCenter @discussion A DRNotificationCenter object (or simply, notification center) is essentially a notification dispatch table. It notifies all observers of notifications meeting specific criteria. This information is encapsulated in NSNotification objects, also known as notifications. Client objects register themselves with the notification center as observers of specific notifications posted by DiscRecording. When an event occurs, DiscRecording posts an appropriate notification to the notification center. The notification center dispatches a message to each registered observer, passing the notification as the sole argument. There are two main differences between a DRNotificationCenter and the NSNotificationCenter from Foundation. First is that only Disc Recording posts notifications received through this mechanism. You use this to obtain device plug/unplug events, burn status, etc. Second, there can be multple notification centers active at once. Each run loop of your application will have it's own notification center and notifications from that notification center will be posted to the runloop it was created on.
Apple documentation: https://developer.apple.com/documentation/discrecording/drnotificationcenter
func DRNotificationCenterCurrentRunLoopCenter ¶
func DRNotificationCenterCurrentRunLoopCenter() *DRNotificationCenter
@method currentRunLoopCenter @abstract Creates an initializes a DRNotificationCenter @discussion The instance returned sends Disc Recording notifications only to the current run loop. If you want to receive notifications on another run loop, this method must be called from that runloop. @result A shared DRNotificationCenter object.
func DRNotificationCenterFromID ¶
func DRNotificationCenterFromID(id objc.ID) *DRNotificationCenter
func (*DRNotificationCenter) AddObserverSelectorNameObject ¶
func (o *DRNotificationCenter) AddObserverSelectorNameObject(observer objc.ID, aSelector objc.SEL, notificationName *foundation.NSString, anObject objc.ID)
@method addObserver:selector:name:object: @abstract Adds an observer to the receiver. @discussion Registers anObserver to receive notifications with the name notificationName and/or containing anObject. When a notification of name notificationName containing the object anObject is posted, anObserver receives an aSelector message with this notification as the argument. The method for the selector specified in aSelector must have one and only one argument. If notificationName is nil, the notification center notifies the observer of all notifications with an object matching anObject. If anObject is nil, the notification center notifies the observer of all notifications with the name notificationName. The notification center does not retain anObserver or anObject. Therefore, you should always send @link //apple_ref/occ/instm/DRNotificationCenter/removeObserver:name:object: removeObserver:name:object: @/link to the notification center before releasing these objects. @param observer The observer to send notifications to. @param aSelector The selector to call @param notificationName The notification to listen for @param anObject The object to limit notifications for.
func (*DRNotificationCenter) RemoveObserverNameObject ¶
func (o *DRNotificationCenter) RemoveObserverNameObject(observer objc.ID, aName *foundation.NSString, anObject objc.ID)
@method removeObserver:name:object: @abstract Removes anObserver from receiving notifications. @discussion Removes anObserver as the observer of notifications with the name notificationName and object anObject from the receiver. Be sure to invoke this method before deallocating the observer object or any object specified in @link //apple_ref/occ/instm/DRNotificationCenter/addObserver:selector:name:object: addObserver:selector:name:object: @/link. @param observer The observer to remove @param aName The notification the remove the observer from. @param anObject The object the observer was listening for.
type DRRefConCallbacks ¶
@struct DRRefConCallbacks @abstract Contains a set of callbacks for use by a Disc Recording object in managing its reference context. @field version The version of this structure. The value must be a known version, or zero. @field retain An optional callback used by a Disc Recording object to retain its reference context. When <tt>NULL</tt>, the Disc Recording object will not retain the reference context when set. @field release An optional callback used by a Disc Recording object to remove a retain previously added for its reference context. When <tt>NULL</tt>, the Disc Recording objecting will not release its reference context when the object is destroyed or when a new reference context value is set.
func KDRRefConCFTypeCallbacks ¶
func KDRRefConCFTypeCallbacks() DRRefConCallbacks
type DRTrack ¶
type DRTrack struct {
foundation.NSObject
}
@class DRTrack @abstract The DRTrack class represents a track on the burned disc. @discussion <h3>About tracks</h3> A DRTrack provides data to the for the burn and contains a description of the track on disc (length, block type, data format, etc). Data is provided for the burn in a real-time thread. It is up to the track to provide this data in a timely manner, otherwise a burn underrun can occur and ruin a disc. <h3>Data Production</h3> DRTracks do not typically store or cache the data to be written to disk, instead the data is streamed to the disc from some data producer as it's needed. This is accomplished through an object associated with the track when the track is created called the <i>track producer</i>. A track producer is a class you create that implements the @link DRTrackDataProduction DRTrackDataProduction @/link informal protocol. This protocol defines all of the methods that a track object will call during a burn to obtain data. <h3>Track Properties</h3> A DRTrack object contains several properties which define the track for the burn. These properties are stored in an NSDictionary and are accessed through the @link //apple_ref/occ/instm/DRTrack/properties properties @/link and @link //apple_ref/occ/instm/DRTrack/setProperties: setProperties: @/link methods. There are several properties that are required to be present and if they are not, will cause the burn to fail. These are: <ul> <li>@link DRTrackLengthKey DRTrackLengthKey @/link Length of the track</li> <li>@link DRBlockSizeKey DRBlockSizeKey @/link Size in bytes of each track block</li> <li>@link DRBlockTypeKey DRBlockTypeKey @/link Type of each track block</li> <li>@link DRDataFormKey DRDataFormKey @/link Data form of each block in the track</li> <li>@link DRSessionFormatKey DRSessionFormatKey @/link Session format of the track</li> <li>@link DRTrackModeKey DRTrackModeKey @/link Track mode of the track</li> </ul> The possible values of these properties are defined in the Mt. Fuji (IFF-8090i) specification for CD/DVD devices. It's up to you to understand the possible values and meanings of each. All other keys contained in the properties dictionary are optional and can be omitted.
Apple documentation: https://developer.apple.com/documentation/discrecording/drtrack
func DRTrackFromID ¶
func DRTrackTrackForAudioFile ¶
func DRTrackTrackForAudioFile(path *foundation.NSString) *DRTrack
@method trackForAudioFile: @abstract Creates a DRTrack capable of burning RedBook CD audio from a QuickTime readable file. @discussion This method creates a track object configured and primed to output RedBook audio CD data. It accepts any file readable by QuickTime and extracts the audio data (if any) from the file, translating that into the correct format for output to the disc. @param path The path to the file. This file must be one that can be read by QuickTime. @result An autoreleased DRTrack
func DRTrackTrackForRootFolder ¶
@method trackForRootFolder: @abstract Creates a DRTrack capable of burning a folder to disc. @discussion Additional track properties can be set controlling the various filesystems to be generated. See the documentation for @link //apple_ref/occ/cl/DRTrack DRTrack @/link for more info. @param rootFolder The root of the volume to be created. @result An autoreleased DRTrack
func (*DRTrack) EstimateLength ¶
@method estimateLength @abstract Asks the track producer for a size estimate. @discussion This method calls the track producer to ask it to estimate the size needed for its data. For some types of track, this call may be very expensive. For example, a DRFilesystemTrack may need to iterate folders on disk to provide an accurate estimate, which (if a large number of files and folders are involved) can cause this call to take 30 seconds or more. Since your main thread should not be allowed to block for this long, you may wish to call this function on a separate thread. @result The estimated length of the track.
func (*DRTrack) InitWithProducer ¶
@method initWithProducer: @abstract Initializes a DRTrack with the producer @param producer The object to use as the data producer @result A DRTrack
func (*DRTrack) Length ¶
@method length @abstract Returns the length of the track data. @discussion The length returned does not include the length of the pregap. Only the length of the track data itself is returned. @result A DRMSF representing the length of the track.
func (*DRTrack) PreGap ¶
@method preGap @abstract Returns the length of the pre gap. @discussion This is a simple wrapper to obtain the @link DRPreGapLengthKey DRPreGapLengthKey @/link. If the @link DRPreGapLengthKey DRPreGapLengthKey @/link property has not been set for the track this method will return a zero-length @link //apple_ref/occ/cl/DRMSF DRMSF @/link object (0m:0s:0f). @result A DRMSF representing the length of the pre gap.
func (*DRTrack) Properties ¶
func (o *DRTrack) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
@method properties @abstract Returns the properties dictionary of the track. @result An NSDictionary containing the properties of the track.
func (*DRTrack) SetPreGap ¶
@method setPreGap: @abstract Sets the length of the pre gap. @discussion This is a simple wrapper to set the @link DRPreGapLengthKey DRPreGapLengthKey @/link. @param preGap the pre gap length.
func (*DRTrack) SetProperties ¶
func (o *DRTrack) SetProperties(properties *foundation.NSDictionary[objc.ID, objc.ID])
@method setProperties: @abstract Sets the properties dictionary of the track @param properties NSDictionary of the properties to set.
func (*DRTrack) TestProductionSpeedForInterval ¶
@method testProductionSpeedForInterval: @abstract Tests the production speed for a specified interval. @discussion Runs a fake "production" cycle, repeatedly asking the receiver for data by calling it's producer's @link //apple_ref/occ/intfm/DRTrackDataProduction/produceDataIntoBuffer:length:atAddress:blockSize:ioFlags: produceDataIntoBuffer:length:atAddress:blockSize:ioFlags: @/link for the specified time interval. Use this function to verify that the the production code can produce data fast enough to satisfy the data throughput requirements of the burn. Returns the calculated maximum speed the at which the receiver can produce data. This value should be used when setting up a burn to limit the burn speed @param interval The length of the test in seconds. @result The maximum speed data can be produced at.
func (*DRTrack) TestProductionSpeedForLength ¶
@method testProductionSpeedForLength: @abstract Tests the production speed for a specified byte count. @discussion Runs a fake "production" cycle, repeatedly asking the receiver for data by calling it's producer's @link //apple_ref/occ/intfm/DRTrackDataProduction/produceDataIntoBuffer:length:atAddress:blockSize:ioFlags: produceDataIntoBuffer:length:atAddress:blockSize:ioFlags: @/link until the specified length number of bytes have been produced. Use this function to verify that the the production code can produce data fast enough to satisfy the data throughput requirements of the burn. Returns the calculated maximum speed the at which the receiver can produce data. This value should be used when setting up a burn to limit the burn speed @param length The length of the test in bytes. @result The maximum speed data can be produced at.
type DRTrackDataProduction ¶
type DRTrackDataProduction interface {
EstimateLengthOfTrack(track *DRTrack) uint64
PrepareTrackForBurnToMedia(track *DRTrack, burn *DRBurn, mediaInfo *foundation.NSDictionary[objc.ID, objc.ID]) bool
CleanupTrackAfterBurn(track *DRTrack)
ProducePreGapForTrackIntoBufferLengthAtAddressBlockSizeIoFlags(track *DRTrack, buffer string, bufferLength uint32, address uint64, blockSize uint32, flags *uint32) uint32
ProduceDataForTrackIntoBufferLengthAtAddressBlockSizeIoFlags(track *DRTrack, buffer string, bufferLength uint32, address uint64, blockSize uint32, flags *uint32) uint32
PrepareTrackForVerification(track *DRTrack) bool
VerifyPreGapForTrackInBufferLengthAtAddressBlockSizeIoFlags(track *DRTrack, buffer string, bufferLength uint32, address uint64, blockSize uint32, flags *uint32) bool
VerifyDataForTrackInBufferLengthAtAddressBlockSizeIoFlags(track *DRTrack, buffer string, bufferLength uint32, address uint64, blockSize uint32, flags *uint32) bool
CleanupTrackAfterVerification(track *DRTrack) bool
}
DRTrackDataProduction wraps the ObjC protocol DRTrackDataProduction.
type DRTrackProductionInfo ¶
type DRTrackProductionInfo struct {
Buffer unsafe.Pointer
ReqCount uint
ActCount uint
Flags uint
BlockSize uint
RequestedAddress uint64
}
@struct DRTrackProductionInfo @abstract Parmeter block used for data production. @field buffer In - The buffer to produce into. This buffer is passed into the track production callback and only the contents should be modified. @field reqCount In - The number of bytes requested by the engine. @field actCount Out - The number of bytes actually produced (between 0 and reqCount). @field flags InOut - Miscellaneous flags. Flags are passed into the track production callback callback from the Disc Recording engine and the callback can set flags to be passed back to the engine. @field blockSize In - The block size the engine is expecting. For best results, return multiples of this size. @field requestedAddress In - The byte address that the burn engine is requesting from the object (0-based). This increments when you send data, as one would expect.
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 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