Most visited

Recently visited

ViroMediaRecorder.FinishListener

public static interface ViroMediaRecorder.FinishListener

com.viro.core.ViroMediaRecorder.FinishListener


Listener for responding to recording success and failure.

Summary

Public methods

abstract void onTaskFailed(ViroMediaRecorder.Error errorCode)

Callback that is triggered as a result of a recording or screen capturing operation failing in the ViroMediaRecorder.

abstract void onTaskSucceeded(String filePath)

Callback that is triggered as a result of a recording or screen capturing operation completing successfully.

Public methods

onTaskFailed

void onTaskFailed (ViroMediaRecorder.Error errorCode)

Callback that is triggered as a result of a recording or screen capturing operation failing in the ViroMediaRecorder.

Parameters
errorCode ViroMediaRecorder.Error: Error code.

onTaskSucceeded

void onTaskSucceeded (String filePath)

Callback that is triggered as a result of a recording or screen capturing operation completing successfully.

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

Hooray!