CallAutomationModelFactory.WordData(String, Int64, Int64) Method

Definition

Initializes a new instance of word data.

public static Azure.Communication.CallAutomation.WordData WordData(string text, long offset, long duration);
static member WordData : string * int64 * int64 -> Azure.Communication.CallAutomation.WordData
Public Shared Function WordData (text As String, offset As Long, duration As Long) As WordData

Parameters

text
String

The text of the word.

offset
Int64

The offset of the word in the audio stream.

duration
Int64

The duration of the word in milliseconds.

Returns

A new instance of WordData(String, Int64, Int64) for mocking.

Applies to