Copyright © 2005-2018 MultiMedia Soft

DelayedPlayback.ListAddItem

Return to chapter overview

Remarks

 

Adds the song (item) currently contained into the given player 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]

Public Function ListAddItem (

nPlayerIndex as Int16,

nDelay as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ListAddItem (

Int16 nPlayerIndex,

Int32 nDelay

);


 

[C++]

public: enumErrorCodes ListAddItem (

Int16 nPlayerIndex,

Int32 nDelay

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

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