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

com.kaltura.client.enums.KalturaVideoCodec Maven / Gradle / Ivy

Go to download

KalturaClient is a library of Java classes that can be used to interact with the Kaltura REST API. More information about the REST API can be found at http://corp.kaltura.com/Products/Kaltura-API Many of the Java classes in this library are auto-generated from a schema that defines the objects that are used to interect with the API. The current schema can be found at http://www.kaltura.com/api_v3/api_schema.php

The newest version!
// ===================================================================================================
//                           _  __     _ _
//                          | |/ /__ _| | |_ _  _ _ _ __ _
//                          | ' .
//
// @ignore
// ===================================================================================================
package com.kaltura.client.enums;

/**
 * This class was generated using generate.php
 * against an XML schema provided by Kaltura.
 * 
 * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
 */
public enum KalturaVideoCodec implements KalturaEnumAsString {
    NONE (""),
    APCH ("apch"),
    APCN ("apcn"),
    APCO ("apco"),
    APCS ("apcs"),
    COPY ("copy"),
    DNXHD ("dnxhd"),
    DV ("dv"),
    FLV ("flv"),
    H263 ("h263"),
    H264 ("h264"),
    H264B ("h264b"),
    H264H ("h264h"),
    H264M ("h264m"),
    H265 ("h265"),
    MPEG2 ("mpeg2"),
    MPEG4 ("mpeg4"),
    THEORA ("theora"),
    VP6 ("vp6"),
    VP8 ("vp8"),
    VP9 ("vp9"),
    WMV2 ("wmv2"),
    WMV3 ("wmv3"),
    WVC1A ("wvc1a");

    public String hashCode;

    KalturaVideoCodec(String hashCode) {
        this.hashCode = hashCode;
    }

    public String getHashCode() {
        return this.hashCode;
    }

    public void setHashCode(String hashCode) {
        this.hashCode = hashCode;
    }

    public static KalturaVideoCodec get(String hashCode) {
        if (hashCode.equals(""))
        {
           return NONE;
        }
        else 
        if (hashCode.equals("apch"))
        {
           return APCH;
        }
        else 
        if (hashCode.equals("apcn"))
        {
           return APCN;
        }
        else 
        if (hashCode.equals("apco"))
        {
           return APCO;
        }
        else 
        if (hashCode.equals("apcs"))
        {
           return APCS;
        }
        else 
        if (hashCode.equals("copy"))
        {
           return COPY;
        }
        else 
        if (hashCode.equals("dnxhd"))
        {
           return DNXHD;
        }
        else 
        if (hashCode.equals("dv"))
        {
           return DV;
        }
        else 
        if (hashCode.equals("flv"))
        {
           return FLV;
        }
        else 
        if (hashCode.equals("h263"))
        {
           return H263;
        }
        else 
        if (hashCode.equals("h264"))
        {
           return H264;
        }
        else 
        if (hashCode.equals("h264b"))
        {
           return H264B;
        }
        else 
        if (hashCode.equals("h264h"))
        {
           return H264H;
        }
        else 
        if (hashCode.equals("h264m"))
        {
           return H264M;
        }
        else 
        if (hashCode.equals("h265"))
        {
           return H265;
        }
        else 
        if (hashCode.equals("mpeg2"))
        {
           return MPEG2;
        }
        else 
        if (hashCode.equals("mpeg4"))
        {
           return MPEG4;
        }
        else 
        if (hashCode.equals("theora"))
        {
           return THEORA;
        }
        else 
        if (hashCode.equals("vp6"))
        {
           return VP6;
        }
        else 
        if (hashCode.equals("vp8"))
        {
           return VP8;
        }
        else 
        if (hashCode.equals("vp9"))
        {
           return VP9;
        }
        else 
        if (hashCode.equals("wmv2"))
        {
           return WMV2;
        }
        else 
        if (hashCode.equals("wmv3"))
        {
           return WMV3;
        }
        else 
        if (hashCode.equals("wvc1a"))
        {
           return WVC1A;
        }
        else 
        {
           return NONE;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy