Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

AVPlayer.GetTime

Queries current time in seconds.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVPlayer 7.1 Yes No No No Yes

MBS( "AVPlayer.GetTime"; AVPlayer )

Parameters

Parameter Description Example value
AVPlayer The reference number of the player. $Player

Result

Returns value or error.

Description

Queries current time in seconds.

Examples

Query time of container playing container on iOS:

# find players
Set Variable [$list; MBS( "AVPlayer.FindPlayers" ) ]
# pick first one
Set Variable [$player; GetValue($list; 1) ]
# query time
Set Variable [$time; MBS( "AVPlayer.GetTime"; AVPlayer ) ]

See also

Example Databases


AVPlayer.GetRate   -   AVPlayer.GetVolume

Feedback: Report problem or ask question.




Links
MBS Xojo blog