Copyright © 2006-2016 MultiMedia Soft

RecordingDuration event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs, during a recording session, to notify the actual recording duration in milliseconds.

 

It's important to note that, in case the recording session should have been started in append, mix, overwrite or insert mode (through the SetRecordingMode method), this event would only report the duration of the current recording session and not the overall duration that would result after finalizing the recording session with the previous one. If you want to know the current position of the recording session, which would take count of a previous recording session, the RecordingPosition event would be the way to go.

 

For further details see the How to perform a recording session section.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event RecordingDuration As RecordingDurationEventHandler


 

[C#]

public event RecordingDurationEventHandler RecordingDuration;


 

[C++]

public: __event RecordingDurationEventHandler* RecordingDuration;


 

 

Event Data

 

The event handler receives an argument of type RecordingDurationEventArgs having the following parameters:

 

Parameters

Description

 

 

nDuration

Number representing the duration, expressed in milliseconds, of the current recording session