IMediaAdapter

This interface contains members that help map file extensions to IMediaSources/IMediaDescriptions, and also creates instances of them.

Members include:

List<string> SupportedFileExtensions { get; }

Description- A list of the file extensions the adapter can handle. Extension strings must be in the form of ".extension_name".

IMediaSource CreateMediaSourceFromSource(string alias, string source, string ext, bool isLocal);

Description- Creates an IMediaSource from the given parameters.
'alias'- The desired alias.
'source'- The desired source path. This may be remote or local.
'ext'- The extension of the file. Extension strings must be in the form of ".extension_name".
'isLocal'- True if the file is located locally, or false if the file is remote.