Copyright © 2001-2019 MultiMedia Soft

DelayedPlayback.ListAddItem method

Previous pageReturn to chapter overviewNext page

Remarks

 

Adds a song (item) to the list of delayed playbacks.

 

For details about management of delayed playbacks refer to the How to manage delayed playbacks tutorial.

 

 

Syntax

 

[Visual Basic]

control.DelayedPlayback.ListAddItem (

nPlayer as Integer,

strPathname as String,

nDelay as Long

) as Long


 

[C++]

long control.DelayedPlayback.ListAddItem (

short nPlayer,

LPCTSTR strPathname,

long nDelay

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

strPathname

String containing the absolute pathname of the element to add. If this string is left empty, the current sound or video clip loaded into the given player will be added.

nDelay

Number representing the delay expressed in milliseconds

 

 

Return value

 

Value

Meaning

 

 

0

An error occurred (see the LastError property for further error details)

Other values

Unique identifier of the file that will have a delayed playback