com.adobe.mediacore
Enum MediaPlayerNotification.InfoCode

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

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

Enumeration with all the informational notification codes.


Enum Constant Summary
AD_BREAK_COMPLETE
           
AD_BREAK_PLACEMENT_COMPLETE
           
AD_BREAK_START
           
AD_CLICK
           
AD_COMPLETE
           
AD_PROGRESS
           
AD_START
           
AUDIO_TRACK_CHANGE
           
BITRATE_CHANGE
           
CONTENT_CHANGE
           
CONTENT_MARKER
           
DRM_METADATA_AVAILABLE
           
GENERIC_INFO
           
LOAD_INFO_AVAILABLE
           
PLAYBACK_COMPLETE
           
PLAYBACK_START
           
PLAYER_STATE_CHANGE
           
SEEK_COMPLETE
           
SEEK_START
           
TIMED_METADATA_ADD
           
TIMELINE_CHANGE
           
VIDEO_SIZE_CHANGED
           
 
Method Summary
 long getCode()
          Getter method
 String getName()
          Getter method
static MediaPlayerNotification.InfoCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MediaPlayerNotification.InfoCode[] 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_START

public static final MediaPlayerNotification.InfoCode PLAYBACK_START

PLAYBACK_COMPLETE

public static final MediaPlayerNotification.InfoCode PLAYBACK_COMPLETE

SEEK_START

public static final MediaPlayerNotification.InfoCode SEEK_START

SEEK_COMPLETE

public static final MediaPlayerNotification.InfoCode SEEK_COMPLETE

CONTENT_CHANGE

public static final MediaPlayerNotification.InfoCode CONTENT_CHANGE

PLAYER_STATE_CHANGE

public static final MediaPlayerNotification.InfoCode PLAYER_STATE_CHANGE

CONTENT_MARKER

public static final MediaPlayerNotification.InfoCode CONTENT_MARKER

LOAD_INFO_AVAILABLE

public static final MediaPlayerNotification.InfoCode LOAD_INFO_AVAILABLE

VIDEO_SIZE_CHANGED

public static final MediaPlayerNotification.InfoCode VIDEO_SIZE_CHANGED

BITRATE_CHANGE

public static final MediaPlayerNotification.InfoCode BITRATE_CHANGE

AUDIO_TRACK_CHANGE

public static final MediaPlayerNotification.InfoCode AUDIO_TRACK_CHANGE

TIMELINE_CHANGE

public static final MediaPlayerNotification.InfoCode TIMELINE_CHANGE

AD_BREAK_PLACEMENT_COMPLETE

public static final MediaPlayerNotification.InfoCode AD_BREAK_PLACEMENT_COMPLETE

AD_BREAK_START

public static final MediaPlayerNotification.InfoCode AD_BREAK_START

AD_BREAK_COMPLETE

public static final MediaPlayerNotification.InfoCode AD_BREAK_COMPLETE

AD_START

public static final MediaPlayerNotification.InfoCode AD_START

AD_COMPLETE

public static final MediaPlayerNotification.InfoCode AD_COMPLETE

AD_PROGRESS

public static final MediaPlayerNotification.InfoCode AD_PROGRESS

TIMED_METADATA_ADD

public static final MediaPlayerNotification.InfoCode TIMED_METADATA_ADD

AD_CLICK

public static final MediaPlayerNotification.InfoCode AD_CLICK

DRM_METADATA_AVAILABLE

public static final MediaPlayerNotification.InfoCode DRM_METADATA_AVAILABLE

GENERIC_INFO

public static final MediaPlayerNotification.InfoCode GENERIC_INFO
Method Detail

values

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