FMX.Media.TMediaPlayer.Volume

From RAD Studio API Documentation
Jump to: navigation, search

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 TMediaPlayer

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.

If there is no media file attached to the current media player, then Volume is 1.

See Also