Present Video Editor using Jetpack Compose
VideoEditorActivityResultContract extends from
ActivityResultContract. It is used to start the video editor and handle its result. It parses the result into
EditorSDKResult that provides a convenient API to check the status of the export.
VideoEditorActivityResultContract using the
rememberLauncherForActivityResult() Composable function.
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.
ActivityResultLauncher obtained from registering the
VideoEditorActivityResultContract is used to launch the video editor with the configured