Interface IMediaMountManager
Inherited Members
System.IDisposable.Dispose()
Namespace: MediaBrowser.Model.IO
Assembly: MediaBrowser.Model.dll
Syntax
public interface IMediaMountManager : IDisposable
Methods
AddParts(IEnumerable<IMediaMounter>)
Adds the parts.
Declaration
void AddParts(IEnumerable<IMediaMounter> mounters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IMediaMounter> | mounters | The mounters. |
CanMount(ReadOnlySpan<Char>, ReadOnlySpan<Char>)
Determines whether this instance can mount the specified path.
Declaration
bool CanMount(ReadOnlySpan<char> mediaPath, ReadOnlySpan<char> container)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Char> | mediaPath | |
System.ReadOnlySpan<System.Char> | container |
Returns
Type | Description |
---|---|
System.Boolean |
Mount(ReadOnlyMemory<Char>, ReadOnlyMemory<Char>, CancellationToken)
Mounts the specified media path.
Declaration
Task<IMediaMount> Mount(ReadOnlyMemory<char> mediaPath, ReadOnlyMemory<char> container, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Char> | mediaPath | |
System.ReadOnlyMemory<System.Char> | container | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IMediaMount> |