DialogServiceTurnState class

Constructors

DialogServiceTurnState(DialogServiceTurnStateManager, string)

Properties

audioStream

Methods

complete()
endAudioStream()
processActivityPayload(ActivityPayloadResponse, AudioOutputFormatImpl)

Constructor Details

DialogServiceTurnState(DialogServiceTurnStateManager, string)

new DialogServiceTurnState(manager: DialogServiceTurnStateManager, requestId: string)

Parameters

requestId

string

Property Details

audioStream

PullAudioOutputStreamImpl audioStream

Property Value

PullAudioOutputStreamImpl

Method Details

complete()

function complete()

endAudioStream()

function endAudioStream()

processActivityPayload(ActivityPayloadResponse, AudioOutputFormatImpl)

function processActivityPayload(payload: ActivityPayloadResponse, audioFormat?: AudioOutputFormatImpl)

Parameters

audioFormat

AudioOutputFormatImpl

Returns

PullAudioOutputStreamImpl