AudioPart
An audio content part. The source may be a URL or base64-encoded data.
Class Diagram
Section titled “Class Diagram”---
title: AudioPart
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class ContentPart {
<<abstract>>
+string kind
}
ContentPart <|-- AudioPart
class AudioPart {
+string kind
+string source
+string mediaType
}
Yaml Example
Section titled “Yaml Example”source: https://example.com/audio.wavmediaType: audio/wavProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| kind | string | The kind identifier for audio content |
| source | string | URL or base64-encoded audio data |
| mediaType | string | MIME type of the audio (e.g., ‘audio/wav’) |