Copyright © 2005-2019 MultiMedia Soft

DelayedPlayback.ItemPlayNow method

Previous pageReturn to chapter overviewNext page

Remarks

 

Starts an immediate playback of the given file.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function ItemPlayNow (

nFileUniqueID as Int32,

bRemoveFromList as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemPlayNow (

Int32 nFileUniqueID,

bool bRemoveFromList

);


 

[C++]

public: enumErrorCodes ItemPlayNow (

Int32 nFileUniqueID,

bool bRemoveFromList

);


 

 

Parameter

Description

 

 

nFileUniqueID

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

bRemoveFromList

Boolean value that specifies if the file should be removed from the list of delayed playbacks after starting the playback session.

Supported values are the following:

Mnemonic value

Meaning

false

Item is not removed from the list after starting playback session

true (default)

Item is removed from the list after starting playback session

 

 

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.