Skip to content

DownloadedMedia

Namespace: Vercel.AI.Operations

public sealed class DownloadedMedia

Downloaded media.

Inheritance: object

View source

public DownloadedMedia(byte[] data, string? mediaType)

Creates a download.

Parameters

Name Type Description
data byte[]
mediaType string

View source

public byte[] Data { get; }

Bytes.

Value: byte[]

View source

public string? MediaType { get; }

Content type reported by the download.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product