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
Attempts to acquire an exclusive access session with the device.

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
Indicate an interest in the blank media reservation.
Example
dim d as DRDeviceMBS // get a device
d.AcquireMediaReservation

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.

DRDeviceMBS.bsdName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DiscRecording MBS MacControls Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the bsd /dev node name.

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
Commands the device to close its tray.

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
The private constructor.

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
Returns a string suitable for display in the user interface.

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
Commands the device to eject the media.

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
Returns a dictionary of information describing the device.

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
Returns the path to the device in the IO Registry.

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
Compares the receiver to another device.

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
Returns whether or not the device represented by the receiver is still attached to the computer.

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
Returns true if the media in the device can have more data appended to any existing data.

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
Returns true the media in the device is blank.

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
Returns true if the media is in use by some process - even the one making this call.

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
Returns true if the media can be erased (i.e., CD-RW, DVD-RW, etc).

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
Returns true if the media in the device can be fully (re)written.

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
Reports the presence of the media.

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
Returns true if the application calling this method currently holds the reservation on the media.

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
Returns true if the media is in transition (spinning up or down for example).

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
Returns the amount of free space on the media.

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
Returns the amount of writable space on the media.

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
Returns the amount of used space on the media.

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
Returns the type of media currently inserted into the device.

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
Commands the device to open it's tray.

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
The connection of the device to the computer.

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
The location of the device (internal/external/unknown).

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
Releases the latest exclusive access request for the device.

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
Releases any media reservation that might be in place for the device.

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
Returns a dictionary of information describing the media in the device.

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
Reports the tray state of the device.

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
Reports the device's ability to burn to CD-type media.

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
Reports the device's ability to burn to DVD-type media.

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.


The biggest plugin in space...