com.adobe.mediacore
Enum MediaPlayerNotification.ErrorCode

java.lang.Object
  extended by java.lang.Enum<MediaPlayerNotification.ErrorCode>
      extended by com.adobe.mediacore.MediaPlayerNotification.ErrorCode
All Implemented Interfaces:
MediaPlayerNotification.NotificationCode, Serializable, Comparable<MediaPlayerNotification.ErrorCode>
Enclosing class:
MediaPlayerNotification

public static enum MediaPlayerNotification.ErrorCode
extends Enum<MediaPlayerNotification.ErrorCode>
implements MediaPlayerNotification.NotificationCode

Enumeration with all the error notification codes.


Enum Constant Summary
AD_INSERTION_FAIL
           
AD_RESOLVER_METADATA_INVALID
          Error codes related to AD resolving, insertion, playback and tracking.
AD_RESOLVER_RESOLVE_FAIL
           
AUDIO_TRACK_ERROR
          Error codes related to audio tracks.
CONTENT_ERROR
           
DOWNLOAD_ERROR
           
ENGINE_CREATION_ERROR
          Underlying engine could not be created.
ENGINE_RELEASE_ERROR
          Underlying engine could not be released successfully.
ENGINE_RESET_ERROR
          Resetting the current resource failed.
ENGINE_RESOURCES_RELEASE_ERROR
          Underlying resources could not be released successfully.
ENGINE_SET_VIEW_ERROR
          Setting the video engine view failed.
GENERIC_ERROR
          An error generated by native library code.
GET_QOS_DATA_ERROR
          Retrieving QoS information failed.
MANIFEST_ERROR
          Error codes related to manifest/fragment.
NATIVE_ERROR
          Underlying engine issued an error.
PAUSE_ERROR
          Pausing the specified resource failed.
PERIOD_INFO_ERROR
           
PLAYBACK_ERROR
          Playing the specified resource failed.
RESOURCE_LOAD_ERROR
          Loading the specified resource failed.
RESOURCE_PLACEMENT_FAILED
           
RETRIEVE_TIME_ERROR
           
SEEK_ERROR
          Seek failed due invalid time specified.
SET_ABR_PARAMETERS_ERROR
          Changing the adaptive bit rate control parameters failed.
SET_BUFFER_PARAMETERS_ERROR
          Changing the buffer control parameters failed.
SET_BUFFER_TIME_ERROR
          Changing the buffering parameters failed.
SET_CC_STYLING_ERROR
          Changing closed captions styling parameters failed.
SET_CC_VISIBILITY_ERROR
          Changing closed captions visibility failed.
SET_VOLUME_ERROR
          Changing the audio volume failed.
 
Method Summary
 long getCode()
          Getter method
 String getName()
          Getter method
static MediaPlayerNotification.ErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MediaPlayerNotification.ErrorCode[] 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

PLAYBACK_ERROR

public static final MediaPlayerNotification.ErrorCode PLAYBACK_ERROR
Playing the specified resource failed.


PAUSE_ERROR

public static final MediaPlayerNotification.ErrorCode PAUSE_ERROR
Pausing the specified resource failed.


SEEK_ERROR

public static final MediaPlayerNotification.ErrorCode SEEK_ERROR
Seek failed due invalid time specified.


PERIOD_INFO_ERROR

public static final MediaPlayerNotification.ErrorCode PERIOD_INFO_ERROR

RETRIEVE_TIME_ERROR

public static final MediaPlayerNotification.ErrorCode RETRIEVE_TIME_ERROR

GET_QOS_DATA_ERROR

public static final MediaPlayerNotification.ErrorCode GET_QOS_DATA_ERROR
Retrieving QoS information failed.


RESOURCE_LOAD_ERROR

public static final MediaPlayerNotification.ErrorCode RESOURCE_LOAD_ERROR
Loading the specified resource failed.


RESOURCE_PLACEMENT_FAILED

public static final MediaPlayerNotification.ErrorCode RESOURCE_PLACEMENT_FAILED

NATIVE_ERROR

public static final MediaPlayerNotification.ErrorCode NATIVE_ERROR
Underlying engine issued an error.


ENGINE_CREATION_ERROR

public static final MediaPlayerNotification.ErrorCode ENGINE_CREATION_ERROR
Underlying engine could not be created.


ENGINE_RELEASE_ERROR

public static final MediaPlayerNotification.ErrorCode ENGINE_RELEASE_ERROR
Underlying engine could not be released successfully.


ENGINE_RESOURCES_RELEASE_ERROR

public static final MediaPlayerNotification.ErrorCode ENGINE_RESOURCES_RELEASE_ERROR
Underlying resources could not be released successfully.


ENGINE_RESET_ERROR

public static final MediaPlayerNotification.ErrorCode ENGINE_RESET_ERROR
Resetting the current resource failed.


ENGINE_SET_VIEW_ERROR

public static final MediaPlayerNotification.ErrorCode ENGINE_SET_VIEW_ERROR
Setting the video engine view failed.


SET_VOLUME_ERROR

public static final MediaPlayerNotification.ErrorCode SET_VOLUME_ERROR
Changing the audio volume failed.


SET_BUFFER_TIME_ERROR

public static final MediaPlayerNotification.ErrorCode SET_BUFFER_TIME_ERROR
Changing the buffering parameters failed.


SET_CC_VISIBILITY_ERROR

public static final MediaPlayerNotification.ErrorCode SET_CC_VISIBILITY_ERROR
Changing closed captions visibility failed.


SET_CC_STYLING_ERROR

public static final MediaPlayerNotification.ErrorCode SET_CC_STYLING_ERROR
Changing closed captions styling parameters failed.


SET_ABR_PARAMETERS_ERROR

public static final MediaPlayerNotification.ErrorCode SET_ABR_PARAMETERS_ERROR
Changing the adaptive bit rate control parameters failed.


SET_BUFFER_PARAMETERS_ERROR

public static final MediaPlayerNotification.ErrorCode SET_BUFFER_PARAMETERS_ERROR
Changing the buffer control parameters failed.


AD_RESOLVER_METADATA_INVALID

public static final MediaPlayerNotification.ErrorCode AD_RESOLVER_METADATA_INVALID
Error codes related to AD resolving, insertion, playback and tracking.


AD_RESOLVER_RESOLVE_FAIL

public static final MediaPlayerNotification.ErrorCode AD_RESOLVER_RESOLVE_FAIL

AD_INSERTION_FAIL

public static final MediaPlayerNotification.ErrorCode AD_INSERTION_FAIL

MANIFEST_ERROR

public static final MediaPlayerNotification.ErrorCode MANIFEST_ERROR
Error codes related to manifest/fragment.


CONTENT_ERROR

public static final MediaPlayerNotification.ErrorCode CONTENT_ERROR

DOWNLOAD_ERROR

public static final MediaPlayerNotification.ErrorCode DOWNLOAD_ERROR

AUDIO_TRACK_ERROR

public static final MediaPlayerNotification.ErrorCode AUDIO_TRACK_ERROR
Error codes related to audio tracks.


GENERIC_ERROR

public static final MediaPlayerNotification.ErrorCode GENERIC_ERROR
An error generated by native library code.

Method Detail

values

public static MediaPlayerNotification.ErrorCode[] 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 (MediaPlayerNotification.ErrorCode c : MediaPlayerNotification.ErrorCode.values())
    System.out.println(c);

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

valueOf

public static MediaPlayerNotification.ErrorCode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getName

public String getName()
Description copied from interface: MediaPlayerNotification.NotificationCode
Getter method

Specified by:
getName in interface MediaPlayerNotification.NotificationCode
Returns:
the string representation of this notification code.

getCode

public long getCode()
Description copied from interface: MediaPlayerNotification.NotificationCode
Getter method

Specified by:
getCode in interface MediaPlayerNotification.NotificationCode
Returns:
the code numerical code associated to this notification code