Enode — API Reference
    Preparing search index...

    Function saveVideoToDevice

    • Save a recorded set video to the device's photo library (Photos on iOS, the gallery on Android), where it stays whatever happens to the app's own copy. This is the way to keep a recording when the account has no cloud video storage and the server refuses the upload.

      Parameters

      • videoId: string

        the set's videoID.

      Returns Promise<SaveVideoToDeviceResult>

      "saved"; "denied" when the user refused the photo-library permission; "notFound" when there is no local file (already uploaded and cleaned up, or still being trimmed); "unsupported" on web.

      On iOS the saved clip carries the enode wordmark (bottom right); the app's own copy stays unstamped. TODO: Android saves the clip without the wordmark — it needs a Media3 overlay pass in EnodeVideoPlugin.kt. A successful save is remembered for the "Videos on this device" list (./saved-to-photos).

      When the platform save itself fails (e.g. storage full).