@sudoplatform/sudo-secure-communications
    Preparing search index...

    Interface MediaModule

    Media management for the Secure Communications Service.

    interface MediaModule {
        downloadMediaFile(input: DownloadMediaFileInput): Promise<ArrayBuffer>;
    }

    Implemented by

    Index

    Methods

    • Downloads media to a file. Use for downloading and sharing media, or for loading animated media like GIFs to display.

      Parameters

      Returns Promise<ArrayBuffer>

      The file containing the media as an array buffer.