Skip to main content
Language

Present Video Editor

Create SettingsList#

The VideoEditorSettingsList stores all the settings that are used to configure the video editor and its tools. The configure() method is used to configure the different ImglySettings models inside the SettingsList. Here, we configure the LoadSettings to set the source to the Uri of the video to be loaded.

Start Editor#

The VideoEditorBuilder takes in the configured VideoEditorSettingsList and starts the video editor. The resultId passed in the startActivityForResult() method is returned as requestCode in onActivityResult() when the editor exits.

Handle Result#

The result from the editor is received in the onActivityResult() method. EditorSDKResult wraps around the intent and provides a convenient API to check the status of the export.