org.virtualbox_7_2
Enum RecordingState

java.lang.Object
  extended by java.lang.Enum<RecordingState>
      extended by org.virtualbox_7_2.RecordingState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RecordingState>

public enum RecordingState
extends java.lang.Enum<RecordingState>

Recording state enumeration. NOTE: Not all states might be available / implemented for all codecs. Interface ID: {C8A770A9-0412-467B-8DAE-0E861279D0BE}


Enum Constant Summary
Canceled
          Recording has been canceled.
Error
          Recording has reached an unrecoverable error state and can't continue.
Finalizing
          Recording has been requested to stop and currently is in its finalizing stage.
Initializing
          Recording has been requested to start (enabled) and is initializing.
LimitReached
          A recording limit has been reached (time / size).
Paused
          Recording has been paused.
Resumed
          Recording has been resumed from the paused state.
Started
          Recording has been started and is recording.
Stopped
          Recording has been stopped.
Unknown
          Recording state is unknown currently, i.e.
 
Method Summary
static RecordingState fromValue(long v)
           
static RecordingState fromValue(java.lang.String v)
           
 int value()
           
static RecordingState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RecordingState[] 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

Unknown

public static final RecordingState Unknown
Recording state is unknown currently, i.e. if no recording has been ever started yet.


Initializing

public static final RecordingState Initializing
Recording has been requested to start (enabled) and is initializing.


Started

public static final RecordingState Started
Recording has been started and is recording.


Paused

public static final RecordingState Paused
Recording has been paused.


Resumed

public static final RecordingState Resumed
Recording has been resumed from the paused state.


Finalizing

public static final RecordingState Finalizing
Recording has been requested to stop and currently is in its finalizing stage.


Stopped

public static final RecordingState Stopped
Recording has been stopped.


Canceled

public static final RecordingState Canceled
Recording has been canceled.


LimitReached

public static final RecordingState LimitReached
A recording limit has been reached (time / size).


Error

public static final RecordingState Error
Recording has reached an unrecoverable error state and can't continue.

Method Detail

values

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

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

valueOf

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

value

public int value()

fromValue

public static RecordingState fromValue(long v)

fromValue

public static RecordingState fromValue(java.lang.String v)