Interface IAimpExtensionFileInfoProvider
Interface is an extension for the IAimpServiceFileInfo service that provides an extended information about the file.
Instance should be created by plugin and must be registered in the application at the plugin initialization method via the IAimpCore.RegisterExtension method.
Namespace: AIMP.SDK.FileManager.Extensions
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpExtensionFileInfoProvider
Methods
GetFileInfo(IAimpStream, ref IAimpFileInfo)
Returns the file information. This method slowest then get info by file name.
Declaration
AimpActionResult GetFileInfo(IAimpStream stream, ref IAimpFileInfo fileInfo)
Parameters
Type | Name | Description |
---|---|---|
IAimpStream | stream | The file stream IAimpStream. |
IAimpFileInfo | fileInfo | Out. File information/ |
GetFileInfo(String, ref IAimpFileInfo)
Returns the file information.
Declaration
AimpActionResult GetFileInfo(string fileUri, ref IAimpFileInfo fileInfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileUri | The virtual file name. |
IAimpFileInfo | fileInfo | Out. File information/ |