Share via


AudioContent Class

Definition

Represents audio content.

public ref class AudioContent : Microsoft::Extensions::AI::DataContent
public class AudioContent : Microsoft.Extensions.AI.DataContent
type AudioContent = class
    inherit DataContent
Public Class AudioContent
Inherits DataContent
Inheritance

Constructors

AudioContent(ReadOnlyMemory<Byte>, String)

Initializes a new instance of the AudioContent class.

AudioContent(String, String)

Initializes a new instance of the AudioContent class.

AudioContent(Uri, String)

Initializes a new instance of the AudioContent class.

Properties

AdditionalProperties

Gets or sets additional properties for the content.

(Inherited from AIContent)
ContainsData

Gets a value indicating whether the content contains data rather than only being a reference to data.

(Inherited from DataContent)
Data

Gets the data represented by this instance.

(Inherited from DataContent)
MediaType

Gets the media type (also known as MIME type) of the content.

(Inherited from DataContent)
RawRepresentation

Gets or sets the raw representation of the content from an underlying implementation.

(Inherited from AIContent)
Uri

Gets the URI for this DataContent.

(Inherited from DataContent)

Applies to