FMX.Media.TAudioCaptureDevice.FileName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FileName: string read FFileName write SetFileName;

C++

__property System::UnicodeString FileName = {read=FFileName, write=SetFileName};

Properties

Type Visibility Source Unit Parent
property public
FMX.Media.pas
FMX.Media.hpp
FMX.Media TAudioCaptureDevice

Description

Specifies the name of the file where the audio capture is saved.

FileName must include the extension of the file.

The supported audio file formats are the native formats for each platform:

  • For Windows: .wma, .mp3, .wav.
  • For Mac OS: .mp3.

If FileName does not include an explicit path, the audio file is saved within the project files.

FileName example:

//Delphi declaration
 MyAudioCaptureDevice.FileName:='C:\MyAudioFile.wma';
  // C++ declaration
 MyAudioCaptureDevice->FileName="C:\MyAudioFile.wma";

See Also