@euirim/microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
16 lines (14 loc) • 411 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
export class SpeechDetected {
constructor(json) {
this.privSpeechStartDetected = JSON.parse(json);
}
static fromJSON(json) {
return new SpeechDetected(json);
}
get Offset() {
return this.privSpeechStartDetected.Offset;
}
}
//# sourceMappingURL=SpeechDetected.js.map