SongGuess
    Preparing search index...
    interface StreamWatermarks {
        delete(watermarkId: string): Promise<void>;
        generate(
            input: ReadableStream,
            params: StreamWatermarkCreateParams,
        ): Promise<StreamWatermark>;
        generate(
            url: string,
            params: StreamWatermarkCreateParams,
        ): Promise<StreamWatermark>;
        get(watermarkId: string): Promise<StreamWatermark>;
        list(): Promise<StreamWatermark[]>;
    }
    Index

    Methods

    • Deletes a watermark profile.

      Parameters

      • watermarkId: string

        The watermark profile identifier.

      Returns Promise<void>

      A promise that resolves when deletion completes.

      if the watermark is not found

      if an unexpected error occurs

    • Generate a new watermark profile

      Parameters

      Returns Promise<StreamWatermark>

      The created watermark profile.

      if the parameters are invalid

      if the URL is invalid

      if the number of allowed watermarks is reached

      if an unexpected error occurs

    • Generate a new watermark profile

      Parameters

      Returns Promise<StreamWatermark>

      The created watermark profile.

      if the parameters are invalid

      if the URL is invalid

      if the number of allowed watermarks is reached

      if an unexpected error occurs

    • Retrieves details for a single watermark profile.

      Parameters

      • watermarkId: string

        The watermark profile identifier.

      Returns Promise<StreamWatermark>

      The watermark profile details.

      if the watermark is not found

      if an unexpected error occurs

    • Lists all watermark profiles for an account.

      Returns Promise<StreamWatermark[]>

      The list of watermark profiles.

      if an unexpected error occurs