Interface IMediaConversionService
This service handles Conversions for the media items.
Namespace: ImageVault.Common.Services
Assembly: ImageVault.Common.dll
Syntax
public interface IMediaConversionService : IService
Methods
ClearMediaInformation(Int32, IEnumerable<Int32>)
Removes media information, causing it to be reconstructed next time it is requested
Declaration
void ClearMediaInformation(int mediaItemId, IEnumerable<int> mediaFormats)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | mediaItemId | The id of the media item |
System.Collections.Generic.IEnumerable<System.Int32> | mediaFormats | The list of media formats to affect or null if all formats of a media item should be affected |
GetMediaContentReferences(Int32)
Gets a list of media content references for a specific media item
Declaration
IList<MediaContentReference> GetMediaContentReferences(int mediaItemId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | mediaItemId | The id of the media item which media content references should be retrieved. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<MediaContentReference> | A System.Collections.Generic.IList<T> of MediaContentReference for all items |
InvalidateConversion(Int32, IEnumerable<Int32>)
Invalidates a performed conversion, causing it to be reconverted next time it is requested
Declaration
void InvalidateConversion(int mediaItemId, IEnumerable<int> mediaFormats)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | mediaItemId | The id of the media item |
System.Collections.Generic.IEnumerable<System.Int32> | mediaFormats | The list of media formats to affect or null if all formats of a media item should be affected |