AudioData Class
- java.
lang. Object - com.
azure. communication. callautomation. models. StreamingData - com.
azure. communication. callautomation. models. AudioData
- com.
- com.
public final class AudioData
extends StreamingData
The data which contains the audio data stream information such as timestamp, data..
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Binary |
getData()
The audio data, encoded audio binary data. |
|
Communication |
getParticipant()
The raw ID of the participant. |
|
Offset |
getTimestamp()
The timestamp indicating when the media content was received by the bot, or if the bot is sending media, the timestamp of when the media was sourced. |
| boolean |
isSilent()
Indicates if the received audio buffer contains only silence Get the silent property. |
Methods inherited from StreamingData
Methods inherited from java.lang.Object
Method Details
getData
public BinaryData getData()
The audio data, encoded audio binary data. Get the data property.
Returns:
getParticipant
public CommunicationIdentifier getParticipant()
The raw ID of the participant. Get the participantRawID property.
Returns:
getTimestamp
public OffsetDateTime getTimestamp()
The timestamp indicating when the media content was received by the bot, or if the bot is sending media, the timestamp of when the media was sourced. The format is ISO 8601 (yyyy-mm-ddThh:mm) Get the timestamp property.
Returns:
isSilent
public boolean isSilent()
Indicates if the received audio buffer contains only silence Get the silent property.
Returns: