com.xuggle.mediatool
Enum IMediaDebugListener.Event

Package class diagram package IMediaDebugListener.Event
java.lang.Object
  extended by java.lang.Enum<IMediaDebugListener.Event>
      extended by com.xuggle.mediatool.IMediaDebugListener.Event
All Implemented Interfaces:
Serializable, Comparable<IMediaDebugListener.Event>
Enclosing interface:
IMediaDebugListener

public static enum IMediaDebugListener.Event
extends Enum<IMediaDebugListener.Event>

The different type of events you'd like to print data for.


Enum Constant Summary
ADD_STREAM
          Add stream events
ALL
          All events
AUDIO
          Audio events
CLOSE
          Close events
CLOSE_STREAM
          Close stream events
DATA
          VIDEO, AUDIO, READ_PACKET and WRITE_PACKET events
FLUSH
          Flush events
HEADER
          Write header events
META_DATA
          All events except VIDEO, AUDIO, READ_PACKET and WRITE_PACKET events
NONE
          No events
OPEN
          Open events
OPEN_STREAM
          Open stream events
READ_PACKET
          Read packet events
TRAILER
          Write trailer events
VIDEO
          Video events
WRITE_PACKET
          Write packet events
 
Method Summary
 int getFlag()
          Get the event flag.
 String getMethod()
          Get the IMediaListener event this event will fire for.
static IMediaDebugListener.Event valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IMediaDebugListener.Event[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VIDEO

public static final IMediaDebugListener.Event VIDEO
Video events


AUDIO

public static final IMediaDebugListener.Event AUDIO
Audio events


OPEN

public static final IMediaDebugListener.Event OPEN
Open events


CLOSE

public static final IMediaDebugListener.Event CLOSE
Close events


ADD_STREAM

public static final IMediaDebugListener.Event ADD_STREAM
Add stream events


OPEN_STREAM

public static final IMediaDebugListener.Event OPEN_STREAM
Open stream events


CLOSE_STREAM

public static final IMediaDebugListener.Event CLOSE_STREAM
Close stream events


READ_PACKET

public static final IMediaDebugListener.Event READ_PACKET
Read packet events


WRITE_PACKET

public static final IMediaDebugListener.Event WRITE_PACKET
Write packet events


HEADER

public static final IMediaDebugListener.Event HEADER
Write header events


TRAILER

public static final IMediaDebugListener.Event TRAILER
Write trailer events


FLUSH

public static final IMediaDebugListener.Event FLUSH
Flush events


ALL

public static final IMediaDebugListener.Event ALL
All events


NONE

public static final IMediaDebugListener.Event NONE
No events


DATA

public static final IMediaDebugListener.Event DATA
VIDEO, AUDIO, READ_PACKET and WRITE_PACKET events


META_DATA

public static final IMediaDebugListener.Event META_DATA
All events except VIDEO, AUDIO, READ_PACKET and WRITE_PACKET events

Method Detail

values

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

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

valueOf

public static IMediaDebugListener.Event 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

getFlag

public int getFlag()
Get the event flag.

Returns:
the flag.

getMethod

public String getMethod()
Get the IMediaListener event this event will fire for.

Returns:
The method.


Copyright © 2008, 2010 Xuggle