AudioData Class

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
BinaryData getData()

The audio data, encoded audio binary data.

CommunicationIdentifier getParticipant()

The raw ID of the participant.

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.

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:

the encoded audio binary data.

getParticipant

public CommunicationIdentifier getParticipant()

The raw ID of the participant. Get the participantRawID property.

Returns:

the participantRawID value.

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:

the timestamp value.

isSilent

public boolean isSilent()

Indicates if the received audio buffer contains only silence Get the silent property.

Returns:

the silent value.

Applies to