FMX.Media.TMediaPlayerVolume
Delphi
TMediaPlayerVolume = class(TMediaPlayerValue)
C++
class PASCALIMPLEMENTATION TMediaPlayerVolume : public TMediaPlayerValue
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | FMX.Media |
Description
Action that provides control over the Volume property of a FireMonkey media player.
Assign an instance of TMediaPlayerVolume to the Action property of a track bar to control the volume of the playback using that track bar.
The default text of the action is the volume of the media player in percentage. For example: "74 %". You may use the CustomText property to customize the text of the action. If you define a value for CustomText, your string must be a format string ready for a single, floating-point value (f
). For example: %f%%
.