Copyright © 2001-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]

control.PlayListSetLoop (

nPlayer as Integer,

bLoop as enumBoolean

) as enumErrorCodes


 

[C++]

short control.PlayListSetLoop (

short nPlayer,

short bLoop

);


 

 

Parameter

Description

 

 

nPlayer

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:

Mnemonic constant

Value

Meaning

BOOL_FALSE

0

Playlist is executed only once

BOOL_TRUE

1

Playlist is executed in Loop mode

 

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.