Class ApiVideoClient


  • public class ApiVideoClient
    extends Object
    • Constructor Detail

      • ApiVideoClient

        public ApiVideoClient()
        Build an instance that targets production environment without authentication
      • ApiVideoClient

        public ApiVideoClient​(Environment environment)
        Build an instance that targets the given environment without authentication
        Parameters:
        environment - the target environment
      • ApiVideoClient

        public ApiVideoClient​(String apiKey)
        Build an instance that targets the production environment with authentication
        Parameters:
        apiKey - the api key to use to authenticate
      • ApiVideoClient

        public ApiVideoClient​(String apiKey,
                              Environment environment)
        Build an instance that targets the given environment with authentication
        Parameters:
        apiKey - the api key to use to authenticate
        environment - the target environment
      • ApiVideoClient

        public ApiVideoClient​(okhttp3.OkHttpClient client)
        Build an instance that targets the production environment using a custom OkHttp client
        Parameters:
        client - the OkHttpClient instance to use
      • ApiVideoClient

        public ApiVideoClient​(okhttp3.OkHttpClient client,
                              Environment environment)
        Build an instance that targets the production environment using a custom OkHttp client
        Parameters:
        client - the OkHttpClient instance to use
        environment - the target environment
    • Method Detail

      • captions

        public CaptionsApi captions()
        Get an CaptionsApi instance
        Returns:
        CaptionsApi
      • chapters

        public ChaptersApi chapters()
        Get an ChaptersApi instance
        Returns:
        ChaptersApi
      • liveStreams

        public LiveStreamsApi liveStreams()
        Get an LiveStreamsApi instance
        Returns:
        LiveStreamsApi
      • playerThemes

        public PlayerThemesApi playerThemes()
        Get an PlayerThemesApi instance
        Returns:
        PlayerThemesApi
      • rawStatistics

        public RawStatisticsApi rawStatistics()
        Get an RawStatisticsApi instance
        Returns:
        RawStatisticsApi
      • uploadTokens

        public UploadTokensApi uploadTokens()
        Get an UploadTokensApi instance
        Returns:
        UploadTokensApi
      • videos

        public VideosApi videos()
        Get an VideosApi instance
        Returns:
        VideosApi
      • webhooks

        public WebhooksApi webhooks()
        Get an WebhooksApi instance
        Returns:
        WebhooksApi
      • getHttpClient

        public ApiClient getHttpClient()
      • getUploadChunkSize

        public long getUploadChunkSize()
      • setUploadChunkSize

        public void setUploadChunkSize​(long uploadChunkSize)