Most visited

Recently visited

ViroMediaRecorder.VideoRecordingFinishListener

public static interface ViroMediaRecorder.VideoRecordingFinishListener

com.viro.core.ViroMediaRecorder.VideoRecordingFinishListener


Listener for responding to video recording success and errors.

Summary

Public methods

abstract void onError(ViroMediaRecorder.Error errorCode)

Callback that is triggered when video recording encounters an error.

abstract void onSuccess(String filePath)

Callback that is triggered when video recording is successful.

Public methods

onError

void onError (ViroMediaRecorder.Error errorCode)

Callback that is triggered when video recording encounters an error.

Parameters
errorCode ViroMediaRecorder.Error: Error code.

onSuccess

void onSuccess (String filePath)

Callback that is triggered when video recording is successful.

Parameters
filePath String: The absolute file path of the recorded / saved file.

Hooray!