Interface IMediaMountManager
Inherited Members
System.IDisposable.Dispose()
Assembly: MediaBrowser.Model.dll
public interface IMediaMountManager : IDisposable
Methods
Declaration
void AddParts(IEnumerable<IMediaMounter> mounters)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IMediaMounter> |
mounters |
The mounters.
|
Determines whether this instance can mount the specified path.
Declaration
bool CanMount(FileSystemMetadata fileInfo, string container)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
Task<IMediaMount> Mount(FileSystemMetadata fileInfo, string container, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
FileSystemMetadata |
fileInfo |
|
System.String |
container |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IMediaMount> |
|
Mounts the specified media path.
Declaration
Task<IMediaMount> Mount(string mediaPath, string container, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.String |
mediaPath |
|
System.String |
container |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IMediaMount> |
|
Extension Methods