import SpeechChallenge from 'itslanguage/administrative-sdk/speech-challenge/speech-challenge.js'
SpeechChallenge
Constructor Summary
Public Constructor | ||
public |
constructor(id: string, topic: string, referenceAudioUrl: string, srtUrl: string, imageUrl: string, metadata: string) Create a speech SpeechChallenge domain model. |
Member Summary
Public Members | ||
public |
The speech challenge identifier. |
|
public |
URL of a possible image file to accompany this challenge. |
|
public |
Metadata string. |
|
public |
The reference audio fragment as streaming audio link. |
|
public |
URL of a possible .srt file to accompany this challenge. |
|
public |
A question or topic serving as guidance. |
Public Constructors
public constructor(id: string, topic: string, referenceAudioUrl: string, srtUrl: string, imageUrl: string, metadata: string) source
Create a speech SpeechChallenge domain model.
Params:
Name | Type | Attribute | Description |
id | string |
|
The speech challenge identifier. If none is given, one is generated. |
topic | string |
|
A question or topic serving as guidance. |
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'. |
srtUrl | string |
|
URL of a possible .srt file to accompany this challenge. |
imageUrl | string |
|
URL of a possible image file to accompany this challenge. |
metadata | string |
|
Metadata string. Can contain any kind of information that helps. |