Platforms to show: All Mac Windows Linux Cross-Platform
Back to DRDeviceMBS class.
DRDeviceMBS.acquireExclusiveAccess as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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 releaseExclusiveAccess must be made at a later time, otherwise the process will never release its exclusive access.
Returns true if the exclusinve access is acquired and false if not.
DRDeviceMBS.acquireMediaReservation
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Blank media participates in a reservation system thats allows applications to express their claim on blank media to other applications. Indicating an interest in the reservation isn't enough to assume its been acquired, as there are likely to be other applications in the system whom have also indicated an interest in the blank media reservation.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.closeTray as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Does nothing if the device does not have a tray (slotload).
Returns true if the tray could be closed and false if not.
DRDeviceMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.displayName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.ejectMedia as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This command first unmounts any volumes associated with the media and then eject 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.
Returns true if the media could be ejected and false if not.
DRDeviceMBS.info as dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
DRDeviceMBS.ioRegistryEntryPath as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.isEqualToDevice(value as DRDeviceMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns true if the receiver is equal to otherDevice.
DRDeviceMBS.isValid as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
Returns true if the device is valid and false if not.
DRDeviceMBS.mediaIsAppendable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaIsBlank as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaIsBusy as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaIsErasable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaIsOverwritable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaIsPresent as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaIsReserved as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaIsTransitioning as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaSpaceFree as DRMSFMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaSpaceOverwritable as DRMSFMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaSpaceUsed as DRMSFMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.mediaType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.openTray as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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 ejectMedia to eject the media and open the tray.
Returns true if the tray could be opened and false if not.
DRDeviceMBS.PhysicalInterconnect as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
DRDeviceMBS.PhysicalInterconnectLocation as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Use the DRDevicePhysicalInterconnectLocation* constants.
DRDeviceMBS.releaseExclusiveAccess
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
A call to this method must be made for every call to acquireExclusiveAccess, otherwise the process will never release its exclusive access.
DRDeviceMBS.releaseMediaReservation
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
If media is inserted and reserved, then the reservation will be passed on to the next process with a reservation request.
DRDeviceMBS.status as dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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).
DRDeviceMBS.trayIsOpen as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns true if the device has a tray and it is open.
DRDeviceMBS.writesCD as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns true if the device has the ability to write to CD-R media.
DRDeviceMBS.writesDVD as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns true if the device has the ability to write to DVD-R media.
The items on this page are in the following plugins: MBS MacControls Plugin.