Protocol: UIVideoEditorControllerDelegate

Overview

The UIVideoEditorControllerDelegate protocol defines methods that your delegate object must implement to respond to the video editor. The methods of this protocol notify your delegate when the system has saved an edited movie or the user has cancelled editing to discard any changes. There is also a method for responding to errors encountered by the video editor.Called when the video editor is unable to load or save a movie. (required)Called when the system has finished saving an edited movie. (required)Called when the user has cancelled a movie editing operation. (required)

Instance Method Summary (collapse)

Instance Method Details

- (Object) videoEditorController(editor, didFailWithError:error)

Called when the video editor is unable to load or save a movie. (required) Loading a movie into the video editor could fail because of an invalid filesystem path or an invalid media format. Saving could fail because of a lack of disk space or other reasons.

Parameters:

  • editor (Object)

    The video editor that was unable to load or save a movie.

  • error (NSError)

    The loading or saving error.

Returns:

- (Object) videoEditorController(editor, didSaveEditedVideoToPath:editedVideoPath)

Called when the system has finished saving an edited movie. (required)

Parameters:

  • editor (Object)

    The video editor that has finished editing and saving a movie.

  • editedVideoPath (String)

    The filesystem path to the edited movie.

Returns:

- (Object) videoEditorControllerDidCancel(editor)

Called when the user has cancelled a movie editing operation. (required)

Parameters:

  • editor (Object)

    The video editor that the user cancelled, not wanting to save changes.

Returns: