FMX.Media.TCustomMediaCodec.CreateFromFile
Delphi
function CreateFromFile(const AFileName: string): TMedia; virtual; abstract;
C++
virtual TMedia* __fastcall CreateFromFile(const System::UnicodeString AFileName) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TCustomMediaCodec |
Description
Creates a TMedia from a specified file.
The AFileName
parameter specifies the name of the file from which the TMedia is created.
Do not use CreateFromFile explicitly in applications. Use TMediaCodecManager to access and manage media codecs.