UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
34 lines (33 loc) 692 B
import { TranslationOutput } from "./TranslationOutput"; import { OnSuccess } from "./OnSuccess"; import { OnError } from "./OnError"; import { OnPassthrough } from "./OnPassthrough"; /** * The json paylaod for translation in speech.context */ export interface TranslationContext { /** * The target languages. */ targetLanguages: string[]; /** * The output. */ output?: TranslationOutput; /** * The on success. */ onSuccess?: OnSuccess; /** * The on error. */ onError?: OnError; /** * The on passthrough. */ onPassthrough?: OnPassthrough; /** * The category */ category?: string; }