com.brightcove.mobile.mediaapi.model.enums
Enum UploadStatusEnum

java.lang.Object
  extended by java.lang.Enum<UploadStatusEnum>
      extended by com.brightcove.mobile.mediaapi.model.enums.UploadStatusEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UploadStatusEnum>

public enum UploadStatusEnum
extends java.lang.Enum<UploadStatusEnum>

Indicates the status of a newly uploaded video.


Enum Constant Summary
COMPLETE
          Video upload and processing have completed
ERROR
          Indicates an error during upload or processing
PROCESSING
          Video is being processed after upload for transcoding
UPLOADING
          Video is still in the process of being uploaded
 
Method Summary
static UploadStatusEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UploadStatusEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UPLOADING

public static final UploadStatusEnum UPLOADING
Video is still in the process of being uploaded


PROCESSING

public static final UploadStatusEnum PROCESSING
Video is being processed after upload for transcoding


COMPLETE

public static final UploadStatusEnum COMPLETE
Video upload and processing have completed


ERROR

public static final UploadStatusEnum ERROR
Indicates an error during upload or processing

Method Detail

values

public static UploadStatusEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (UploadStatusEnum c : UploadStatusEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UploadStatusEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010 Brightcove inc.