SubtitleApi - object-oriented interface

SubtitleApi

Hierarchy

  • BaseAPI
    • SubtitleApi

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Deletes an external subtitle file.

    SubtitleApi

  • Parameters

    Returns Promise<AxiosResponse<File, any>>

    Gets a fallback font file.

    SubtitleApi

  • Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<FontFile[], any>>

    Gets a list of available fallback font files.

    SubtitleApi

  • Parameters

    Returns Promise<AxiosResponse<File, any>>

    Gets the remote subtitles.

    SubtitleApi

  • Parameters

    Returns Promise<AxiosResponse<File, any>>

    Gets subtitles in a specified format.

    SubtitleApi

  • Parameters

    Returns Promise<AxiosResponse<File, any>>

    Gets an HLS subtitle playlist.

    SubtitleApi

  • Parameters

    Returns Promise<AxiosResponse<File, any>>

    Gets subtitles in a specified format.

    SubtitleApi

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Upload an external subtitle file.

    SubtitleApi