Copyright © 2005-2019 MultiMedia Soft

PlayListNextIndexSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the index of the next item in playlist that will be executed after completing the current one. The current index of the next item can be obtained through the PlayListNextIndexGet method.

 

For further details about playlists management see the How to create and manage a playlist tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function PlayListNextIndexSet (

nPlayerIndex as Int16,

nIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes PlayListNextIndexSet (

Int16 nPlayerIndex,

Int16 nIndex

);


 

[C++]

public: enumErrorCodes PlayListNextIndexSet (

Int16 nPlayerIndex,

Int16 nIndex

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that owns the playlist

nIndex

The zero-based index of the next playlist item

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.