FMX.Media.TMediaCodecManager.GetFileTypesByType
Delphi
class function GetFileTypesByType(MediaType: TMediaType): string;
C++
__classmethod System::UnicodeString __fastcall GetFileTypesByType(TMediaType MediaType);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TMediaCodecManager |
Description
Gets the current supported media file type extensions, for a specified type of media, as a string.
Call GetFileTypesByType to get a list of the current supported formats for a specified type of media files (audio or video).
The MediaType
parameter specifies the media type for which to get the supported formats.
In the resulted string, the file format extensions are separated by semicolons (';').
Result example for audio media files:
FileTypes='*.wma;*.mp3;*.wav';