Copyright © 2005-2019 MultiMedia Soft

DelayedPlayback.ItemSetFadeTime method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the fading times applied during start and end of playback of the given file. The current fading time can be obtained through the DelayedPlayback.ItemGetFadeTime method.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function ItemSetFadeTime (

nFileUniqueID as Int32,

nFadeInLength as Int32,

nFadeOutLength as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemSetFadeTime (

Int32 nFileUniqueID,

Int32 nFadeInLength,

Int32 nFadeOutLength

);


 

[C++]

public: enumErrorCodes ItemSetFadeTime (

Int32 nFileUniqueID,

Int32 nFadeInLength,

Int32 nFadeOutLength

);


 

 

Parameter

Description

 

 

nFileUniqueID

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

nFadeInLength

The fade-in time length expressed in milliseconds

nFadeOutLength

The fade-out time length expressed in milliseconds

 

 

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.