FMX.Media.TMedia.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 | TMedia |
Description
Specifies the total play time of the current media file.
Duration is measured in 100ns. To obtain s, divide Duration by MediaTimeScale.
See Also
- MediaPlayer sample