Copyright © 2005-2018 MultiMedia Soft

GetCurrentPercentage method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the percentage of performed song during a playback session with the specified player.

 

 

Syntax

 

[Visual Basic]

Public Function GetCurrentPercentage (

nPlayerIndex as Int16

) as Int16


 

[C#]

public Int16 GetCurrentPercentage (

Int16 nPlayerIndex

);


 

[C++]

public: Int16 GetCurrentPercentage (

Int16 nPlayerIndex

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player whose information must be retrieved

 

 

Return value

 

The current percentage: a return value of 0 may also indicate that an error occurred: check the LastError property in order to see if an error occurred.