Copyright © 2001-2018 MultiMedia Soft

GetCurrentSecond method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the seconds value for the current position during a playback session. If for example the current position is 3:15:234 (3 minutes, 15 seconds, 234 ms) the call will return 15.

 

 

Syntax

 

[Visual Basic]

control.GetCurrentSecond (

nPlayer As Integer

) as Integer


 

[C++]

short control.GetCurrentSecond (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

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

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

Value >= 0

The number of seconds inside the current playing position