MediaSetVideoEntry.java 3.69 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.scene7.is.provider.catalog.Catalog
 *  com.scene7.is.util.SizeInt
 *  com.scene7.is.util.callbacks.Option
 *  org.jetbrains.annotations.NotNull
 *  org.jetbrains.annotations.Nullable
 */
package com.scene7.is.ps.provider.fvctx;

import com.scene7.is.provider.catalog.Catalog;
import com.scene7.is.ps.provider.fvctx.MediaSetMetaData;
import com.scene7.is.util.SizeInt;
import com.scene7.is.util.callbacks.Option;
import java.util.Arrays;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class MediaSetVideoEntry {
    @NotNull
    private final Catalog catalog;
    @NotNull
    private final String recordId;
    @NotNull
    private final String netPath;
    @NotNull
    private final String fileSuffix;
    @NotNull
    private final String filePath;
    @NotNull
    private final MediaSetMetaData metaData;
    @NotNull
    private final byte[] versionKey;
    private final boolean isInCatalog;
    @Nullable
    private final String posterImage;
    private final Option<Long> bitRate;
    @NotNull
    private final Option<SizeInt> videoSize;
    @NotNull
    private final Option<String> videoFormat;
    @NotNull
    private Option<String> httpFlashStreamingContext = Option.none();
    @NotNull
    private Option<String> httpAppleStreamingContext = Option.none();

    public MediaSetVideoEntry(@NotNull Catalog catalog, @NotNull String recordId, @NotNull String netPath, @NotNull String fileSuffix, @NotNull String filePath, @NotNull MediaSetMetaData metaData, @NotNull byte[] versionKey, boolean isInCatalog, @Nullable String posterImage, Option<Long> bitRate, @NotNull Option<SizeInt> videoSize, @NotNull Option<String> videoFormat, @NotNull Option<String> httpFlashStreamingContext, @NotNull Option<String> httpAppleStreamingContext) {
        this.catalog = catalog;
        this.recordId = recordId;
        this.netPath = netPath;
        this.fileSuffix = fileSuffix;
        this.filePath = filePath;
        this.metaData = metaData;
        this.versionKey = Arrays.copyOf(versionKey, versionKey.length);
        this.isInCatalog = isInCatalog;
        this.posterImage = posterImage;
        this.bitRate = bitRate;
        this.videoSize = videoSize;
        this.videoFormat = videoFormat;
        this.httpFlashStreamingContext = httpFlashStreamingContext;
        this.httpAppleStreamingContext = httpAppleStreamingContext;
    }

    @NotNull
    public Catalog getCatalog() {
        return this.catalog;
    }

    @NotNull
    public String getRecordId() {
        return this.recordId;
    }

    @NotNull
    public String getNetPath() {
        return this.netPath;
    }

    @NotNull
    public String getFileSuffix() {
        return this.fileSuffix;
    }

    @NotNull
    public MediaSetMetaData getMetaData() {
        return this.metaData;
    }

    @NotNull
    public byte[] getVersionKey() {
        return this.versionKey;
    }

    public boolean isInCatalog() {
        return this.isInCatalog;
    }

    @Nullable
    public String getPosterImage() {
        return this.posterImage;
    }

    @NotNull
    public String getFilePath() {
        return this.filePath;
    }

    public Option<Long> getBitRate() {
        return this.bitRate;
    }

    @NotNull
    public Option<SizeInt> getVideoSize() {
        return this.videoSize;
    }

    @NotNull
    public Option<String> getVideoFormat() {
        return this.videoFormat;
    }

    @NotNull
    public Option<String> getHttpFlashStreamingContext() {
        return this.httpFlashStreamingContext;
    }

    @NotNull
    public Option<String> getHttpAppleStreamingContext() {
        return this.httpAppleStreamingContext;
    }
}