import PronunciationChallenge from 'itslanguage/administrative-sdk/pronunciation-challenge/pronunciation-challenge.js'
PronunciationChallenge
Constructor Summary
Public Constructor | ||
public |
constructor(id: string, transcription: string, referenceAudioUrl: string) Create a pronunciation challenge domain model. |
Member Summary
Public Members | ||
public |
The pronunciation challenge identifier. |
|
public |
The reference audio fragment as streaming audio link. |
|
public |
The status of the challenge's preparation. Either 'unprepared', 'preparing' or 'prepared'. |
|
public |
The spoken word or sentence as plain text. |
Public Constructors
public constructor(id: string, transcription: string, referenceAudioUrl: string) source
Create a pronunciation challenge domain model.
Params:
Name | Type | Attribute | Description |
id | string |
|
The pronunciation challenge identifier. If none is given, one is generated. |
transcription | string | The spoken word or sentence as plain text. |
|
referenceAudioUrl | string |
|
The reference audio fragment URL. If one is not yet available or audio is not yet registered to the challenge it can be set to 'null'. |