Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface IMediaMounter

    Inherited Members
    System.IDisposable.Dispose()
    Namespace: MediaBrowser.Model.IO
    Assembly: MediaBrowser.Model.dll
    Syntax
    public interface IMediaMounter : IDisposable

    Properties

    Name

    Gets the name.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    System.String

    The name.

    Methods

    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

    The media path.

    System.ReadOnlySpan<System.Char> container

    The container.

    Returns
    Type Description
    System.Boolean

    true if this instance can mount the specified path; otherwise, false.

    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

    The media path.

    System.ReadOnlyMemory<System.Char> container

    The container.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    System.Threading.Tasks.Task<IMediaMount>

    IMediaMount.

    Exceptions
    Type Condition
    System.ArgumentNullException

    mediaPath

    System.IO.IOException

    Unable to create mount.

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.