FMX.Media.TMediaCodecManager.GetFilterString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetFilterString: string;

C++

__classmethod System::UnicodeString __fastcall GetFilterString();

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, grouped by codec description.

Call GetFilterString to get a list of the current supported formats filtered by codec description.

In the resulted string:

  • The groups are separated by a pipe ('|').
  • For each group, the supported extensions are delimited by parentheses ('(' ')').
  • The file format extensions on each group are separated by semicolons (';').

Result example:

FileTypes='All Files (*.avi;*.wmv;*.wma;*.mp3;*.wav)|*.avi;*.wmv;*.wma;*.mp3;*.wav|AVI Files (*.avi)|*.avi|WMV Files (*.wmv)|*.wmv|Windows Media Audio Files (*.wma)|*.wma|Mpeg Layer 3 Files (*.mp3)|*.mp3|Mpeg Layer 3 Files (*.wav)|*.wav';

See Also