Copyright © 2005-2019 MultiMedia Soft

PlayListSetLoop method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the playlist execution in looping mode: this means that, once the playlist execution has been completed, it will automatically restart from the beginning.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function PlayListSetLoop (

nPlayerIndex as Int16,

bLoop as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes PlayListSetLoop (

Int16 nPlayerIndex,

bool bLoop

);


 

[C++]

public: enumErrorCodes PlayListSetLoop (

Int16 nPlayerIndex,

bool bLoop

);


 

 

Parameter

Description

 

 

nPlayerIndex

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

bLoop

Boolean value that specifies to go in loop mode once the playlist execution has been completed.

Supported values are the following:

Value

Meaning

false

Playlist is executed only once

true

Playlist is executed in Loop mode

 

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.