Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

DRTrackMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class DiscRecording MBS MacControls Plugin 7.4 Yes No No Yes, macOS only No
Function: The DRTrack class represents a track on the burned disc.
Example:
dim track as DRTrackMBS
dim bsp as DRBurnSetupPanelMBS
dim bpp as DRBurnProgressPanelMBS

// we need a track
track=CreateTrack

if track<>nil then
bsp=new DRBurnSetupPanelMBS

// set a few options
bsp.setCanSelectAppendableMedia true
bsp.setCanSelectTestBurn true

if bsp.runSetupPanel=bsp.NSOKButton then
bpp=new DRBurnProgressPanelMBS

// And start off the burn itself. This will put up the progress dialog
// and do all the nice pretty things that a happy app does.
bpp.beginProgressPanelForBurn bsp.burnObject, track

else
MsgBox "You pressed cancel."
end if
end if
Notes:
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.

All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some examples which use this class:


The items on this page are in the following plugins: MBS MacControls Plugin.


DRSetupPanelMBS   -   DVDPlaybackMBS





Links
MBS Xojo Chart Plugins