Copyright © 2005-2018 MultiMedia Soft

DelayedPlayback.ItemSetLoopCount method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the number of loops applied to the given file during playback. The current number of loops can be obtained through the DelayedPlayback.ItemGetLoopCount method.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function ItemSetLoopCount (

nFileUniqueID as Int32,

nLoopCount as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemSetLoopCount (

Int32 nFileUniqueID,

Int32 nLoopCount

);


 

[C++]

public: enumErrorCodes ItemSetLoopCount (

Int32 nFileUniqueID,

Int32 nLoopCount

);


 

 

Parameter

Description

 

 

nFileUniqueID

Number representing the unique identifier of the file as returned by the DelayedPlayback,ListAddItem method

nLoopCount

The number of loops to apply. A value of -1 would mean infinite loops.

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The call was successful.