Most visited

Recently visited

ViroMediaRecorder.Error

public static final enum ViroMediaRecorder.Error
extends Enum<ViroMediaRecorder.Error>

java.lang.Object
   ↳ java.lang.Enum<com.viro.core.ViroMediaRecorder.Error>
     ↳ com.viro.core.ViroMediaRecorder.Error


Enum indicating what error (if any) was encountered during a recording operation.

Summary

Enum values

ViroMediaRecorder.Error  ALREADY_RUNNING

The recording failed to start because a previous recording was still running. 

ViroMediaRecorder.Error  ALREADY_STOPPED

The recording failed to stop because no recording was active. 

ViroMediaRecorder.Error  INITIALIZATION

The recording failed because of an unknown error initializing. 

ViroMediaRecorder.Error  NONE

The recording was a success. 

ViroMediaRecorder.Error  NO_PERMISSIONS

Recording failed because we did not have RECORD_AUDIO or WRITE_EXTERNAL_STORAGE permissions. 

ViroMediaRecorder.Error  UNKNOWN

Recording failed for an unknown reason. 

ViroMediaRecorder.Error  WRITE_TO_FILE

The recording failed because it could not write to the given file. 

Public methods

static ViroMediaRecorder.Error valueOf(String name)
static final Error[] values()

Enum values

ALREADY_RUNNING

ViroMediaRecorder.Error ALREADY_RUNNING

The recording failed to start because a previous recording was still running.

ALREADY_STOPPED

ViroMediaRecorder.Error ALREADY_STOPPED

The recording failed to stop because no recording was active.

INITIALIZATION

ViroMediaRecorder.Error INITIALIZATION

The recording failed because of an unknown error initializing.

NONE

ViroMediaRecorder.Error NONE

The recording was a success.

NO_PERMISSIONS

ViroMediaRecorder.Error NO_PERMISSIONS

Recording failed because we did not have RECORD_AUDIO or WRITE_EXTERNAL_STORAGE permissions.

UNKNOWN

ViroMediaRecorder.Error UNKNOWN

Recording failed for an unknown reason.

WRITE_TO_FILE

ViroMediaRecorder.Error WRITE_TO_FILE

The recording failed because it could not write to the given file. This could mean the directory to store the file didn't exist or a similar IO error.

Public methods

valueOf

ViroMediaRecorder.Error valueOf (String name)

Parameters
name String

Returns
ViroMediaRecorder.Error

values

Error[] values ()

Returns
Error[]

Hooray!