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]
control.DelayedPlayback.ItemPlayNow (
nFileUniqueID as Long,
bRemoveFromList as enumBoolean
) as enumErrorCodes
|
|
[C++]
long control.DelayedPlayback.ItemPlayNow (
long nFileUniqueID,
short 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 constant
|
Value
|
Meaning
|
BOOL_FALSE
|
0
|
Item is not removed from the list after starting playback session
|
BOOL_TRUE
|
1
|
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.
|
|