FMX.Media.TMediaPlayer.Duration
Delphi
property Duration: TMediaTime read GetDuration;
C++
__property TMediaTime Duration = {read=GetDuration};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TMediaPlayer |
Description
Specifies the total play time of the current media file attached to the media player.
Duration is measured in 100ns. To obtain s, divide Duration by MediaTimeScale.