All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bitmovin.api.sdk.analytics.metrics.MetricsApi Maven / Gradle / Ivy

There is a newer version: 1.205.0
Show newest version
package com.bitmovin.api.sdk.analytics.metrics;

import com.bitmovin.api.sdk.common.BitmovinApiBuilder;
import com.bitmovin.api.sdk.common.BitmovinApiClientFactory;
import com.bitmovin.api.sdk.analytics.metrics.maxConcurrentviewers.MaxConcurrentviewersApi;
import com.bitmovin.api.sdk.analytics.metrics.avgConcurrentviewers.AvgConcurrentviewersApi;
import com.bitmovin.api.sdk.analytics.metrics.avgDroppedFrames.AvgDroppedFramesApi;

public class MetricsApi {
    public final MaxConcurrentviewersApi maxConcurrentviewers;
    public final AvgConcurrentviewersApi avgConcurrentviewers;
    public final AvgDroppedFramesApi avgDroppedFrames;

    public MetricsApi(BitmovinApiClientFactory clientFactory) {
        if (clientFactory == null)
        {
            throw new IllegalArgumentException("Parameter 'clientFactory' may not be null.");
        }

        this.maxConcurrentviewers = new MaxConcurrentviewersApi(clientFactory);
        this.avgConcurrentviewers = new AvgConcurrentviewersApi(clientFactory);
        this.avgDroppedFrames = new AvgDroppedFramesApi(clientFactory);
    }

    /**
     * Fluent builder for creating an instance of MetricsApi
     */
    public static BitmovinApiBuilder builder() {
        return new BitmovinApiBuilder<>(MetricsApi.class);
    }

    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy