Share via


AudioContent Class

Definition

Represents audio content.

public class AudioContent : Microsoft.SemanticKernel.BinaryContent
type AudioContent = class
    inherit BinaryContent
Public Class AudioContent
Inherits 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