DownloadedMedia
Namespace: Vercel.AI.Operations
public sealed class DownloadedMediaDownloaded media.
Inheritance: object
Constructors
Section titled “Constructors”DownloadedMedia(byte[], string?)
Section titled “DownloadedMedia(byte[], string?)”public DownloadedMedia(byte[] data, string? mediaType)Creates a download.
Parameters
| Name | Type | Description |
|---|---|---|
data |
byte[] | |
mediaType |
string |
Properties
Section titled “Properties”public byte[] Data { get; }Bytes.
Value: byte[]
MediaType
Section titled “MediaType”public string? MediaType { get; }Content type reported by the download.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product