BreaksGetCount Method (IMBreaks)
number of breaks
total breaks duration in seconds
Gets the number of breaks in file, playlist or live source and total breaks duration.
Syntax
Sub BreaksGetCount( _
   ByRef _pnCount As Integer, _
   ByRef _pdblTotalDuration As Double _
) 
void BreaksGetCount( 
   out int _pnCount,
   out double _pdblTotalDuration
)
procedure BreaksGetCount( 
   Out  _pnCount: Integer;
   Out  _pdblTotalDuration: Double
); 
void BreaksGetCount( 
   [PARAMFLAG::Out] int _pnCount,
   [PARAMFLAG::Out] double _pdblTotalDuration
) 

Parameters

_pnCount
number of breaks
_pdblTotalDuration
total breaks duration in seconds
Example
Dim nCount As Integer
Dim dblDuration As Double
pBreaks.BreaksGetCount(nCount, dblDuration)
int nCount;
double dblDuration;
pBreaks.BreaksGetCount(out nCount, out dblDuration);
nCount: integer;
dblDuration: double;

pBreaks.BreaksGetCount(nCount, dblDuration);
See Also

Reference

IMBreaks Interface
IMBreaks Members