FMX.Media.TMedia.Volume
Delphi
property Volume: Single read GetVolume write SetVolume;
C++
__property float Volume = {read=GetVolume, write=SetVolume};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TMedia |
Description
Specifies the audio volume of the current media file.
Volume takes values in the range from 0 through 1. If Volume is 1, then the media file is played at the maximum native volume. If Volume is 0, then the media file is mute.
See Also
- MediaPlayer sample