com.adobe.mediacore
Enum MediaPlayerNotification.WarningCode

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

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

Enumeration with all the warning notification codes.


Enum Constant Summary
AD_RESOLVER_FAIL
           
GENERIC_WARNING
           
NATIVE_WARNING
           
PLAYBACK_OPERATION_FAIL
           
 
Method Summary
 long getCode()
          Getter method
 String getName()
          Getter method
static MediaPlayerNotification.WarningCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MediaPlayerNotification.WarningCode[] 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_OPERATION_FAIL

public static final MediaPlayerNotification.WarningCode PLAYBACK_OPERATION_FAIL

AD_RESOLVER_FAIL

public static final MediaPlayerNotification.WarningCode AD_RESOLVER_FAIL

NATIVE_WARNING

public static final MediaPlayerNotification.WarningCode NATIVE_WARNING

GENERIC_WARNING

public static final MediaPlayerNotification.WarningCode GENERIC_WARNING
Method Detail

values

public static MediaPlayerNotification.WarningCode[] 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.WarningCode c : MediaPlayerNotification.WarningCode.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.WarningCode 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