CallAutomationModelFactory.AudioData Method
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.
Initializes a new instance of audio data.
public static Azure.Communication.CallAutomation.AudioData AudioData(string data, DateTime timestamp, string participantId, bool silent);
static member AudioData : string * DateTime * string * bool -> Azure.Communication.CallAutomation.AudioData
Public Shared Function AudioData (data As String, timestamp As DateTime, participantId As String, silent As Boolean) As AudioData
Parameters
- data
- String
Base64 encoded audio data.
- timestamp
- DateTime
The timestamp of when the audio was captured.
- participantId
- String
The identifier of the participant who sent the audio.
- silent
- Boolean
Indicates if the audio data represents silence.
Returns
A new instance of AudioData(String, DateTime, String, Boolean) for mocking.