RequestAudioContentPart Constructors
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.
Overloads
| Name | Description |
|---|---|
| RequestAudioContentPart() |
Initializes a new instance of RequestAudioContentPart. |
| RequestAudioContentPart(String) |
Initializes a new instance of RequestAudioContentPart. |
RequestAudioContentPart()
- Source:
- RequestAudioContentPart.cs
- Source:
- RequestAudioContentPart.cs
Initializes a new instance of RequestAudioContentPart.
public RequestAudioContentPart();
Public Sub New ()
Applies to
RequestAudioContentPart(String)
- Source:
- RequestAudioContentPart.cs
- Source:
- RequestAudioContentPart.cs
Initializes a new instance of RequestAudioContentPart.
public RequestAudioContentPart(string audio);
new Azure.AI.VoiceLive.RequestAudioContentPart : string -> Azure.AI.VoiceLive.RequestAudioContentPart
Public Sub New (audio As String)
Parameters
- audio
- String
Base64-encoded audio bytes, these will be parsed as the format specified in the session input audio type configuration. This defaults to PCM 16-bit 24kHz mono if not specified.
Exceptions
audio is null.