Lezen in het Engels

Delen via


AudioContent Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents audio content.

C#
public class AudioContent : Microsoft.SemanticKernel.BinaryContent
Inheritance

Constructors

AudioContent()

Initializes a new instance of the AudioContent class.

AudioContent(ReadOnlyMemory<Byte>, String)

Initializes a new instance of the AudioContent class.

AudioContent(String)

Initializes a new instance of the AudioContent class.

AudioContent(Uri)

Initializes a new instance of the AudioContent class.

Properties

CanRead

Indicates whether the content contains binary data in either Data or DataUri properties.

(Inherited from BinaryContent)
Content
Obsolete.

The binary content.

(Inherited from BinaryContent)
Data

Gets the byte array data of the content.

(Inherited from BinaryContent)
DataUri

Gets the DataUri of the content.

(Inherited from BinaryContent)
InnerContent

The inner content representation. Use this to bypass the current abstraction.

(Inherited from KernelContent)
Metadata

The metadata associated with the content.

(Inherited from KernelContent)
MimeType

MIME type of the content.

(Inherited from KernelContent)
ModelId

The model ID used to generate the content.

(Inherited from KernelContent)
Uri

Gets the referenced Uri of the content.

(Inherited from BinaryContent)

Applies to

Product Versies
Semantic Kernel Dotnet Latest