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

    Show / Hide Table of Contents

    Interface ISubtitleProvider

    Namespace: MediaBrowser.Controller.Subtitles
    Assembly: MediaBrowser.Controller.dll
    Syntax
    public interface ISubtitleProvider

    Properties

    Name

    Gets the name.

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

    The name.

    SupportedMediaTypes

    Gets the supported media types.

    Declaration
    IEnumerable<VideoContentType> SupportedMediaTypes { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<VideoContentType>

    The supported media types.

    Methods

    GetSubtitles(String, CancellationToken)

    Gets the subtitles.

    Declaration
    Task<SubtitleResponse> GetSubtitles(string id, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.String id

    The identifier.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

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

    Task{SubtitleResponse}.

    Search(SubtitleSearchRequest, CancellationToken)

    Searches the subtitles.

    Declaration
    Task<IEnumerable<RemoteSubtitleInfo>> Search(SubtitleSearchRequest request, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    SubtitleSearchRequest request

    The request.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<RemoteSubtitleInfo>>

    Task{IEnumerable{RemoteSubtitleInfo}}.

    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.