Enum RecorderEvent.Type
- java.lang.Object
-
- java.lang.Enum<RecorderEvent.Type>
-
- org.jitsi.service.neomedia.recording.RecorderEvent.Type
-
- All Implemented Interfaces:
Serializable,Comparable<RecorderEvent.Type>
- Enclosing class:
- RecorderEvent
public static enum RecorderEvent.Type extends Enum<RecorderEvent.Type>
RecorderEvent types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OTHERDefault value.RECORDING_ENDEDIndicates the end of a recording.RECORDING_STARTEDIndicates the start of a recording.SPEAKER_CHANGEDIndicates that the active speaker has changed.STREAM_ADDEDIndicates that a new stream was added.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecorderEvent.TypeparseString(String str)StringtoString()static RecorderEvent.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static RecorderEvent.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECORDING_STARTED
public static final RecorderEvent.Type RECORDING_STARTED
Indicates the start of a recording.
-
RECORDING_ENDED
public static final RecorderEvent.Type RECORDING_ENDED
Indicates the end of a recording.
-
SPEAKER_CHANGED
public static final RecorderEvent.Type SPEAKER_CHANGED
Indicates that the active speaker has changed. The 'audioSsrc' field indicates the SSRC of the audio stream which is now considered active, and the 'ssrc' field contains the SSRC of a video stream associated with the now active audio stream.
-
STREAM_ADDED
public static final RecorderEvent.Type STREAM_ADDED
Indicates that a new stream was added. This is different than RECORDING_STARTED, because a new stream might be saved to an existing recording (for example, a new audio stream might be added to a mix)
-
OTHER
public static final RecorderEvent.Type OTHER
Default value.
-
-
Method Detail
-
values
public static RecorderEvent.Type[] 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 (RecorderEvent.Type c : RecorderEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecorderEvent.Type 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 nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<RecorderEvent.Type>
-
parseString
public static RecorderEvent.Type parseString(String str)
-
-